If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Label with white-space:nowrap cause line-break before label

VERIFIED INVALID

Status

()

Core
Layout: Form Controls
P3
normal
VERIFIED INVALID
18 years ago
17 years ago

People

(Reporter: Matthias Kerkhoff, Assigned: rods (gone))

Tracking

({testcase})

Trunk
Future
x86
Windows NT
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

18 years ago
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

18 years ago
I need a testcase
Status: NEW → ASSIGNED
Keywords: testcase
Target Milestone: --- → Future
(Reporter)

Comment 2

18 years ago
Created attachment 11488 [details]
testcase
(Reporter)

Comment 3

18 years ago
Created attachment 11492 [details]
Corrected testcase
(Assignee)

Comment 4

18 years ago
Created attachment 11493 [details]
correct testcase
(Assignee)

Comment 5

18 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
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 6

17 years ago
Updating QA contact.
QA Contact: ckritzer → bsharma

Comment 7

17 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.