Closed Bug 1367589 Opened 7 years ago Closed 7 years ago

stylo: rem units probably don't work correctly with ::backdrop.

Categories

(Core :: CSS Parsing and Computation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: emilio, Unassigned)

References

Details

rem units work in servo as a field in the ComputedValues struct. This field gets set on the root and propagated down the tree, but it's initially 16px for the default computed values.

::backdrop inherits from there, so it seems to me that rem units won't get computed appropriately.

Which makes me think... Other cascade optimizations may also make us get inconsistent state wrt rem units.

Will file a separate bug for that.
See Also: → 1367592
Priority: -- → P2
This was side-by fixed by https://github.com/servo/servo/pull/17041. Also, Gecko also doesn't do the right thing with viewport units in ::backdrop.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
(In reply to Emilio Cobos Álvarez [:emilio] from comment #1)
> This was side-by fixed by https://github.com/servo/servo/pull/17041. Also,
drive-by
You need to log in before you can comment on or make changes to this bug.