Closed Bug 133880 Opened 23 years ago Closed 16 years ago

leading <br> is ignored if the block has nonzero text-indent

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kazhik, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file, 1 obsolete file)

<br> is ignored if the parent block has text-indent attribute.

<div style="text-indent:1em; border-style: double;">
&lt;br&gt; is ignored if the parent block has text-indent attribute.
 <div style="margin-left:1em; border-style:solid;">
  <br>This line should be second line in this block.
  <br>The third line
 </div>
</div>
Attached file Testcase (obsolete) —
Changing QA contact
QA Contact: petersen → amar
Priority: -- → P3
Target Milestone: --- → Future
Keywords: testcase
Attached file Better testcase
Attachment #76515 - Attachment is obsolete: true
In the layout debugger, I see the <br> node indented and overlapping the text in
that first line....
Assignee: attinasi → nobody
Component: Layout → Layout: Block and Inline
OS: Windows 2000 → All
Priority: P3 → --
QA Contact: amar → core.layout.block-and-inline
Hardware: PC → All
Summary: <br> is ignored if the parent block has text-indent attribute → leading <br> is ignored if the block has nonzero text-indent
Target Milestone: Future → ---
this is WFM now with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1a1pre) Gecko/2008072003
(In reply to comment #5)
> this is WFM now with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> rv:1.9.1a1pre) Gecko/2008072003

Works for me too with recent trunk Linux build.
Marking WFM.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090113 Minefield/3.2a1pre
Status: NEW → RESOLVED
Closed: 16 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: