Closed Bug 422804 Opened 16 years ago Closed 16 years ago

\A ignored with white-space:pre-line

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: van_vreckem, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9b4) Gecko/2008030714 Firefox/3.0b4
Build Identifier: 

css 2.1 16.6 says:
pre-line
    This value directs user agents to collapse sequences of whitespace. Lines are broken at newlines in the source, at occurrences of "\A" in generated content, and as necessary to fill line boxes.

Reproducible: Always

Steps to Reproduce:
<span style="white-space: pre-line;">XX&#10;XX</span>

Actual Results:  
XXXX

Expected Results:  
XX
XX

IE8 ok & webkit also.
Gecko 1.9.0 (Firefox 3.0) doesn't support white-space:pre-line.

Support for this has been added in Gecko 1.9.1 (the forthcoming Firefox 3.1), there it works as expected.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
This is an addition to the existing pre-line test, testing wether we really break at \A (&#xA;).
Attachment #355305 - Flags: superreview?(roc)
Attachment #355305 - Flags: review?(roc)
Attachment #355305 - Flags: superreview?(roc)
Attachment #355305 - Flags: superreview+
Attachment #355305 - Flags: review?(roc)
Attachment #355305 - Flags: review+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/9ad902be14f4
Flags: in-testsuite? → in-testsuite+
Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: