Closed Bug 384297 Opened 14 years ago Closed 14 years ago

<marquee> should not inherit text-indent (causes incorrect line break)

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: moz, Unassigned)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

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

<marquee> inside blocks with text-indent behaves unexpected and different than IE.
For example, there is an useless line break.

marquee { text-indent: 0; }   in html.css would fix it.

Reproducible: Always

Steps to Reproduce:
See Testcase
Actual Results:  
Line breaks inside <marquee>

Expected Results:  
No line break

<http://www.w3.org/TR/2006/WD-CSS21-20061106/text.html#indentation-prop>
notes this:
"Since the 'text-indent' property inherits, when specified on a block element, it will affect descendent inline-block elements. For this reason, it is often wise to specify 'text-indent: 0' on elements that are specified 'display:inline-block'."
Attached file testcase
Blocks: 163504
Keywords: regression, testcase
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file testcase2
This testcase shows that IE uses the text-indent.
But it doesn't add a weird line-break like Firefox is doing in current trunk builds.
Also behavior=alternate is behaving differently in Firefox.
This would probably be fixed when bug 368155 gets fixed.
Depends on: 368155
Version: unspecified → Trunk
(In reply to comment #3)
> This would probably be fixed when bug 368155 gets fixed.

WFM now with bug 368155 fixed. 
(But there is still the issue with behavior=altermate, is it worth to file a bug about?)

(In reply to comment #4)
> WFM now with bug 368155 fixed.

Yeah, this is now fixed by bug 368155.

> (But there is still the issue with behavior=altermate, is it worth to file a
> bug about?)

Sure, file a new bug on that. Thanks.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Flags: in-testsuite?
(In reply to comment #4)
> WFM now with bug 368155 fixed. 
> (But there is still the issue with behavior=altermate, is it worth to file a
> bug about?)

...furthermore the first marquee of testcase 2 doesn't scroll over the complete width.

Filed bug 386468 about these issues.

You need to log in before you can comment on or make changes to this bug.