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

Unified Diff: LayoutTests/fast/runin/runin-remove-child-simple.html

Issue 19290002: Move runin to original position when sibling element is destroyed. Additionally, if If moveRunInUnd… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 7 years, 5 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/runin-remove-child-simple.html
diff --git a/LayoutTests/fast/runin/runin-remove-child-simple.html b/LayoutTests/fast/runin/runin-remove-child-simple.html
new file mode 100644
index 0000000000000000000000000000000000000000..69ea0b9951f0791144d0d4083c16ae51683af61a
--- /dev/null
+++ b/LayoutTests/fast/runin/runin-remove-child-simple.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<style>
+.runin { display: run-in }
+</style>
+</head>
+<body>
+<div>
+<p>This test checks that dynamically changing 'display' to 'none' moves
+the run-in to its own block.</p>
+<p>For this test to pass there should be 1 line below with PASS:<p>
+ <div class="runin">PASS(run-in)</div>
+ <div id="t1">FAIL(div#t1 should not be visible</div>
+</div>
+</body>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+document.body.offsetTop;
+document.getElementById('t1').style.display = 'none';
+</script>
+</html>

Powered by Google App Engine
This is Rietveld 408576698