stylo: Report more specific errors when parsing filter properties

RESOLVED FIXED in Firefox 57

Status

()

defect
P3
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jdm, Assigned: jdm)

Tracking

(Blocks 1 bug)

unspecified
mozilla57
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox57 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

x { filter: alpha(opacity = 95); }

This yields "Expected ‘none’, URL, or filter function but found ‘alpha(’. Error in parsing value for ‘filter’. Declaration dropped." in Gecko, but only "Error in parsing value for ‘filter’. Declaration dropped." in stylo.
Priority: -- → P3
Assignee: nobody → josh
Attachment #8904733 - Flags: review?(cam)
Attachment #8904732 - Flags: review?(cam) → review?(xidorn+moz)
Attachment #8904733 - Flags: review?(cam) → review?(xidorn+moz)
Attachment #8904732 - Flags: review?(xidorn+moz) → review+
Attachment #8904733 - Flags: review?(xidorn+moz) → review+
Attachment #8904733 - Attachment is obsolete: true
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/45084f5718b9
Add test for parsing invalid filter values. r=xidorn
https://hg.mozilla.org/mozilla-central/rev/45084f5718b9
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.