Closed Bug 386468 Opened 17 years ago Closed 3 years ago

<marquee behavior=alternate> with text-indent outruns the page

Categories

(Core :: Layout, defect, P5)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: moz, Unassigned)

Details

(Keywords: regression, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a6pre) Gecko/20070630 Minefield/3.0a6pre
Build Identifier: 

(Follow up bug 384297)

<marquee> with text-indent other than 0 behaves different from IE.

The text does not scroll over the complete width.

If behavior=alternate, the text outruns the page.


Reproducible: Always

Steps to Reproduce:
See testcase, compare with IE.



Note: In some cases the content is lost.
Attached file testcase1
Keywords: regression, testcase
Ok, I'm confirming this, because the behavior is indeed different from IE.
I know that behavior seems different from branch, but has this really become worse?

It seems that when the marquee content fits inside marquee behavior=alternate, you get a more or less normal behavior=alternate behavior (but with the text-indent).
But when it doesn't fit (because of the text-indent), I have no idea what IE is doing.

For normal marquees, the text-indent seems to be part of the marquee content, so I guess I should do that for Mozilla and hope that it also makes behavior=alternate more acceptable.
Status: UNCONFIRMED → NEW
Ever confirmed: true
We appear to be indenting twice: once for the marquee, once for the text?
Flags: blocking1.9?
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
Is this really used a lot for marquees?
Switching from blocks to XUL and back to blocks probably means we get the indent both inside and outside the XUL.  Putting text-indent:0 on something in the middle to stop it from inheriting through would probably fix this, I'd think.
Flags: wanted1.9+
Flags: blocking1.9?
Flags: blocking1.9-
Priority: -- → P5

https://bug386468.bmoattachments.org/attachment.cgi?id=270457
fwiw Blink (Chrome, Edge) and Firefox are working the same here.
Safari has some tests not working at all.
from a webcompat point of view this is a worksforme

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: