Discussion:
Extending the CSS parser (was: hyphenation in dillo)
Sebastian Geerken
2012-09-05 19:22:46 UTC
Permalink
Should go to the list ...
Johannes Hofmann
2012-09-05 20:25:29 UTC
Permalink
Post by Sebastian Geerken
Should go to the list ...
Date: Wed, 5 Sep 2012 21:18:24 +0200
Subject: Extending the CSS parser (was: hyphenation in dillo)
For now we could simply expose x-lang to the css parser, so you can
at least set a reasonable default (e.g. body { x-lang:"en" } )in
your ~/.dillo/style.css (see attached patch against dillo_hyphenation).
Off-topic: What about extending the user style sheet so that URLs can
be part of the CSS selector? This way, the appereance of single web
pages or whole sites can be customized.
This would be a feature I have wished for a long time.
I also want something like that. Initially I was hoping that
major sites would put some more or less unique id attribute in
their html or body elements, but it seems we can't rely on that.

Do other browsers support something similar?

Johannes
123
2012-09-06 04:34:21 UTC
Permalink
Post by Johannes Hofmann
Post by Sebastian Geerken
Off-topic: What about extending the user style sheet so that URLs can
be part of the CSS selector? This way, the appereance of single web
pages or whole sites can be customized.
This would be a feature I have wished for a long time.
I also want something like that. Initially I was hoping that
major sites would put some more or less unique id attribute in
their html or body elements, but it seems we can't rely on that.
Do other browsers support something similar?
http://dev.w3.org/csswg/css3-conditional/#at-document
https://developer.mozilla.org/en-US/docs/CSS/@document

Loading...