[css-houdini-drafts] [css-layout-api] Positioning example issues (#840)

heycam has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-layout-api] Positioning example issues ==
https://drafts.css-houdini.org/css-layout-api/#interaction-positioning

Should the example in the Positioning section have a `#child-absolute { position: absolute; }` rule in the style sheet?  It would be good to also explain what the resulting position of this element is (i.e. (0, 0) due to the rule for computing static positions above).

Is the comment `/* container is a containing block */` necessary?  This makes it sound like it is only the `position: relative;` declaration that causes the element to be a containing block, but because it is `display: layout(foo);` it'll be a containing block anyway.  It might be clearer to remove that declaration and explain why it's a containing block anyway.

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

Received on Monday, 26 November 2018 05:32:26 UTC