Closed
Bug 364188
Opened 18 years ago
Closed 16 years ago
param closes open div elements
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: jingoro, Assigned: martijn.martijn)
References
()
Details
(Keywords: fixed1.9.1, testcase)
Attachments
(3 files)
219 bytes,
text/html
|
Details | |
2.67 KB,
patch
|
mrbkap
:
review+
mrbkap
:
superreview+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
496 bytes,
patch
|
mrbkap
:
review+
mrbkap
:
superreview+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8 A <param> element without surrounding <object> or <applet> tags will break out of any <div> container blocks. Interstingly, a <table><tr><td> tag will prevent it from breaking out. See the above URL for an example. Reproducible: Always Steps to Reproduce: See the above URL for an example.
Updated•18 years ago
|
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
Our Parser turns <div><param> into <div/><param> unlike IE, Safari and Opera. I think the latter are in line with HTML 5.
Status: UNCONFIRMED → NEW
Component: Layout → HTML: Parser
Ever confirmed: true
QA Contact: layout → parser
Summary: param without object or applet containers breaks div containers → param closes open div elements
Version: 1.8 Branch → Trunk
Assignee | ||
Comment 2•16 years ago
|
||
Comment 5•16 years ago
|
||
Apparently myspace profiles have this problem see the duped bug in comment 4. Requesting blocking.
Flags: blocking1.9.2?
Flags: blocking1.9.1?
Assignee | ||
Comment 6•16 years ago
|
||
This seems to fix it.
Updated•16 years ago
|
Attachment #355805 -
Flags: review?(mrbkap)
Comment 7•16 years ago
|
||
Comment on attachment 355805 [details] [diff] [review] patch? This doesn't seem to fix it for me... The div is still below the border
Comment 8•16 years ago
|
||
(In reply to comment #7) > (From update of attachment 355805 [details] [diff] [review]) > This doesn't seem to fix it for me... The div is still below the border Sorry for the bugspam, it actually works perfectly, didn't build right last time.
Updated•16 years ago
|
Attachment #355805 -
Flags: review?(mrbkap) → review+
Comment 9•16 years ago
|
||
Comment on attachment 355805 [details] [diff] [review] patch? If this mochitests well, I think we should try it.
Updated•16 years ago
|
Attachment #355805 -
Flags: superreview+
Comment 10•16 years ago
|
||
passes all /parser and /layout tests, adding checkin-needed keyword, Martijn if you plan on checking it in yourself just remove it.
Assignee: nobody → martijn.martijn
Keywords: checkin-needed
Comment 11•16 years ago
|
||
Not blocking on this, but we want this for the next release.
Flags: wanted1.9.2+
Flags: blocking1.9.2?
Flags: blocking1.9.2-
Flags: blocking1.9.1?
Flags: blocking1.9.1-
This patch could use a test.
Pushed c9b30ccee0e0
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite?
Keywords: checkin-needed
Resolution: --- → FIXED
Assignee | ||
Updated•15 years ago
|
Attachment #355805 -
Flags: approval1.9.1?
Comment 14•15 years ago
|
||
Comment on attachment 355805 [details] [diff] [review] patch? Please renominate for approval when we have a test.
Attachment #355805 -
Flags: approval1.9.1?
Comment 15•15 years ago
|
||
I'm trying to make a reftest out of the testcase Matijn uploaded here, but I can't find a reftest.list under htmlparser/tests, is there a different way of running reftests for the parser?
Whiteboard: [needs test]
Yes, we don't seem to use reftests for the parser. I'm not sure what we do for automated testing of the parser. There's a few mochitests in there, maybe that's the preferred way.
Comment 17•15 years ago
|
||
We've been using mochitests (see test_html5_tree_constructions.html).
Comment 18•15 years ago
|
||
I added this testcase to regressions.txt, I hope that's ok. I verified that it fails on 1.9.1 and passes on current trunk.
Attachment #368802 -
Flags: review?(mrbkap)
Updated•15 years ago
|
Attachment #368802 -
Flags: superreview+
Attachment #368802 -
Flags: review?(mrbkap)
Attachment #368802 -
Flags: review+
Updated•15 years ago
|
Keywords: checkin-needed
Whiteboard: [needs test] → [needs test][c-n: test]
Updated•15 years ago
|
Whiteboard: [needs test][c-n: test] → [c-n: test]
Comment 19•15 years ago
|
||
Comment on attachment 355805 [details] [diff] [review] patch? The test is ready to land, so re-noming.
Attachment #355805 -
Flags: approval1.9.1?
Comment 20•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/175ed62bdef0
Flags: in-testsuite? → in-testsuite+
Keywords: checkin-needed
Whiteboard: [c-n: test]
Target Milestone: --- → mozilla1.9.2a1
Comment 21•15 years ago
|
||
Comment on attachment 355805 [details] [diff] [review] patch? a191=beltzner
Attachment #355805 -
Flags: approval1.9.1? → approval1.9.1+
Comment 22•15 years ago
|
||
Comment on attachment 368802 [details] [diff] [review] test a191=beltzner
Attachment #368802 -
Flags: approval1.9.1+
Updated•15 years ago
|
Keywords: checkin-needed
Whiteboard: [needs 191 landing]
Comment 23•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/2b112400e92e http://hg.mozilla.org/releases/mozilla-1.9.1/rev/2ae521c0e884
Keywords: checkin-needed → fixed1.9.1
Whiteboard: [needs 191 landing]
You need to log in
before you can comment on or make changes to this bug.
Description
•