https://bugzilla.wikimedia.org/show_bug.cgi?id=25279

Derk-Jan Hartman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |upstream

--- Comment #7 from Derk-Jan Hartman <[email protected]> 2010-10-18 09:39:34 
UTC ---
"The double colon replaced the single-colon selectors for pseudo-elements in
CSS3 to make an explicit distinction between pseudo-classes and
pseudo-elements. For backward compatibility, the single-colon syntax is
acceptable for pre-CSS3 selectors. So, :after is a pseudo-class and ::after is
a pseudo-element."
http://www.evotech.net/blog/2007/05/after-v-after-what-is-double-colon-notation/

It seems this is recognized by Firefox just fine.

The problem is the vendor specific notation of the pseudo element. I think that
Firefox does not yet understand this concept.

http://www.w3.org/TR/2004/CR-CSS21-20040225/syndata.html
The CSS 2.1 spec says that "Keywords and property names, beginning with '-' or
'_' are reserved for vendor-specific extensions." The problem is probably
wether or not this was ever intended to also extend towards vendor specific
pseudo elements. The later remark "Only properties, values, units,
pseudo-classes, pseudo-elements, and at-rules may start with a hyphen (-);
other identifiers (e.g. element names, classes, or IDs) may not." seems to
indicate that such is at least allowed.

Thus this is a bug in Firefox, which should generate a warning here, not an
error. And as a matter of fact in Firefox/3.6.10 it actually is a warning.

I see no reason to fix this, vendor specific css (as opposed to vendor-specific
hacks) is just fine with me personally. If we have crashing browsers because of
this, then we might have to reconsider, but I vote WONTFIX.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to