Open Bug 2005455 Opened 4 days ago Updated 4 days ago

Conditional chain anchored positioned element doesn't work

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: nchevobbe, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Keywords: parity-chrome, Whiteboard: [anchorpositioning:triage])

Attachments

(1 file)

Attached file test_case.html

(from Roma on mastodon https://front-end.social/@kizu/115697810116243244)

Steps to reproduce

  1. Open the attached test case
  2. Drag the first "p" resize handle to the right so it's passed the "I am to the right of the widest element!" item

Expected results

The "I am to the right of the widest element!" is re-positioned to be on the right of the element we resized

Actual results

The element isn't re-positioned


FWIW It does work in Chrome

This does seem to be a chain anchor case - I think. a bit unclear due to bug 2005461.

  • "I am to the right of the widest element!" div anchors to --anchor, which should be the second ::before, which is closer in tree order.
  • That in turn anchors to the right of --anchor, which is the first ::before.
Depends on: 2002789, 2005461
Whiteboard: [anchorpositioning:triage]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: