MicrosoftEdge / MicrosoftEdge/MSEdgeExplainers

[CSS Anchored Positioning] Does the `anchor` IDL attribute reflect to the content attribute?

Open
#491 2 comments 0 reactions 2 assignees View on GitHub

@melanierichards is already working on this.

Since Jun 16, 2021.

CSS Anchored Positioning
Dominant language
HTML
Stars
1.4k
Forks
286
Avg merge
3d 1h
Merged PRs (30d)
8

Description

The anchor positioning proposal contains this proposed syntax:

document.getElementById('myPopup').anchor = document.getElementById('myButton');

Quick question: when you execute that line on <popup id=myPopup>, do you get <popup id=myPopup anchor=myButton>? What if you instead assign anchor to document.createElement('button'), which doesn't have an id?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.