Closed Bug 1329121 Opened 5 years ago Closed 5 years ago

[Stylo] Reftest crash: @ mozilla::nsCSSClipPathInstance::ComputeSVGReferenceRect

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86_64
Linux
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: shinglyu, Unassigned)

References

Details

layout/reftests/w3c-css/submitted/masking/clip-path-viewBox-1c.html
The issue here is due to how pseudo-element styles are resolved when there are no matching rules.  In the document, we have an <svg> and a rule that sets a clip-path on it.  Gecko creates a ::-moz-svg-outer-svg-anon-child anonymous box child of the <svg>'s primary frame.  There are no UA rules that match this pseudo, and Servo currently handles that by cloning the parent's style, rather than cascading with no matching rules.

This should get fixed by https://github.com/servo/servo/pull/14922.
Priority: -- → P3
This has already been re-enabled.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.