[Webkit-unassigned] [Bug 130843] New: User agent styles overrides custom CSS
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 27 09:51:44 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=130843
Summary: User agent styles overrides custom CSS
Product: WebKit
Version: 525.x (Safari 3.2)
Platform: iOS
OS/Version: iOS 7.0
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: webkitsucks at mailtothis.com
I have an unsorted list in a fixed position header and it seems impossible to override the user agent style. Here's the CSS:
#header {
position: fixed;
}
#header #nav {
position: relative;
}
#header #nav ul {
width: 100%;
list-style-type: none;
margin: 0;
padding: 0;
}
The last CSS rules should override the user agent styles, but they don't.
ul, menu, dir {
display: block;
list-style-type: disc;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
-webkit-padding-start: 40px;
}
That's the user agent style. It all remains active and my navigation doesn't display properly, because of the padding.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list