Thank you for your further comments, Philippe : as we are
moving on to philosophy rather than CSS per se, I will
not continue the debate here. However, to address your
closing query :
PS - If one makes an error in a stylesheet (did you wrote E {
content: 'foo'; } instead of E::after {} ?) then sometimes strange
things happen…
PPS - E { content: 'foo'; } actually validates.
No, I am actually using (and relying on)
<E style="content: 'foo'">
the actual code reads :
<SPAN class="Apparatus referentium" style="content: 'Set: 1; parts: 2'">
I use it because (a) it is permitted (i.e., it is in accordance with
the specification and therefore validates, yet has no effect on the
rendered output in any conforming browser), and (b) because it is
a reliable way of passing information into the DOM which I can later
retrieve in order to affect the processing of the data. In this
particular case I tag two (or more) disjoint spans with the same
style/content information to allow client-side scripting to ascertain
that they are to be treated identically in terms of visual rendition
(in this case, dynamic underlining which takes place when the <SPAN>
is clicked on in order to trigger a dynamic footnote to appear or
disappear.
I have coerced Opera into behaving acceptably by adding an !important
style rule in the <HEAD> region.
Philip Taylor
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/