On 10 Aug 2005, at 8:04 am, Richard Grevers wrote:
selector:lang(en) would be perfect for differentiating Opera 8 from
lesser versions - if Op 7.54 didn't understand it
http://www.dithered.com/css_filters/css_only/lang_pseudoclass.html
So, anyone got any ideas about feeding different rules to Opera 8?
I don't know of any, but one place to start looking would be to
analyse the acid2 test in 7.54 and 8 and look for any changes due to
css fixes.
If you serve the contents as application/xhtml+xml, then there is a
possibility.
html[lang|="en"] p.t4 {color:white; background:black}
is applied in Opera 8 only [0], ignored by Gecko and Opera 7.54 [1].
But, I'm not sure if Opera 8 is correct here, or if Gecko is correct in
ignoring the selector.
In the test file (hide2.php), I've applied a css3 substring matching
attribute selector for Gecko.
<http://dev.l-c-n.com/_opera7/hide2.php> (application/xhtml+xml)
<http://dev.l-c-n.com/_opera7/hide.html> (text/html)
Under text/html I haven't found anything so far. I analysed the Acid 2
test. The failures of Opera (7) come mostly from incorrectly applying
properties (margin-collapsing, shrink-wrapping,...).
[0] tested with Opera 8.02 Mac and Gecko 1.8 beta 4 (Fx nightly build)
[1] Safari 1.3 reads that on as well, but it gets my test files as
text/html.
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/