Closed
Bug 501049
Opened 16 years ago
Closed 14 years ago
Inconsistent layout of <fieldset> with text-indent when emptying a text node
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(2 files)
Based on layout/forms/crashtests/266225-1.html
| Reporter | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Not form-related; you can get the same effect with a float:left div with a border on it.
We include the text-indent in the min-width of a shrink-wrap block if it has at least one line box. The one in the dynamic case does (holding a single textframe). The one in the static testcase does not.
Arguably, we shouldn't include the text-indent if there's no text... or something.
Component: Layout: Form Controls → Layout: Block and Inline
QA Contact: layout.form-controls → layout.block-and-inline
Comment 3•16 years ago
|
||
It's odd that when we recreate the frame here from inside CharacterDataChanged we don't end up suppressing it. roc, any idea why? Not that we should be relying on the block whitespace suppression for correctness, but in this case it should be working for us that way.... ;)
That would be because we never suppress a text frame created via ContentInserted, right?
Comment 5•16 years ago
|
||
Oh, right. We don't set the item list as having line boundaries at start or end in ContentInserted.
Comment 6•16 years ago
|
||
Perhaps we should include the text-indent even if we have no line-boxes?
| Reporter | ||
Comment 7•14 years ago
|
||
WFM
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•