Index: LayoutTests/fast/regions/script-tests/region-element-display-change.js |
diff --git a/LayoutTests/fast/regions/script-tests/region-element-display-change.js b/LayoutTests/fast/regions/script-tests/region-element-display-change.js |
deleted file mode 100644 |
index e1c0a9790f32b5a9965069ae559b25590edd51ab..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/script-tests/region-element-display-change.js |
+++ /dev/null |
@@ -1,30 +0,0 @@ |
-description("Test that RenderObject is recreated correctly after changing display type."); |
- |
-function testElement(element, displayType) |
-{ |
- element.style.setProperty("display", displayType); |
- // The region element was created if the length of inner text is 0. |
- var regionCreated = element.innerText.length == 0; |
- return regionCreated; |
-} |
- |
-var element = document.createElement("div"); |
-var textElement = document.createTextNode("inside element"); |
-element.appendChild(textElement); |
-element.style.setProperty("-webkit-flow-from", "flow"); |
-document.body.appendChild(element); |
-shouldBeFalse('testElement(element, "none")'); |
-shouldBeTrue('testElement(element, "block")'); |
-shouldBeTrue('testElement(element, "inline-block")'); |
-shouldBeFalse('testElement(element, "inline")'); |
-shouldBeFalse('testElement(element, "table")'); |
-shouldBeFalse('testElement(element, "inline-table")'); |
-shouldBeTrue('testElement(element, "table-cell")'); |
-shouldBeTrue('testElement(element, "table-caption")'); |
-shouldBeTrue('testElement(element, "list-item")'); |
-shouldBeFalse('testElement(element, "-webkit-box")'); |
-shouldBeFalse('testElement(element, "-webkit-inline-box")'); |
-shouldBeFalse('testElement(element, "-webkit-flex")'); |
-shouldBeFalse('testElement(element, "-webkit-inline-flex")'); |
-// FIXME: Also add grid and inline grid when it is enabled by default |
-document.body.removeChild(element); |