Closed Bug 1355356 Opened 7 years ago Closed 7 years ago

Parser should reject instead of clamp out-of-range value for unicode-range descriptor

Categories

(Core :: CSS Parsing and Computation, defect)

53 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: xidorn, Unassigned)

References

Details

(Whiteboard: [stylo])

There are tests in layout/style/test/test_font_face_parser.html check the wrong behavior that things like U+?????? should be U+0-10FFFF, and U+A0000-12FFFF should be U+A0000-10FFFF. That is incorrect per spec. Those value should be rejected rather than clamped.

(NOTE: This is not a Stylo bug. It is something Gecko should fix to allow Stylo to pass the test.)
It is fixed at the same time in bug 1355352.
Status: NEW → RESOLVED
Closed: 7 years ago
Depends on: 1355352
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.