Skip to content

Commit 21bf947

Browse files
committed
Update "contain" property to accept "inline-size"
Closes #370
1 parent ace5b9f commit 21bf947

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

org/w3c/css/properties/css3/CssContain.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ public class CssContain extends org.w3c.css.properties.css.CssContain {
3434
allowed_single_values[i++] = CssIdent.getIdent(s);
3535
}
3636
// "style" added as of css-contain-2 but at-risk
37-
String[] _allowed_multiple_values = {"size", "layout", "paint", "style"};
37+
String[] _allowed_multiple_values = {
38+
"size",
39+
"inline-size",
40+
"layout",
41+
"paint",
42+
"style",
43+
};
3844
i = 0;
3945
allowed_multiple_values = new CssIdent[_allowed_multiple_values.length];
4046
for (String s : _allowed_multiple_values) {

0 commit comments

Comments
 (0)