Closed
Bug 1390067
Opened 8 years ago
Closed 2 years ago
Interpolate -moz-image-region value as discrete if there is a 'auto' value.
Categories
(Core :: CSS Parsing and Computation, enhancement, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox57 | --- | affected |
People
(Reporter: hiro, Unassigned)
Details
Just like mClipFlags. Otherwise when we convert the Gecko value to servo one we lose the information. As a result a test case in test_transitions_per_property.html fails.
TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_per_property.html | rect-valued property -moz-image-region: interpolation of rects - got "rect(0px, 4px, 4px, 2px)", expected "rect(3px, 13px, 10px, 5px)"
Reporter | ||
Comment 1•8 years ago
|
||
Ok, currently on Gecko interpolation between rect() which has 'auto' value and normal rect is not handled as discrete, it can interpolate as if 'auto' value is zero.
So we can just do the same behavior for stylo.
I am going to reuse this bug for gecko. To handle rect which has 'auto' as discrete we need mImageRegionFlags to distinguish zero value from auto I guess.
Summary: stylo: Need mImageRegionFlags to distinguish zero value from auto → Interpolate -moz-image-region value as discrete if there is a 'auto' value.
Updated•3 years ago
|
Severity: normal → S3
Comment 3•2 years ago
|
||
We actually do this.
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(emilio)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•