Closed Bug 557197 Opened 15 years ago Closed 15 years ago

[HTML5] 
 in element content expands to CR and CRLF in the DOM shows up as a non-collapsing space in layout

Categories

(Core :: DOM: HTML Parser, defect, P2)

x86
Windows Vista
defect

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- final+

People

(Reporter: ria.klaassen, Assigned: hsivonen)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

STR: - Set html5.enable to true - Go to URL The first line of every comment is aligned correctly to the left, but not the next new lines. Works: ac1df371f376 Fails: d91d66514c2f
This is a regression from bug 546641. Not sure yet what to do. Options: * WONTFIX * Revert bug 546641 * Expand 
 differently in element content and in attribute values.
Priority: -- → P2
Oh, and there's the option of changing how layout deals with CR. Note: If anyone is searching for duplicates before filing a bug due to seeing this problem on another site, please add a comment with the URL of that site here.
Summary: All new lines are indented one character → [HTML5] 
 in element content expands to CR and shows up as a non-collapsing space in layout
(In reply to comment #3) > Oh, and there's the option of changing how layout deals with CR. Bug 534071?
(In reply to comment #4) > (In reply to comment #3) > > Oh, and there's the option of changing how layout deals with CR. > > Bug 534071? Looks like it. Good to see it's already on file.
Depends on: 534071
Attached file Minimized test case (deleted) —
Curiously, the problem occurs when there's a CRLF in the DOM. A CR alone doesn't render as a space.
Summary: [HTML5] 
 in element content expands to CR and shows up as a non-collapsing space in layout → [HTML5] 
 in element content expands to CR and CRLF in the DOM shows up as a non-collapsing space in layout
Do the drivers consider this to be a 1.9.3 blocker? (Making this bug a blocker effectively means making the dependency bug 534071 a blocker.)
blocking2.0: --- → ?
We do consider this a blocker (since it's a regression).
Assignee: nobody → hsivonen
blocking2.0: ? → final+
Fixed by the landing of the dependency.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: