Skip to content
Prev Previous commit
Next Next commit
Update css-overflow-4/Overview.bs
Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
  • Loading branch information
flackr and tabatkins authored May 1, 2024
commit 18c8df2b60294ad04e355e2d2b50832117875f3d
2 changes: 1 addition & 1 deletion css-overflow-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2182,7 +2182,7 @@ showing in which case space is reserved for the <a>scrollbar gutter</a>.

<h3 id="scroll-target">''scrolltarget'' attribute</h3>

The <dfn selector>scrolltarget</dfn> attribute turns a ''&lt;button>'' element into a <dfn selector>scroll marker control</dfn>.
The <dfn element-attr for=button>scrolltarget</dfn> attribute turns a <{button}> element into a <dfn export>scroll marker control</dfn>.
This takes the ID of the element to target as its value.

The <dfn selector>HTMLButtonElement.scrollTargetElement</dfn> instance property
Expand Down