Closed Bug 299139 Opened 20 years ago Closed 18 years ago

"white-space: nowrap;" after text without space in between causes horizontal scrollbar

Categories

(Core :: Layout: Block and Inline, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timwi, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

See Steps to Reproduce.

Reproducible: Always

Steps to Reproduce:
1. Open the testcase I am about to attach. For reference, it contains the
   following HTML code:
      Text text text text text text text text text text text text text text text
      text text text text text text text text text text text text text text
      text<span style='white-space: nowrap;'>nowrap nowrap nowrap</span>
2. Make your browser window wide enough for all the text to fit in one line
3. Slowly make your browser window narrower until the text no longer fits in
   one line.

Actual Results:  
Horizontal scrollbar appears.

Expected Results:  
The last "text" word and the whole non-wrapping <span> should all jump to the
next line.
Attached file Test case
Related to bug 278891?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
(In reply to comment #2)
> Related to bug 278891?

no, bug 278891 still exists.
but this testcase WFM.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061116 Minefield/3.0a1
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Using newest version here (Firefox 2.0) and the bug still occurs.
(In reply to comment #4)
> Using newest version here (Firefox 2.0) and the bug still occurs.

The bug is fixed on trunk, which means that it is a pre-alpha version of what Firefox3.0 will become.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: