View Single Post
Old 05-24-2014, 07:29 AM   #15
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 arspr View Post
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.
Entering brainstorming and desire mode about the overridden mark:

Could marking not only the overridden state but where it is being overridden possible? And a link to that overriding style?

I mean something like this (as an idea):

color: blue by .HiPriorityClass in whateverFile.css

where the property would be stricken through, not underlined, (but I cannot do it in this Mobileread forum), and, of course, the last blue whateverFile.css would be a link to that position.

Last edited by arspr; 05-24-2014 at 07:31 AM.
arspr is offline   Reply With Quote