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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html

Issue 2176043002: Collapse away nested anonymous blocks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@467579-3
Patch Set: Created 4 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 | third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html b/third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html
new file mode 100644
index 0000000000000000000000000000000000000000..2fe35d2b70ad27f478223e05110e85c640ac9625
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+#container {
+ text-indent: -300px;
+ width: 300px;
+}
+
+</style>
+<p>crbug.com/627149: Collapse away nested anonymous blocks. There should be no text below.</p>
+<button id="container">
+ <span id="span">Text.</span>
+</button>
+<script>
+ var container = document.getElementById('container');
+ var div = document.createElement('div');
+ container.insertBefore(div, document.getElementById('span'));
+ document.body.offsetTop;
+ container.removeChild(div);
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/block/collapse-nested-anonymous-block-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698