Closed
Bug 375497
Opened 17 years ago
Closed 17 years ago
Line break incorrectly allowed between text and span
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(2 files)
When this page is first loaded, it is line-broken between "a" and "b". If I remove the body and put it back, the line break goes away. The line break also goes away if I put a div around it all. I chose the latter for the reference so the reftest pair could be free of scripts. (This testcase is based on reftests/text-transform/capitalize-2.html, of all things. The reduced testcase doesn't involve text-transform at all; it just happens that that reftest lacks a <div> or <p> tag.)
Reporter | ||
Comment 1•17 years ago
|
||
Comment 2•17 years ago
|
||
Is the issue being "naked in body"? That is, if you stick a width style on the <div>, does anything change? If you put a flush between the text and the <span> in the <div>, does anything change?
Flags: blocking1.9?
Reporter | ||
Comment 3•17 years ago
|
||
> Is the issue being "naked in body"? That is, if you stick a width style on the > <div>, does anything change? Oops. The bug doesn't require being "naked in body", just being in a block with the right width. I should have tested that. > If you put a flush between the text and the > <span> in the <div>, does anything change? Flushing *before* "a" fixes it, but flushing between "a" and the span does not.
Reporter | ||
Comment 4•17 years ago
|
||
Is bug 375827 related?
Reporter | ||
Updated•17 years ago
|
Summary: Line break incorrectly allowed between text+span naked in <body> → Line break incorrectly allowed between text and span
Comment 5•17 years ago
|
||
Actually, I was wondering whether flushing between would make it appear even in the non-buggy testcase. And yes, bug 375827 might be related.
Blocks: 375827
I don't see this bug on my Mac near-trunk build.
Reporter | ||
Comment 7•17 years ago
|
||
WFM too. Should the reftest pair be added to the test suite?
Flags: blocking1.9? → blocking1.9+
I don't we should add this to reftests.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Comment 9•17 years ago
|
||
verified fixed using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b3pre) Gecko/2007123104 Minefield/3.0b3pre and the testcase from this bug -
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•