[Webkit-unassigned] [Bug 17563] box having a thick black border because bordercolor not specified in style of <table> tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 27 01:05:21 PST 2008


webkit at blaut.biz changed:

           What    |Removed                     |Added
                 CC|                            |webkit at blaut.biz
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

------- Comment #3 from webkit at blaut.biz  2008-02-27 01:05 PDT -------
According to "Calculating a selector's specificity" section
[http://www.w3.org/TR/CSS21/cascade.html#specificity] has the highest
specificity so its declarations overrides any other styles or HTML attributes.
"border: 10px solid;" hasn't defined border-color property so the border-color
property is computed as the value of the 'color' property per
[http://www.w3.org/TR/CSS21/box.html#propdef-border-top-color]. 'color' has
default value 'black' for table element in this case. So the black border is
correctly rendered in Webkit, Presto and Gecko engines. IE fails in this case.
It doesn't follow CSS 2.1 specification. 

The problem described is not a bug.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list