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

Unified Diff: LayoutTests/fast/css-grid-layout/whitespace-in-grid-item.html

Issue 16888008: Don't create renderers for whitespace nodes in flexbox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 7 years, 6 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/css-grid-layout/whitespace-in-grid-item.html
diff --git a/LayoutTests/fast/css-grid-layout/whitespace-in-grid-item.html b/LayoutTests/fast/css-grid-layout/whitespace-in-grid-item.html
new file mode 100644
index 0000000000000000000000000000000000000000..5892ef05eb16ec9cf45b7c5e9c5f467e2800502f
--- /dev/null
+++ b/LayoutTests/fast/css-grid-layout/whitespace-in-grid-item.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<script>
+if (window.testRunner)
+ testRunner.overridePreference("WebKitCSSGridLayoutEnabled", 1);
+</script>
+<link href="resources/grid.css" rel="stylesheet">
+<style>
+ .grid {
+ white-space: pre;
+ }
+ .a {
+ height: 100%;
+ width: 30px;
+ background: salmon;
+ }
+</style>
+<body>
+ <div class="grid">
+
+ <div class="a"></div> &#9;
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698