- From: Jochen Kühner via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 May 2025 19:59:12 +0000
- To: public-css-archive@w3.org
> If there are concerns with landing a DOM API we could have a WebDriver-BiDi specific API to retrieve the bounding content quads for an element given a suitable definition, but if there is a DOM API we'd prefer to expose that directly. I hope we would get this as a DOM API. I think there are many App wich could benefit from such an API. For example WYSIWYG Designers (like https://github.com/node-projects/web-component-designer, https://grapesjs.com/, https://craft.js.org/, ...), VisBug (https://chromewebstore.google.com/detail/visbug/cdockenadnadldjbbgcallicgledbeoc?pli=1), SVG Editors (so many...) could benefit from this. My Designer is for example now using my polyfill, but it could not work correctly for SVG & MathML cause they don't provide offsetXXXX Properties. And also the performance is so much slower then the native implementation in Firefox. And the Brows does need to calculate these Points anyway to draw the elements. So hopefully we get this forward to get a native implementation. As I see, the DevTools API does not support the "fromBox" & "toBox" option. So this a thing wich need to be worked on. -- GitHub Notification of comment by jogibear9988 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10537#issuecomment-2881402675 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 14 May 2025 19:59:13 UTC