Re: [csswg-drafts] [css-scroll-anchoring] anchoring within conteneditable elements (#11748)

Yes, I think that would be a similar behavior, albeit more intentionally constructed than just contenteditable. 

In my testing I found the cursor anchoring case to be unexpected and it looked strange to me (within contenteditable). Added to this, the scroll anchoring implementation for cursor anchoring also has to track selection and user cursor, which is added implementation complexity. The node selection from candidate change that I propose appears to me to be a smaller incremental change that is less likely to cause "good cases" to break, which is why I'm still leaning towards that

-- 
GitHub Notification of comment by vmpstr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11748#issuecomment-2718593024 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 March 2025 17:20:08 UTC