[csswg-drafts] [css2] Amend Example 152 description. (#6121)

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

== [css2] Amend Example 152 description. ==
In section [9.9.1. Specifying the stack level: the z-index property](https://drafts.csswg.org/css2/#z-index), in the description of the [Example 152](https://drafts.csswg.org/css2/#example-0d2ed3a6) there is this sentence:

> The "text2" stack level is inherited from the root box.

This sentence is a bit misleading in my opinion. `z-index` property is not inherited property. In the example "text2" doesn't have `z-index` specified, hence its computed `z-index` value is `auto`. The value of `auto` means that the stack level of the generated box in the current stacking context is 0. This is in my opinion more accurate explanation of where the value of stack level of this element comes from. It's not inherited from the root box.


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


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

Received on Saturday, 20 March 2021 09:08:26 UTC