[Webkit-unassigned] [Bug 11688] New: Inline !important CSS behaves wrong, specifically: <hr> margins
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 24 09:54:16 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11688
Summary: Inline !important CSS behaves wrong, specifically: <hr>
margins
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Blocker
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: myrd at projectmagma.net
In all modern browsers, except Safari (tested with 10.4.8's shipping version,
and nightly WebKit r17840), the following will display some amount of margin
around a <hr> tag:
<hr style="margin:7 0 7 0 !important; margin:0">
This acts in two ways. For browsers that understand !important, it applies the
first margin, for everything else it applies the second styling. It appears
that Safari handles !important incorrectly when it is inline.
This produces the following results: Opera, Firefox, etc all render it with the
!important margin, meaning a top and bottom margin of 7px. WinIE renders it
with the other margin of 0px, but since its default hr comes with non-compliant
padding, it looks the same as Opera and Firefox.
Only in Safari, it behaves differently. That is, a 0px margin is applied, and
therefore there is no margin at all around the <hr> because Safari doesn't have
an extra implicit border on <hr> like WinIE.
This behaviour should be addressed to support inline !important, and therefore
behave like Firefox and Opera.
--
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