Marquees don't resize with container (resizing <marquee> itself doesn't work either)
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: testcase)
Attachments
(3 files, 1 obsolete file)
When a Marquee's container (e.g. table, div, or full page etc) is resized, the marquee remains the same width. STEPS TO REPRODUCE: 0. Start with a not-very-wide Firefox window. 1. Load testcase. 2. Resize browser to be wider. OBSERVED BEHAVIOR: Marquee only goes partway across its container (traversing its original width) before resetting itself. EXPECTED BEHAVIOR: Marquee should go all the way across its container, even if the window is resized. Opera and Konqueror both show this expected behavior.
Reporter | ||
Comment 1•17 years ago
|
||
Comment on attachment 265974 [details] testcase ><HTML><HEAD><TITLE>Bug 381905</TITLE></HEAD><BODY> ><DIV style="background: rgb(0, 238, 238) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 75%;" id="myDiv"> ><MARQUEE>a</MARQUEE> ></DIV> ></BODY></HTML>
Reporter | ||
Comment 2•17 years ago
|
||
(previous testcase had wrong bug number in title)
Reporter | ||
Comment 3•17 years ago
|
||
This test case auto-resizes itself using javascript, so you don't need to resize the browser window to see the buggy behavior.
Updated•17 years ago
|
Comment 4•17 years ago
|
||
I have some patches in bug 235564 that would fix this, I think. (except that those patches are not ideal)
(In reply to Daniel Holbert [:dholbert] (blocking needinfo/review, due to AFK on parental leave, returning Jan 21) from comment #0)
When a Marquee's container (e.g. table, div, or full page etc) is resized,
the marquee remains the same width.
Resizing the <marquee> element itself doesn't work either.
Attachted testcase works in Chrome, Safari, IE
Reporter | ||
Comment 7•4 years ago
|
||
I believe <marquee> has been reimplemented using something other than XBL, in the past few months, so there's a chance testcase 3 could be a recently-introduced regression from that reimplementation. (I'm writing this comment from a phone and don't have a computer handy, so I can't test old nightlies at the moment - but it'd be worth it for someone to try testcase 3 in a nightly from a year ago or so., to see if it's a recent regression.)
Comment 8•4 years ago
|
||
I believe the recent reimplement of <marquee> doesn't introduce a regression. I test testcase 3 on Nightly 2018-06-31 and 2014-06-31, and it dosen't work on both.
The text "mozilla" stops bouncing and disappears after clicking the "30%" or "50%" width button. And on "70%", the text bounces in a smaller range instead of the full range of the yellow marquee element.
Updated•2 years ago
|
Description
•