Bug 13200 - Webkit doesn’t honour specificities
Summary: Webkit doesn’t honour specificities
Status: RESOLVED DUPLICATE of bug 13097
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://blog.empyree.org/post/2439
Depends on:
Reported: 2007-03-27 01:30 PDT by David Latapie
Modified: 2007-03-27 04:46 PDT (History)
0 users

See Also:

Specificities (786 bytes, application/xhtml+xml)
2007-03-27 01:35 PDT, David Latapie
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Latapie 2007-03-27 01:30:57 PDT
I was sure I already entered it, but I can’t find it right now.

On CSS specifities:

Here in English, but I don’t find it that clear: http://meyerweb.com/eric/css/link-specificity.html

Here in French: http://blog.empyree.org/post/2837 and in English: http://blog.empyree.org/post/3122

The test case uses two styles (in that writing order):

/* specificity 0,0,2 */
        html table :before, html table :after {content:inherit}

/* specificity 0,0,1 */
        abbr:after          {content:" ("attr(title)")"}
Even though it is the last one, the second one shall be overridden by the first, by virtue of specificities. This is the case with Opera (I did not checked with Gecko).
Comment 1 Dave Hyatt 2007-03-27 01:34:03 PDT
You filed it already and it was marked a dup of yet another bug you filed.  Search for "content: inherit".

Comment 2 David Latapie 2007-03-27 01:35:26 PDT
Created attachment 13825 [details]
Comment 3 David Latapie 2007-03-27 01:40:06 PDT
The title of the previous one mislead me. My original mistake. I should sleep before submitting. Thank you. I will reply on the previous bug.
Comment 4 David Kilzer (:ddkilzer) 2007-03-27 04:45:29 PDT
Reopening to mark as duplicate.

Comment 5 David Kilzer (:ddkilzer) 2007-03-27 04:46:02 PDT

*** This bug has been marked as a duplicate of 13097 ***