esrille / escudo

The Escudo Web Browser
Apache License 2.0
68 stars 13 forks source link

[CSS] Support stylesheets for non-CSS presentational hints #14

Closed ShikiOkasaka closed 11 years ago

ShikiOkasaka commented 11 years ago

Let's move non-CSS presentational hints to a stylesheet as much as possible. Currently presentational hints are processed by the code. It would be nice if those are processed via an ordinary CSS stylesheet.

cf. http://www.w3.org/TR/CSS21/cascade.html#preshint cf. http://www.w3.org/TR/html5/rendering.html#the-css-user-agent-style-sheet-and-presentational-hints cf. http://dbaron.org/css/test/noncss2

ShikiOkasaka commented 11 years ago

Note attribute references in CSS3 VALUES would be an interesting addition for supporting this enhancement: cf. http://www.w3.org/TR/css3-values/#attr-notation

ShikiOkasaka commented 11 years ago

One of the ideas for doing this it to use !important rules in the user agent stylesheet (default.css), which are not currently used at all.

cf. https://bugzilla.mozilla.org/show_bug.cgi?id=2942

ShikiOkasaka commented 11 years ago

Fixed at 04cd71924c1ee07df281c58d03eca84c88b946f9