| Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-areas-get-set.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-areas-get-set.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-areas-get-set.html
|
| index 98ddb9e7f1c8e4dbc7490015ac39d6f1faec7777..4495c271f489a0ea7fb1bb880217b085bb73eb76 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-areas-get-set.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-template-areas-get-set.html
|
| @@ -155,6 +155,10 @@
|
| document.body.appendChild(parentElement);
|
| parentElement.style.gridTemplateAreas = "'foo bar'";
|
| shouldBeEqualToString("window.getComputedStyle(parentElement).getPropertyValue('grid-template-areas')", '"foo bar"')
|
| + parentElement.style.gridTemplateAreas = "'foo" + "\t" + "bar'";
|
| + shouldBeEqualToString("window.getComputedStyle(parentElement).getPropertyValue('grid-template-areas')", '"foo bar"')
|
| + parentElement.style.gridTemplateAreas = "'foo" + "\n" + "bar'";
|
| + shouldBeEqualToString("window.getComputedStyle(parentElement).getPropertyValue('grid-template-areas')", '"foo bar"')
|
|
|
| var element = document.createElement("div");
|
| parentElement.appendChild(element);
|
| @@ -186,6 +190,16 @@
|
| element.style.gridTemplateAreas = "'' ''";
|
| shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('grid-template-areas')", "none")
|
|
|
| + element.style.gridTemplateAreas = "'^nav'";
|
| + shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('grid-template-areas')", "none")
|
| + element.style.gridTemplateAreas = "'n^av'";
|
| + shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('grid-template-areas')", "none")
|
| +
|
| + element.style.gridTemplateAreas = "'\x04nav'";
|
| + shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('grid-template-areas')", "none")
|
| + element.style.gridTemplateAreas = "'n\x04av'";
|
| + shouldBeEqualToString("window.getComputedStyle(element).getPropertyValue('grid-template-areas')", "none")
|
| +
|
| debug("");
|
| debug("FIXME: We currently don't validate that the named grid areas are <indent>.");
|
| // <ident> only allows a leading '-'.
|
|
|