oddbird / oddbird/css-anchor-positioning
[BUG] anchor-name and position-anchor set via CSSOM are invisible to the polyfill
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 493
- Forks
- 18
- Avg merge
- 12h 37m
- Merged PRs (30d)
- 5
Description
Setting anchorName or positionAnchor from JavaScript does nothing in a browser without native anchor positioning. The CSSOM drops properties it doesn't know, so no declaration ends up in the style attribute.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace how the polyfill handles CSSOM assignments to anchorName and positionAnchor when native anchor positioning is unavailable. Reproduce the issue by setting each property from JavaScript and inspect the resulting style attribute; done means both declarations remain available to the polyfill and affect its behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100