Closed
Bug 562835
Opened 15 years ago
Closed 15 years ago
add support for styling headers based on HTML5 sectioning elements
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: dbaron, Assigned: dbaron)
Details
(Keywords: html5)
Attachments
(1 file, 1 obsolete file)
4.01 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
We should add rules to our UA style sheet reflecting the new outlining algorithm in HTML5. In particular, the changes suggested by the rendering section of the HTML5 spec:
http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html
are straightforward to implement using :-moz-any().
Assignee | ||
Comment 1•15 years ago
|
||
I still need to test this (and perhaps add an automated test) before requesting review.
Assignee | ||
Comment 2•15 years ago
|
||
Writing the test was useful; I caught the need for 'font: 1.00em' on the h4 rule.
Attachment #442571 -
Attachment is obsolete: true
Attachment #442611 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•15 years ago
|
||
And I'm not expecting this to be a noticeable performance problem; it's about as bad as what we already do for li elements, and I think li elements are much more common than h1 elements.
Assignee | ||
Comment 4•15 years ago
|
||
Er, what we do for ul and ol elements. Still, I think they're probably more common.
![]() |
||
Comment 5•15 years ago
|
||
Comment on attachment 442611 [details] [diff] [review]
patch
r=bzbarsky
Attachment #442611 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in
before you can comment on or make changes to this bug.
Description
•