diff --git a/css/css-align/content-distribution/place-content-shorthand-004.html b/css/css-align/content-distribution/place-content-shorthand-004.html index 30f45b686f4d27d..3f9bd88efb0e540 100644 --- a/css/css-align/content-distribution/place-content-shorthand-004.html +++ b/css/css-align/content-distribution/place-content-shorthand-004.html @@ -47,6 +47,12 @@ checkInvalidValues("start auto") }, "Verify 'auto' values are invalid"); + test(function() { + checkInvalidValues("self-start") + checkInvalidValues("center self-end") + checkInvalidValues("self-end start") + }, "Verify self-position values are invalid"); + test(function() { checkInvalidValues("") }, "Verify empty declaration is invalid"); diff --git a/css/css-align/default-alignment/parse-justify-items-002.html b/css/css-align/default-alignment/parse-justify-items-002.html index 6ba2c7c2e1ff8f1..1806fa2c72ad17b 100644 --- a/css/css-align/default-alignment/parse-justify-items-002.html +++ b/css/css-align/default-alignment/parse-justify-items-002.html @@ -19,39 +19,39 @@ test(function() { element = document.createElement("div"); document.body.appendChild(element); - checkValues(element, "justifyItems", "justify-items", "", "legacy"); + checkValues(element, "justifyItems", "justify-items", "", "normal"); }, "Test 'initial' value when nothing is specified"); test(function() { container.style.display = ""; - checkInitialValues(element, "justifyItems", "justify-items", "center", "legacy"); + checkInitialValues(element, "justifyItems", "justify-items", "center", "normal"); }, "Test justify-items: 'initial'"); test(function() { container.style.display = "grid"; - checkInitialValues(element, "justifyItems", "justify-items", "safe start", "legacy"); + checkInitialValues(element, "justifyItems", "justify-items", "safe start", "normal"); }, "Test grid items justify-items: 'initial'"); test(function() { container.style.display = "flex"; - checkInitialValues(element, "justifyItems", "justify-items", "unsafe end", "legacy"); + checkInitialValues(element, "justifyItems", "justify-items", "unsafe end", "normal"); }, "Test flex items justify-items: 'initial'"); test(function() { container.style.display = ""; element.style.position = "absolute"; - checkInitialValues(element, "justifyItems", "justify-items", "start", "legacy"); + checkInitialValues(element, "justifyItems", "justify-items", "start", "normal"); }, "Test absolute positioned elements justify-items: 'initial'"); test(function() { container.style.display = "grid"; element.style.position = "absolute"; - checkInitialValues(element, "justifyItems", "justify-items", "end", "legacy"); + checkInitialValues(element, "justifyItems", "justify-items", "end", "normal"); }, "Test absolute positioned grid items justify-items: 'initial'"); test(function() { container.style.display = "flex"; element.style.position = "absolute"; - checkInitialValues(element, "justifyItems", "justify-items", "end", "legacy"); + checkInitialValues(element, "justifyItems", "justify-items", "end", "normal"); }, "Test absolute positioned flex items justify-items: 'initial'"); diff --git a/css/css-align/default-alignment/place-items-shorthand-004.html b/css/css-align/default-alignment/place-items-shorthand-004.html index c5d94726f2afc8c..aa3ff30f70fcb59 100644 --- a/css/css-align/default-alignment/place-items-shorthand-004.html +++ b/css/css-align/default-alignment/place-items-shorthand-004.html @@ -37,7 +37,18 @@ checkInvalidValues("auto") checkInvalidValues("auto right") checkInvalidValues("auto auto") - }, "Verify 'auto' value is invalid as first longhand value."); + checkInvalidValues("center auto") + }, "Verify 'auto' value is invalid."); + + test(function() { + checkInvalidValues("legacy") + checkInvalidValues("legacy start") + checkInvalidValues("end legacy") + checkInvalidValues("legacy left") + checkInvalidValues("center legacy") + checkInvalidValues("start legacy center") + }, "Verify 'legacy' value is invalid."); + test(function() { checkInvalidValues("")