- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 Jan 2024 16:11:52 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-viewport] [cssom] [css-typed-om] Consider adding a way of exposing the effective zoom. == Without it, translating global to scaled coordinates is error prone (have to walk the DOM tree upwards multiplying `getComputedStyle(el).zoom`). My preference would be a member in the computed `CSSStyleDeclaration` (might need a `CSSComputedStyleDeclaration`?) for simplicity, and / or in the `computedPropertyMap` (which IIUC would also need a new interface), but happy to hear other alternatives, maybe just `Element.prototype.effectiveZoom` or such. Thoughts? cc @saschanaz @chrishtr @tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9809 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 17 January 2024 16:11:54 UTC