Closed Bug 274322 Opened 20 years ago Closed 19 years ago

bug with MARQUEE alternate, shows nothing

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: marc.falesse, Assigned: martijn.martijn)

References

()

Details

(Keywords: regression, testcase)

Attachments

(5 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3

My MARQUEE used to work with previous version of Mozilla, now it doesn't anymore.
I've tried out several HTML syntaxe but it couldn't help ! when i use TABLE i
get very tiny pictures that desapere very quick

Reproducible: Always
Steps to Reproduce:
http://www.sunfactory.fr
Actual Results:  
doesn't show the MARQUEE, but used to work fine (just like IE) before i updated
Mozilla.

Expected Results:  
the MARQUEE to go from left to right, and right to left.
Assignee: general → nobody
Component: General → Layout
Product: Mozilla Application Suite → Core
QA Contact: general → core.layout
Version: unspecified → Trunk
Confirm behavour with latest build... 

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041209
Firefox/1.0+
well if you like i confirm it doesn't work with Firefox 1.0, the reason of my
been on previous version was downgrading to do tests.
MARQUEE used to work with Mozilla (i've never seen it working on Firefox) but
now it doesn't anymore.
Looks like a regression from bug 167224 -- it broke the day that was checked in.
 Removing the "alternate" makes things happy.
Assignee: nobody → doronr
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Windows XP → All
Hardware: PC → All
Blocks: 276969
No longer blocks: 276969
*** Bug 276969 has been marked as a duplicate of this bug. ***
*** Bug 297908 has been marked as a duplicate of this bug. ***
Seems bug 244264 has the same problem, see testcase 
https://bugzilla.mozilla.org/attachment.cgi?id=149029
Shouldn't this (and duplicate? bug 244264) have higher priority?
This is a regresson, and content is lost.
Attached patch patch (obsolete) — Splinter Review
wip patch, heavily polluted with patch from bug 313642.
This is sort of the logic that is needed to get it working. direction="up" and direction="down" also needs to be fixed.
This sort of regresses https://bugzilla.mozilla.org/attachment.cgi?id=170235 , but I suspect it is currently not working well either (only for that specific case, sometimes).
can't believe I missed this bug.

Just to be clear, what alternate does is start with all content visible, and then it scrolls as much as it can untill a part of the content would be hidden, and then switches to the next direction (bouncing text for example).

Attached patch patch2 (obsolete) — Splinter Review
Attached file testcase2
Attached file testcase3
Attachment #200743 - Attachment is obsolete: true
Attachment #201141 - Attachment is obsolete: true
Attached patch patch3Splinter Review
Ok, this patch fixes testcase2 for me. Testcase3 is also working mostly, except marquee2 is too slow. I'll look at that some other time.
Attachment #201353 - Flags: review?(doronr)
Attached file testcase4
I also tested with this one, it's bit messy though.
With this testcase I discovered that DOMAttrModified isn't working well anymore (I filed bug 314343 about that).
Attachment #201353 - Flags: review?(doronr) → review+
Attachment #201353 - Flags: superreview?(bzbarsky)
Attachment #201353 - Flags: superreview?(bzbarsky) → superreview+
Assignee: doronr → martijn.martijn
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
*** Bug 244264 has been marked as a duplicate of this bug. ***
*** Bug 331761 has been marked as a duplicate of this bug. ***
*** Bug 339157 has been marked as a duplicate of this bug. ***
The bug happened when the text inside the marquee need to be displayed not only in one line. It is long text like this: 

<marquee behavior="ALTERNATE">This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text This is text</marquee>
Why is this even here at all; isn't the marquee element a proprietary (non-standards) creation of Microsoft? I would think that would mean that Mozilla shouldn't even support it. If you really want marquees, get Mozilla to implement section 18 of the CSS3 Box Model Module (http://www.w3.org/TR/css3-box/#marquee).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: