Re: [csswg-drafts] [cssom-view] offsetLeft, offsetTop, offsetWidth, offsetHeight, and fragmentation (#11541)

WebKit currently implements `offset*` inside fragmented containing blocks as being contained by the fragmentation context, i.e. it is relative to the unfragmented layout. I think this makes the most sense and is probably the most understandable and useful. It's also the most consistent with printing, which is not going to take a side-by-side bounding box. If someone particularly wants the bounding box of the fragments, they can use a dedicated API for that.

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


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

Received on Thursday, 24 July 2025 19:42:46 UTC