The default bug view has changed. See this FAQ.

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

RESOLVED FIXED

Status

()

Core
HTML: Parser
P2
normal
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: Ria Klaassen (not reading all bugmail), Assigned: hsivonen)

Tracking

({regression})

Trunk
x86
Windows Vista
regression
Points:
---

Firefox Tracking Flags

(blocking2.0 final+)

Details

(URL)

Attachments

(1 attachment)

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
Query: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ac1df371f376&tochange=d91d66514c2f
(Assignee)

Comment 2

7 years ago
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
(Assignee)

Comment 3

7 years ago
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?
(Assignee)

Comment 5

7 years ago
(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
(Assignee)

Comment 6

7 years ago
Created attachment 438430 [details]
Minimized test case

Curiously, the problem occurs when there's a CRLF in the DOM. A CR alone doesn't render as a space.
(Assignee)

Updated

7 years ago
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
(Assignee)

Comment 7

7 years ago
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+
(Assignee)

Comment 9

7 years ago
Fixed by the landing of the dependency.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.