Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Unified Diff: LayoutTests/fast/runin/crash-when-reparent-sibling.html

Issue 53373003: Remove display:run-in as per https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/_tHSX… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/runin/crash-when-reparent-sibling.html
diff --git a/LayoutTests/fast/runin/crash-when-reparent-sibling.html b/LayoutTests/fast/runin/crash-when-reparent-sibling.html
deleted file mode 100644
index 346593fe5805be56406482f14ce790a0c3ba59dc..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/runin/crash-when-reparent-sibling.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>
- <head>
- <script>
- function runTest()
- {
- if (window.testRunner)
- testRunner.dumpAsText();
-
- // Create a run-in.
- var elem = document.createElement("div");
- elem.id = "run-in";
- elem.innerHTML = "run-in";
- elem.setAttribute("style", "display: run-in");
- document.body.appendChild(elem);
-
- // Create a sibling block to the run-in.
- elem = document.createElement("div");
- elem.id = "block-sibling";
- elem.innerHTML = "block sibling";
- document.body.appendChild(elem);
-
- // Trigger a re-paint.
- document.body.offsetTop;
-
- // Add a block child to the run-in.
- elem = document.createElement("div");
- elem.innerHTML = "block child";
- elem.setAttribute("style", "display: table");
- document.getElementById("run-in").appendChild(elem);
-
- // Trigger a re-paint.
- document.body.offsetTop;
-
- // Reparent the run-in's sibling block.
- document.getElementById("output").appendChild(document.getElementById("block-sibling"));
- document.getElementById("result").innerHTML = "PASS";
- }
- </script>
- </head>
- <body onload="runTest()">
- <div id="result"></div>
- Output: <br/>
- <div id="output"></div>
- </body>
-</html>
« no previous file with comments | « LayoutTests/fast/runin/002-expected.txt ('k') | LayoutTests/fast/runin/crash-when-reparent-sibling-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698