- From: Morten Stenshorne via GitHub <sysbot+gh@w3.org>
- Date: Fri, 09 May 2025 09:36:07 +0000
- To: public-css-archive@w3.org
Not sure if my suggestion is web compatible. If offsetTop and offsetLeft represent the bounding box of the element, they (especially offsetLeft (in horizontal-bt)) will become very different for an inline that wraps; e.g. `#elm` here: ```html <div> text text text text <a id="elm" href="...">word <!-- assume line break here --> word</a>. Instead of being the offset on </div> ``` offsetLeft will be at the beginning of the first line istead of at the beginning of the first fragment ("word"). -- GitHub Notification of comment by mstensho Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11541#issuecomment-2865861226 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 9 May 2025 09:36:12 UTC