Closed Bug 1716046 Opened 4 months ago Closed 4 months ago

Test "left" and "right" as invalid values of align-* and place-* properties

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

Details

Attachments

(1 file)

While I'm at Bug 1715661, the latest spec says that left and right are only valid for justify-*. https://drafts.csswg.org/css-align-3/#valdef-justify-content-left

Our CSS parser already matches the spec. In align.rs, it only accepts left and right for justify-* (inline-axis) , but not align-* (block-axis), but I don't see left and right in the invalid_values of align-* and place-* properties in
property_database.js.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/f3bce321b3e5
Add "left" and "right" as invalid values to align-* and place-* properties in property_database.js. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.