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-sibling-inline.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-sibling-inline.html
diff --git a/LayoutTests/fast/runin/runin-sibling-inline.html b/LayoutTests/fast/runin/runin-sibling-inline.html
new file mode 100644
index 0000000000000000000000000000000000000000..0313512adb1758766dd3b9a1611b4423a493a410
--- /dev/null
+++ b/LayoutTests/fast/runin/runin-sibling-inline.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<style>
+.runin { display: run-in }
+</style>
+</head>
+<body>
+<div>
+<p>This test checks that dynamically changing 'display' from block to inline moves
+the run-in to its own block.</p>
+<p>For this test to pass there should be 2 lines below with PASS, each PASS should
+be on its own line:</p>
+ <div class="runin">PASS (run-in)</div>
+ <div id="t1">PASS (div#t1 that changed 'display')</div>
+</div>
+</body>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+document.body.offsetTop;
+document.getElementById('t1').style.display = 'inline';
+</script>
+</html>

Powered by Google App Engine
This is Rietveld 408576698