Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-anchor-position-1] Change implicit anchor element example #9014

Merged
merged 4 commits into from
Jul 5, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions css-anchor-position-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,11 @@ a particular element is an <dfn>implicit anchor element</dfn>
for a given positioned element.

<p class=example>
For example, the Popover API allows a popover
to declare what element is anchoring it.
This makes the declared element the [=implicit anchor element=]
for the popover.
For example, the HTML spec <a
href="https://whatpr.org/html/9144/dom.html#the-anchor-attribute">defines an
"anchor" attribute</a> which allows an element to declare what element it is
anchored to. This makes the declared element the [=implicit anchor element=]
for the element with the attribute.

[=Implicit anchor elements=] can be referenced
with the ''implicit'' keyword,
Expand Down