w3c / css-validator

W3C CSS Validation Service
https://jigsaw.w3.org/css-validator/
Other
208 stars 105 forks source link

Update "contain" property to accept "inline-size" #372

Closed Seirdy closed 6 months ago

Seirdy commented 2 years ago

Closes #370

ylafon commented 2 years ago

Do you have a pointer to the specification? It is useful as a reference (see at the top of the file), and also to ensure that the patch is the right one. Thanks!

Seirdy commented 2 years ago

Spec: https://www.w3.org/TR/css-contain-3/#valdef-contain-inline-size

Seirdy commented 2 years ago

On Sun, Aug 07, 2022 at 12:23:43AM -0700, Yves Lafon wrote:

Do you have a pointer to the specification? It is useful as a reference (see at the top of the file), and also to ensure that the patch is the right one.

Added a "@ spec" with a link to the specification near the top.

-- Seirdy (https://seirdy.one)

ylafon commented 2 years ago

Looking at https://www.w3.org/TR/2022/WD-css-contain-3-20220818/#contain-property it seems that another check is required. Note that the grammar changed, and this is the reason we try to implement only what is somehow stable.

ylafon commented 6 months ago

Closed per 78ebb170c9c276b99ce3fc43e7e508cdf9b4df6a