[csswg-drafts] [cssom-view-1] Further restrictions on resolved values for insets? (#9267)

bfgeek has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view-1] Further restrictions on resolved values for insets? ==
https://drafts.csswg.org/cssom-1/#resolved-values

Currently today all engines return the used value for the inset properties (top/right/bottom/left).

It could be possible to place further restrictions on when this occurs based on the `position` of a box.
Specifically it may be web-compatible to do this for:
 - `sticky` (relatively new position mode).
 - `relative`, implementations returning junk information[1] for the "interesting" cases.

The primary use-case for this is to determine the used offsets when things are absolutely positioned.
Thoughts?

[1] See: https://www.software.hixie.ch/utilities/js/live-dom-viewer/?saved=11960 - Even though the used value of `top` should be `0px` implementations will non-zero values.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9267 using your GitHub account


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

Received on Tuesday, 29 August 2023 23:51:09 UTC