W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2012

[Bug 17787] New: <h[2-6]> in <hgroup> should be relatively styled, like <h1> is

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Jul 2012 14:35:34 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-17787-2486@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17787

           Summary: <h[2-6]> in <hgroup> should be relatively styled, like
                    <h1> is
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: data:text/html,<!DOCTYPE%20html><html><title>header%20
                    size%20testcase</title><h1>Page%20header</h1><section>
                    <h1>Outer%20section%20header</h1><section><hgroup><h1>
                    Inner%20section%20primary%20header</h1><h2>inner%20sec
                    tion%20secondary%20header</h2></hgroup></section></sec
                    tion></html>
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
        AssignedTo: ian@hixie.ch
        ReportedBy: gphemsley@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


When an <h1> is inside an element like <section>, it is treated like a header
of that section and is styled relative to the section rather than the whole
page. However, if any of the other headers are used in the same way, they are
only styled relative to the page.

If, for example, an <h1> and <h2> are within an <hgroup> within a <section>,
the <h1> will be styled relative to the section while the <h2> is styled
relative to the page. This results in the <h1> actually being smaller than the
<h2>, even though they are actually part of the same header and should maintain
their relative size difference.

A minimal testcase is included in the URL field.

I have also filed a Mozilla bug on the matter:
https://bugzilla.mozilla.org/show_bug.cgi?id=774098

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 16 July 2012 14:35:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 July 2012 14:35:43 GMT