Closed
Bug 508142
Opened 15 years ago
Closed 15 years ago
Default display for h1 is not block
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: erik, Unassigned)
Details
Attachments
(1 file)
228 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; sv-SE; rv:1.9.0.12) Gecko/2009070609 Firefox/3.0.12 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; sv-SE; rv:1.9.0.12) Gecko/2009070609 Firefox/3.0.12 <h1> tags seems to be treated as inline elements unless explicitly declared with display: block <h2> tags defaults to block element display though Reproducible: Always Steps to Reproduce: Create a html document with a h1 and a h2 element Set text-align: center for both element Actual Results: The h1 remains left-aligned, while the h2 is centered Expected Results: Both elements centered
Comment 1•15 years ago
|
||
Can attach a testcase (using the 'Add an attachment' above) illustrating this ?
Reporter | ||
Comment 2•15 years ago
|
||
Comment 3•15 years ago
|
||
That testcase renders fine here, on any version of Gecko. The 3 lines are centred and the element use the full width of the body. Have you tried disabling add-ons, user stylesheets, etc ?
Reporter | ||
Comment 4•15 years ago
|
||
I disabled all plugins, without effect. However, after I restarted my computer, I discovered that the problem was gone, even with the plugins enabled. Since then, I have not been able to reproduce the problem. It seems to have been a temporary error, and since it wasn't a severe problem to begin with, I mark it as resolved.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•