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

Unified Diff: LayoutTests/fast/runin/run-in-sibling-inline-block.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
« no previous file with comments | « no previous file | LayoutTests/fast/runin/run-in-sibling-inline-block-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/runin/run-in-sibling-inline-block.html
diff --git a/LayoutTests/fast/runin/run-in-sibling-inline-block.html b/LayoutTests/fast/runin/run-in-sibling-inline-block.html
new file mode 100644
index 0000000000000000000000000000000000000000..e9eb5f1ca2e95d9151ac7c446ee1b9605fdee223
--- /dev/null
+++ b/LayoutTests/fast/runin/run-in-sibling-inline-block.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<style>
+.inlineBlock { display: inline-block; }
+.runin { display: run-in; }
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+function boom() {
+ figure = document.createElement('figure');
+ figure.setAttribute('class', 'runin');
+ document.documentElement.appendChild(figure);
+ fieldSet = document.createElement('fieldset');
+ document.documentElement.appendChild(fieldSet);
+ document.body.offsetTop;
+ fieldSet.setAttribute('class', 'inlineBlock');
+}
+window.onload = boom;
+</script>
+<body>
+<div>
+This test has PASSED if it did not crash.
+</div>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/runin/run-in-sibling-inline-block-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698