Closed
Bug 1365851
Opened 7 years ago
Closed 7 years ago
stylo: Interpolate mismatched transform lists
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1335998
People
(Reporter: birtles, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 4 obsolete files)
869 bytes,
text/html
|
Details |
Servo doesn't support interpolating mismatched transform lists[1] so the attached test case won't produce the correct result. [1] http://searchfox.org/mozilla-central/rev/f55349994fdac101d121b11dac769f3f17fbec4b/servo/components/style/properties/helpers/animated_properties.mako.rs#1692
Comment 1•7 years ago
|
||
Not sure this intermittent [1] is related to this bug. table-overflowed-by-animation.html uses mismatched transform lists [2]. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1358266 [2] http://searchfox.org/mozilla-central/source/layout/reftests/transform/table-overflowed-by-animation.html
Comment 2•7 years ago
|
||
(In reply to Boris Chiou [:boris] from comment #1) > Not sure this intermittent [1] is related to this bug. > table-overflowed-by-animation.html uses mismatched transform lists [2]. > > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1358266 > [2] > http://searchfox.org/mozilla-central/source/layout/reftests/transform/table- > overflowed-by-animation.html Sometimes, I see this on stylo try.
Comment 3•7 years ago
|
||
(In reply to Boris Chiou [:boris] from comment #1) > Not sure this intermittent [1] is related to this bug. > table-overflowed-by-animation.html uses mismatched transform lists [2]. Oh, I just realized this comment. Actually I read before but forgot it completely. I think we should disable the test until this bug is fixed.
Updated•7 years ago
|
Priority: -- → P2
Reporter | ||
Comment 4•7 years ago
|
||
Now that we're starting to test real Web content more often, this bug seems to be coming up a lot. This would be a great bug to tackle in the next week or so (and could be done entirely on the Servo side by a volunteer/new contributor even, provided they don't take too long).
Reporter | ||
Comment 5•7 years ago
|
||
Corresponding servo issue: https://github.com/servo/servo/issues/13267
See Also: → https://github.com/servo/servo/issues/13267
Comment 6•7 years ago
|
||
Maybe we should add a special arm which represents eCSSKeyword_interpolatematrix for Servo, and we can just pass this type to Gecko, so when Gecko sees this type in nsDisplayList.cpp, it can read the transform matrix because we already know the frame info and so process the interpolation. For the github issues, "percent and length for translate", I guess we should replace ComputedOperation::Translate(computed::LengthOrPercentage, ...) with ComputedOperation::Translate(computed::CalcLengthOrPercentage, ...), so we can also pass this calc type into Gecko, and nsDisplayList can handle it [1]. BUT this solution only fix this for "stylo". [1] http://searchfox.org/mozilla-central/rev/35b37316149108d53a02fb8498e250ea8a22ab5d/layout/style/nsStyleTransformMatrix.cpp#137
Comment 7•7 years ago
|
||
I did not think initially this bug means the servo issue of 13267. We have already bug 1335998 for it. Anyway we will need it eventually though.
Comment 8•7 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #7) > I did not think initially this bug means the servo issue of 13267. We have > already bug 1335998 for it. Anyway we will need it eventually though. I guess this is the same as bug 1335998, right? We use interpolatematrix to handle mismatched transform lists. (i.e. delay the interpolation of two mismatched transform lists until nsDisplayList)
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 14•7 years ago
|
||
Sorry, wrong bug number
Updated•7 years ago
|
Attachment #8872301 -
Attachment is obsolete: true
Updated•7 years ago
|
Attachment #8872302 -
Attachment is obsolete: true
Updated•7 years ago
|
Attachment #8872303 -
Attachment is obsolete: true
Updated•7 years ago
|
Attachment #8872304 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•