- From: Emilio Cobos Álvarez via GitHub <noreply@w3.org>
- Date: Tue, 24 Jun 2025 16:32:50 +0000
- To: public-css-archive@w3.org
Ok I think we were not understanding each other. This is what I meant. There are effectively three rects, even tho the website only sees two: ``` +-----------------------------------+ | Border / shadow and decorations | | +---------------------------+ | | | Titlebar | | | +---------------------------+ | | | Content area | | | | | | ``` The website only has "outer" coordinates (`screenX` / `screenY` / `outerWidth` / `outerHeight`, top left of the Shadow and decorations) and "inner" coordinates (which is the content area). My point is that for this use case you kinda want the middle one, right? Actually, in browsers, whether the shadow is included in the outer coords depends on the platform. IIRC it is included on Windows, but not on macOS where the shadow extent is not exposed to the app. On Linux it depends on whether you're using client-side or server-side window decorations... -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12361#issuecomment-3001151023 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 24 June 2025 16:32:50 UTC