Bug 13817
Summary: | CSS: Innermost style should take precedence | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sridhar Gurivireddy <just1gb> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | 523.x (Safari 3) | ||
Hardware: | PC | ||
OS: | OS X 10.4 | ||
URL: | http://just1gb.googlepages.com/float_right.html |
Sridhar Gurivireddy
When CSS style is applied on elements, the style on innermost element should take precedence over the style on outer elements
e.g
<div style="xxx">
<h1 style="yyy"> </h1>
</div>
If style YYY conflicts with XXX, YYY should take precedence, like in IE and firefox
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
David Kilzer (:ddkilzer)
Thanks for the bug report, Sridhar! Could you give a specific example where this happens and does not work?
Have you tried a WebKit nightly build? http://nightly.webkit.org/
Sridhar Gurivireddy
URL: http://just1gb.googlepages.com/float_right.html
Dave Hyatt
This bug is invalid. The outer float incorrectly does not shrink to fit its contents in Firefox 2 and WinIE. This bug has since been fixed in Firefox 3 (if you download Gran Paradiso Alpha 4 you can see that Firefox 3 behaves like Safari now).