Closed Bug 400446 Opened 17 years ago Closed 17 years ago

Wrong wrapping when words are nested in a span with margin

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 122799

People

(Reporter: fassino, Unassigned)

Details

Attachments

(1 file)

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

When some words (inside other text) are wrapped in a <span> with margin, they are sometimes wrapped as a whole (as if "nowrap" was specified on the span.)
Presence of margin on the span is essential.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
The last two words in the test case are wrapped in a span with a right margin (and a yellow background.) 
Start with a wide window and slowly narrow it until wrapping is necessary: the two word wrap simultaneously (only the last should wrap to a new line.)  A refresh doesn't correct the problem. If the window is slowly narrowed further, the problem disappears (the first word in the span jumps back to the first line.)
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: