User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; sv-SE; rv:188.8.131.52) Gecko/2009070609 Firefox/3.0.12 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; sv-SE; rv:184.108.40.206) 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
Can attach a testcase (using the 'Add an attachment' above) illustrating this ?
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 ?
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
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.