Closed Bug 1964122 Opened 10 days ago Closed 5 days ago

Work with resolution side, not axis, when resolving `anchor()`

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: dshin, Assigned: dshin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [anchorpositioning:m1])

Attachments

(1 file)

Previously, we mapped left: anchor(left); to "Resolve anchor(left) for property in horizontal axis" - However, this doesn't work for two reasons:

  1. left: anchor(left) right: anchor(left) have to return 2 different values to produce the identical result
  2. We need side data for left: anchor(inside)

So we specifically need "Resolve anchor(left) for the left side property"

Previously, we mapped left: anchor(left); to "Resolve anchor(left) with in
horizontal axis" - However, this doesn't work for two reasons:

  1. left: anchor(left) and right: anchor(left) have to return 2 different
    values to produce the identical result
  2. We need side data for left: anchor(inside) and right: anchor(outside)
Severity: -- → S3
Pushed by dshin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/812f9ed4e564 Work with side, not axis, when resolving `anchor()` r=firefox-style-system-reviewers,emilio
Status: NEW → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Whiteboard: [anchorpositioning:m1]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: