<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>13200</bug_id>
          
          <creation_ts>2007-03-27 01:30:57 -0700</creation_ts>
          <short_desc>Webkit doesn’t honour specificities</short_desc>
          <delta_ts>2007-03-27 04:46:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>13097</dup_id>
          
          <bug_file_loc>http://blog.empyree.org/post/2439</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="David Latapie">david</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17214</commentid>
    <comment_count>0</comment_count>
    <who name="David Latapie">david</who>
    <bug_when>2007-03-27 01:30:57 -0700</bug_when>
    <thetext>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:&quot; (&quot;attr(title)&quot;)&quot;}
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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17215</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-03-27 01:34:03 -0700</bug_when>
    <thetext>You filed it already and it was marked a dup of yet another bug you filed.  Search for &quot;content: inherit&quot;.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17216</commentid>
    <comment_count>2</comment_count>
      <attachid>13825</attachid>
    <who name="David Latapie">david</who>
    <bug_when>2007-03-27 01:35:26 -0700</bug_when>
    <thetext>Created attachment 13825
Specificities</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17217</commentid>
    <comment_count>3</comment_count>
    <who name="David Latapie">david</who>
    <bug_when>2007-03-27 01:40:06 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17183</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-03-27 04:45:29 -0700</bug_when>
    <thetext>Reopening to mark as duplicate.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17184</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-03-27 04:46:02 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 13097 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>13825</attachid>
            <date>2007-03-27 01:35:26 -0700</date>
            <delta_ts>2007-03-27 01:35:26 -0700</delta_ts>
            <desc>Specificities</desc>
            <filename>specificities.xhtml</filename>
            <type>application/xhtml+xml</type>
            <size>786</size>
            <attacher name="David Latapie">david</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPD94bWwtc3R5bGVz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