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

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: Rebased patch 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..3a9671535b2219834caf4880262792b47020b886
--- /dev/null
+++ b/LayoutTests/fast/runin/run-in-sibling-inline-block.html
@@ -0,0 +1,24 @@
+<style>
Julien - ping for review 2013/07/23 21:40:12 The test is missing a DOCTYPE (or do we *really* n
+.inlineBlock { display: inline-block; }
+.runin { display: run-in; }
+</style>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+var figure;
+var fieldSet;
Julien - ping for review 2013/07/23 21:40:12 We don't need to define these variables here as yo
+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>
+<div>
+PASS if test does not crash.
Julien - ping for review 2013/07/23 21:40:12 Instructions should be complete English sentences:
+</div>
+
« 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