Closed
Bug 557197
Opened 14 years ago
Closed 14 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)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | final+ |
People
(Reporter: ria.klaassen, Assigned: hsivonen)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
13 bytes,
text/html
|
Details |
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
Reporter | ||
Comment 1•14 years ago
|
||
Query: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ac1df371f376&tochange=d91d66514c2f
Assignee | ||
Comment 2•14 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•14 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
Comment 4•14 years ago
|
||
(In reply to comment #3) > Oh, and there's the option of changing how layout deals with CR. Bug 534071?
Assignee | ||
Comment 5•14 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•14 years ago
|
||
Curiously, the problem occurs when there's a CRLF in the DOM. A CR alone doesn't render as a space.
Assignee | ||
Updated•14 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•14 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: --- → ?
Comment 8•14 years ago
|
||
We do consider this a blocker (since it's a regression).
Assignee: nobody → hsivonen
blocking2.0: ? → final+
Assignee | ||
Comment 9•14 years ago
|
||
Fixed by the landing of the dependency.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•