Bug 13817

Summary: CSS: Innermost style should take precedence
Product: WebKit Reporter: Sridhar Gurivireddy <just1gb>
Component: CSSAssignee: 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
Reported 2007-05-22 11:07:09 PDT
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
David Kilzer (:ddkilzer)
Comment 1 2007-05-22 11:17:21 PDT
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
Comment 2 2007-05-22 11:32:33 PDT
Dave Hyatt
Comment 3 2007-05-22 14:14:07 PDT
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).
Note You need to log in before you can comment on or make changes to this bug.