Closed Bug 20399 Opened 25 years ago Closed 25 years ago

[bugday] MouseOver causing uncalled-for page reflow and growth.

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
All
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: jelwell, Assigned: rickg)

References

()

Details

Attachments

(1 file)

Load the page in Build 1999112908 on NT or 199913008 Linux 2.2.13. Now MouseOver a date, any date. Watch the page grow... I think it grows 3 tables per mouseover, but the mouseover appears to be a continuous effect, so it can grow pretty fast.
Attached file reduced testcase
Very odd indeed, the source of the reduced testcase is: <html> <body> <a name="unterminated_anchor" href="bogus_href"> foo <!----> <hr> </body> </html> There seems to be some interaction between the unterminated <a>nchor and surrounding tags. In this testcase, you can avoid the failure by removing the (blank!) comment, go figure. Also of note, if you take the bogus href="" attribute out of the <a>nchor tag, you need to click on the word foo to see the failure. This is clearly NOT related to the javascript engine (see http://www.mozilla.org/js/tests/library.html to see what the Javascript Component actually covers), and I really havn't got a clue who it might belong to, I'll reassign it after asking around.
Just to confirm what the testcase is supposed to show: Expected: Moving your mouse over the "foo" link displays "bogus_href" in the status line. Actual: Moving your mouse over the "foo" link causes new <hr>s to be written to the document. (!)
Component: Javascript Engine → Parser
Assigned to parser because it probably should have caught the bad html. (I could be wrong) I imagine layout has something to do with this as well.
QA Contact: rginda → janc
qa contact to janc, why didn't the assigned-to change?
this happens on abcnews.com as well. wow.
Assignee: mccabe → rickg
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
I have no idea why this would be described as a parser bug. The content model is well formed. In fact, I can't even reproduce the problem cited by the bug.
Status: RESOLVED → VERIFIED
works for me too.
*** Bug 29722 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: