[csswg-drafts] [css-position] Absolutely positioned elements' position root should be its parent (#7000)

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

== [css-position] Absolutely positioned elements' position root should be its parent ==
Current specification is not intuitive. When you want some element to be absolutely positioned, you need to find where you want to root the position and make it relatively positioned.
https://drafts.csswg.org/css-position/#position-property

In most cases, the position root of an element is its parent element. Why isn't it a default?
If I designed CSS, I would make position root its parent by default, and position root should be declared if you desire somewhere else to be a position root from the absolutely positioned element.

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


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

Received on Monday, 31 January 2022 01:05:03 UTC