Closed
Bug 384297
Opened 18 years ago
Closed 18 years ago
<marquee> should not inherit text-indent (causes incorrect line break)
Categories
(Core :: Layout: Block and Inline, defect)
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'."
Blocks: 163504
Keywords: regression,
testcase
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•18 years ago
|
||
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.
Updated•18 years ago
|
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?)
Comment 5•18 years ago
|
||
(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: 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
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.
Description
•