All users were logged out of Bugzilla on October 13th, 2018

Interpolate -moz-image-region value as discrete if there is a 'auto' value.

NEW
Unassigned

Status

()

P4
normal
a year ago
a year ago

People

(Reporter: hiro, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox57 affected)

Details

(Reporter)

Description

a year ago
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

a year 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.
You need to log in before you can comment on or make changes to this bug.