Open Bug 1337678 Opened 8 years ago Updated 2 years ago

CSSKeyframeRule does not throw a SyntaxError when invalid keyText is assigned

Categories

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

defect

Tracking

()

Tracking Status
firefox54 --- affected

People

(Reporter: birtles, Unassigned)

References

Details

Attachments

(1 file)

Attached file Test case (deleted) —
According to the spec[1], however, it should. In the attached test case, I notice that Chrome throws a DOMException and Edge throws an Error. [1] https://drafts.csswg.org/css-animations/#dom-csskeyframerule-keytext
Checking with Safari, it doesn't seem to throw an exception at all when setting invalid keyText. Instead it fails silently and the keyText becomes an empty string.
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: