Open Bug 637044 Opened 9 years ago Updated 9 years ago

Layout of Block Level Links Break When Wrapping HTML5 Elements

Categories

(Firefox :: General, defect)

3.6 Branch
x86
macOS
defect
Not set

Tracking

()

UNCONFIRMED

People

(Reporter: hello, Unassigned)

References

()

Details

(Whiteboard: [bugday-20110401])

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13

In HTML5 documents the layout of block level links breaks when wrapping any of the new HTML5 elements (header, hgroup, etc) even if the anchor has been explicitly declared as display. 

Reproducible: Always




Writeup of bug: http://stuntbox.com/blog/2011/02/a-syntax-riddle-wrapped-in-a-parsing-enigma/
Reporter: Do you see the issue with a Firefox 4 beta (https://www.mozilla.com/en-US/firefox/beta/) or nightly (http://nightly.mozilla.org/)?

Firefox 3.6 lacks a fully html5 compliant parser.


http://stuntbox.com/x/ff-html5-anchor-bug/with-header-tag.html works for me with
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b13pre) Gecko/20110226 Firefox/4.0b13pre
Version: unspecified → Trunk
I can confirm that the bug does not appear in b12 for Mac.
Since this doesn't happen with Firefox 4, I set the version to 3.6 branch.
Whiteboard: [bugday-20110401]
Version: Trunk → 3.6 Branch
You need to log in before you can comment on or make changes to this bug.