[CSS Anchored Positioning] Does the anchor
IDL attribute reflect to the content attribute? #491
Open
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
?