Closed Bug 265537 Opened 21 years ago Closed 19 years ago

FireFox has issues parsing <marquee> tags with direction=up in the tag.

Categories

(Core :: Layout, defect)

x86
Windows 98
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: voice06, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files, 2 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Win98; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 I don't know why this is being an issue, but FireFox seems to have a problem with marquees going up where when its finished, theres a huge blank spot on the bottom of the page. Now, I don't know if this is a major issue with Cable/DSL users, but I'm on 56K so it would, if this is the type that requires a long load, happen more often to me and other 56k users. Reproducible: Sometimes Steps to Reproduce: 1. Go to http://sws2b.dyndns.org:1124/forums/index.php?showuser=692 2. Wait for the page to finish loading. 3. When the page is finished, look at the bottom of the page. Actual Results: After the page was finished, there was a huge blank spot at the bottom of the page. Expected Results: It should of resized the site without leaving a huge blank spot at the bottom of the page.
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Trunk
Attached file Testcase (obsolete) —
Mozilla sets the height of the direction="up" or direction="down" marquees as high as the the height of the content inside the marquee. But that's not what IE6 is doing. IE6 automatically sets the height of the direction="up" or direction="down" marquees to 200px when no height is given in some other way for the marquees.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Attached file Good testcase
Argh! Previous testcase was wrong. Sorry.
Attachment #163002 - Attachment is obsolete: true
Attached patch css patch (obsolete) — Splinter Review
Something like this fixes it.
Hmm, actually a bit strange that it works. Setting marquee{height:500px;} makes the marquee 500px high with the fix in html.css. Normally, I would expect that the marquee would stay at a height of 200px with the fix, since the marquee[direction="up"] selector has a higher specificity.
Ah, thanks! But what lxr is showing is not what is currently in the trunk. The fix for bug 262708 is probably the cause for this regression I described. Moving the old code back in fixes it. But that makes me believe that the reporter is seeing a different bug, since he uses the 1.7 branch.
I'm betting the problem is that computed style returns "auto", which we then proceed to use as the height in preference to "200" (since auto tests non-null in JS). I agree that that's not what the original bug is about. Martijn, could you file a separate bug on the marquee height issue on trunk?
Ok, I filed bug 265631 on that.
(In reply to comment #6) > Ah, thanks! But what lxr is showing is not what is currently in the trunk. that depends. the link doron gave is indeed from the aviary branch. if you want trunk, replace aviarybranch with seamonkey (or mozilla)
Attached patch patch2Splinter Review
Yeah, I was very consistently confusing a trunk bug (bug 265631) with a branch bug (this bug, which is an incremental reflow bug and not visible anymore in the trunk). This seems to workaround the incremental reflow bug, by not letting the large height of the marquee happen (before the document has finished loading). I've included the patch from bug 265631, otherwise it would not solve this bug. I've added overflow: -moz-scrollbars-none; to the marquee selector and moved it out of anonymous <div>s in the marquee binding.
Attachment #163011 - Attachment is obsolete: true
*** Bug 305286 has been marked as a duplicate of this bug. ***
This works for me with FF 2 and Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070204 Minefield/3.0a2pre
Yeah, marking worksforme, you won't see this anymore on trunk because the 200px height was added in bug 265631. I guess this might still be an issue on branch, but we shouldn't bother with that anymore, anyway.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: