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)

x86
Windows NT
defect

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
I need a testcase
Status: NEW → ASSIGNED
Keywords: testcase
Target Milestone: --- → Future
Attached file testcase
Attached file Corrected testcase
Attached file correct testcase
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
Updating QA contact.
QA Contact: ckritzer → bsharma
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.

Attachment

General

Created:
Updated:
Size: