Open Bug 1923763 Opened 14 days ago Updated 10 days ago

Handle invalid `anchor()` values.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

People

(Reporter: dshin, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [anchorpositioning:m1])

Invalid if:

  • Used outside of inset property
  • Used in non-abspos positioning
  • Keyword used for anchor side does not match physical side e.g. left: anchor(top)
  • Anchor specified refers to itself e.g. anchor-name: --foo; anchor(--foo left). Possible since anchors can have anchors.

Need to give fallback in this case, or treat the entire property as invalid at compute time.

Blocks: 1923758
No longer depends on: 1923758
Blocks: 1909332
No longer blocks: 1923758
Whiteboard: [anchorpositioning:m1]
You need to log in before you can comment on or make changes to this bug.