Closed Bug 1386900 Opened 7 years ago Closed 7 years ago

stylo: Report more specific errors when parsing filter properties

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: jdm, Assigned: jdm)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

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: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.