View Single Post
Old 05-24-2014, 03:49 AM   #13
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by kovidgoyal View Post
@arspr: CSS rule priority is more comples than that. http://www.w3.org/TR/css3-selectors/#specificity
I leave Chinese for my next life... Too alien for my limited brain. I fully trust in you.

Quote:
And yes, it is on my todo list to to indicate overriden properties.

As for the order they are shown in, the order is not going to change, it will allways be style attirbute, rules matched from inline style tag, rules matched from included stylesheets (in the order they are included), inherited rules from ancestors.
On second thoughts you're probably completely right. If you fully mimic Inspector, you already had Inspector from the beginning...

In this way we have styles sorted by source rather than Inspector's priority

Although, because of that, mrking overridden entries becomes much more critical. Glad to hear that it is in the ToDo list.

Quote:
As for the font size, I am not sure I understand why you find the same font ok in the editor and too large in live css. I can probably add a config option to have live css use the geenral ui font instead of the editor font, but I am not going to add a separate font size control for it.
I think the weirdness feeling about the font size or appearance comes from every other panel (Checkpoints, Check Book and Inspector) having smaller/different font.
arspr is offline   Reply With Quote