[Webkit-unassigned] [Bug 57744] New: :-webkit-any(article, aside, nav, section) h1 is smaller than regular h1 in Nightly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 4 00:26:45 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=57744

           Summary: :-webkit-any(article,aside,nav,section) h1 is smaller
                    than regular h1 in Nightly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cyberskull at mac.com


Created an attachment (id=88038)
 --> (https://bugs.webkit.org/attachment.cgi?id=88038&action=review)
A comparison of headers: naked, nav, aside, article and section.

I just noticed while working on a document with the nightly build that an h1 inside of an article, aside, nav or section is set to be the same height as an h2. Is this part of a spec somewhere? If not can we remove the following block from the user agent stylesheet?

:-webkit-any(article,aside,nav,section) h1 {
font-size: 1.5em;
-webkit-margin-before: 0.83em;
-webkit-margin-after: 0.83em;
}

For reference, here is the naked h1 from the stylesheet:
h1 {
display: block;
font-size: 2em;
-webkit-margin-before: 0.67em;
-webkit-margin-after: 0.67em;
-webkit-margin-start: 0px;
-webkit-margin-end: 0px;
font-weight: bold;
}

-- 
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