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

Unified Diff: LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html

Issue 450783002: [CSS Grid Layout] Ignore positioned block item added after inline (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 years, 3 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/css-grid-layout/grid-add-positioned-block-item-after-inline-item-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html
diff --git a/LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html b/LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html
new file mode 100644
index 0000000000000000000000000000000000000000..2e7a26d8acf53ad9073c5a07f8ebcbdd32ceb68a
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+ #grid {
+ display: grid;
+ grid-auto-flow: stack;
+ }
+ embed {
+ position: absolute;
+ }
+</style>
+<script type="text/javascript">
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+</head>
+<body>
+ <p>This test checks that adding a positioned block grid item after an inline grid item (which inserts it inside the
+ existing anonymous block wrapping the inline item) does not crash on debug.</p>
+ <div id="grid">
+ test
+ </div>
+ <script>
+ var grid = document.getElementById("grid");
+ grid.offsetTop;
+ var embed = document.createElement("embed");
+ grid.appendChild(embed);
+ </script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css-grid-layout/grid-add-positioned-block-item-after-inline-item-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698