Closed
Bug 45625
Opened 24 years ago
Closed 24 years ago
Label with white-space:nowrap cause line-break before label
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
INVALID
Future
People
(Reporter: make, Assigned: rods)
Details
(Keywords: testcase)
Attachments
(3 files)
From Bugzilla Helper: User-Agent: Mozilla/4.73 [en] (WinNT; U) BuildID: A <LABEL> "control" with style white-space:nowrap and text content too large to be displayed in one line will cause a linebreak immediatly at the beginning of the label element. Reproducible: Always Steps to Reproduce: 1. Create a label with large text content 2. ensure, that the label has the style white-space:nowrap 3. Load the page Actual Results: 4. The label will start with a linebreak Expected Results: 5. Labels with white-space:nowrap should not break
Assignee | ||
Comment 1•24 years ago
|
||
I need a testcase
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
Assignee | ||
Comment 4•24 years ago
|
||
Assignee | ||
Comment 5•24 years ago
|
||
The first attachment is wrong, the second is correct. This is invalid, white-space:nowrap refers to how the whitespace within the text is handled not how linebreaks inbetween elements are handled. http://www.w3.org/TR/REC-CSS2/text.html#propdef-white-space nowrap - This value collapses whitespace as for 'normal', but suppresses line breaks within text except for those created by "\A" in generated content (e.g., for the BR element in HTML).
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Comment 7•24 years ago
|
||
We are standards complient. The source code was not, marking as verified.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•