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

Unified Diff: third_party/WebKit/LayoutTests/css-display-3/display-contents-line-height.html

Issue 2826153002: Don't assume line-height properties can't change between text and its container.
Patch Set: Don't assume line-height properties can't change between text and its container. Created 3 years, 8 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: third_party/WebKit/LayoutTests/css-display-3/display-contents-line-height.html
diff --git a/third_party/WebKit/LayoutTests/css-display-3/display-contents-line-height.html b/third_party/WebKit/LayoutTests/css-display-3/display-contents-line-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..5a3ba652324fecfd88e6841036d0d1a9e5c73831
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css-display-3/display-contents-line-height.html
@@ -0,0 +1,15 @@
+<!doctype html>
+<style>
+.container {
+ border: 1px solid black;
+ display: flex;
+ height: 100px;
+ align-items: flex-end;
+}
+
+.contents {
+ display: contents;
+ font-size: 50px;
+}
+</style>
+<div class="container"><div class="contents">Text should remain in the container</div></div>

Powered by Google App Engine
This is Rietveld 408576698