Closed
Bug 1365629
Opened 6 years ago
Closed 6 years ago
stylo: Figure out why a bunch of SVG reftests were passing before bug 1364746 landed.
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(1 file, 1 obsolete file)
Read https://bugzilla.mozilla.org/show_bug.cgi?id=1364746#c11 for fun. The gecko side of that patch hadn't landed, so we were passing presumably a random register as the quirks mode. That made a lot of reftests that expected unitless lengths to be parsed to pass, consistently. So something is probably bogus in our handling of quirks mode and ParsingMode.
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(canaltinova)
Comment 1•6 years ago
|
||
Though I might not quite follow this bug, it's due to bug 1363574, if you are referring unitless length?
Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #1) > Though I might not quite follow this bug, it's due to bug 1363574, if you > are referring unitless length? Nope! Unitless lengths are also affected by quirks AIUI, which is what bug 1364746 was about. The intermediate state of that bug made us pass a bunch of tests, see https://hg.mozilla.org/integration/autoland/rev/0be21772f2f9
Assignee | ||
Comment 3•6 years ago
|
||
04:24 <emilio> canaltinova: so looking at it real quick it looks like it's from SVG attribute parsing code 04:25 <emilio> canaltinova: so I'd look into how the SMIL declaration block is constructed 04:26 <emilio> canaltinova: heh, I think I got it 04:28 <canaltinova> emilio: what, how? 04:28 <emilio> canaltinova: So in nsDOMCSSAttributeDeclaration::GetServoCSSParsingEnvironment(), we don't do anything special if the declaration is a smil override 04:28 <emilio> canaltinova: we should probably give that a ParsingMode::SVG 04:29 <emilio> canaltinova: I need to build it, and I'll probably fall asleep before that happens though 04:29 <emilio> canaltinova: I'll leave a comment on the bug
Flags: needinfo?(emilio+bugs)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → emilio+bugs
Flags: needinfo?(emilio+bugs)
Flags: needinfo?(canaltinova)
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Emilio Cobos Álvarez [:emilio] from comment #3) > 04:24 <emilio> canaltinova: so looking at it real quick it looks like it's > from SVG attribute parsing code > 04:25 <emilio> canaltinova: so I'd look into how the SMIL declaration block > is constructed > 04:26 <emilio> canaltinova: heh, I think I got it > 04:28 <canaltinova> emilio: what, how? > 04:28 <emilio> canaltinova: So in > nsDOMCSSAttributeDeclaration::GetServoCSSParsingEnvironment(), we don't do > anything special if the declaration is a smil override > 04:28 <emilio> canaltinova: we should probably give that a ParsingMode::SVG > 04:29 <emilio> canaltinova: I need to build it, and I'll probably fall > asleep before that happens though > 04:29 <emilio> canaltinova: I'll leave a comment on the bug I was completely wrong here btw :)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 8•6 years ago
|
||
mozreview-review |
Comment on attachment 8869819 [details] Bug 1365629: minor cleanup in ServoCSSParsingEnvironment code. https://reviewboard.mozilla.org/r/141368/#review144910
Attachment #8869819 -
Flags: review?(canaltinova) → review+
Assignee | ||
Comment 9•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8a2663283a39483473c8e55306229d1ed115ab49
Comment 10•6 years ago
|
||
mozreview-review |
Comment on attachment 8869817 [details] Bug 1365629: Respect parsing mode in LengthOrPercentage. https://reviewboard.mozilla.org/r/141366/#review144912
Attachment #8869817 -
Flags: review+
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Attachment #8869817 -
Attachment is obsolete: true
Attachment #8869817 -
Flags: review?(hikezoe)
Comment 12•6 years ago
|
||
Pushed by ecoal95@gmail.com: https://hg.mozilla.org/integration/autoland/rev/f76dd202aa38 minor cleanup in ServoCSSParsingEnvironment code. r=canaltinova
Comment 13•6 years ago
|
||
Pushed by ecoal95@gmail.com: https://hg.mozilla.org/integration/autoland/rev/33be00ba2f75 Update reftest expectations. r=me
Comment 14•6 years ago
|
||
Pushed by hikezoe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/90973c75870e Update reftest expectations. r=me
Comment 15•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f76dd202aa38 https://hg.mozilla.org/mozilla-central/rev/33be00ba2f75 https://hg.mozilla.org/mozilla-central/rev/90973c75870e
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•