Closed Bug 269257 Opened 20 years ago Closed 19 years ago

RTL marquee does not "scroll"

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ha_tech_2004, Unassigned)

References

Details

(Keywords: rtl, testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

The following tag:
<marquee behavior=scroll>
does not cause the text to scroll between the edges.

Reproducible: Always
Steps to Reproduce:
see Additional Information for an HTML testcase

Actual Results:  
The text scrolls until it is all visible, but no more. It does not keep moving
to the other edge, but it repeats every while.

Expected Results:  
Scroll the text to the other edge (see similar behavior in IE6.0)

<html dir=rtl>
<body>
<marquee behavior=scroll direction=right>
myArabicText
</marquee>
</body>
</html>
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Browser
QA Contact: firefox.general → core.layout
Version: unspecified → Trunk
Can you try this page:

https://bugzilla.mozilla.org/attachment.cgi?id=100151&action=view

That page worked for me with Mozilla 1.8a5 build 2004110905 and Firefox 1.0
final release rv: 1.7.5 build 20041107 under XP Pro SP2.

If that still does not work, then create (and attach) a testcase with the HTML
code you provided (and try with <marquee loop="5" behavior="scroll"
direction="right">).

Attached file Testcase
Status: UNCONFIRMED → NEW
Component: Layout → Layout: Misc Code
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
QA Contact: core.layout → core.layout.misc-code
Summary: marquee does not "scroll" → RTL marquee does not "scroll"
Hmm, this used to work I think.
The testcase doesn't work for me in Mozilla1.0, Mozilla1.4 nor in Mozilla1.7.
Depends on: 299250
I think there is a bidi issue going on here, I've filed bug 299250 for that.
Margin-left on a xul:hbox in a rtl div never gets applied seems like it, so the
scrollwidth of the div is far too small to scroll.

There is a patch in bug 277208 that could fix this bug.
I think the testcase has improved/almost fixed by the patch from bug 277208, but
it seems like I can see a little bit of the text at the beginning just a bit too
soon when a new loop starts.
Attached file testcase2
Ok, this testcase doesn't work in 2005-10-19 trunk build, but it will work with
2005-10-20 trunk build.
I believe this is the same issue as I mentioned in comment 6.
So I think this is now completely fixed by bug 219052.
Depends on: 219052
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: