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

Unified Diff: third_party/WebKit/LayoutTests/css3/logical-props/logicalprops-block-size.html

Issue 2577363002: Implement CSS Logical Properties: inline/block size (Closed)
Patch Set: Refactor test case, add {inline-,block-}size overrides width height Created 4 years 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/css3/logical-props/logicalprops-block-size.html
diff --git a/third_party/WebKit/LayoutTests/css3/logical-props/logicalprops-block-size.html b/third_party/WebKit/LayoutTests/css3/logical-props/logicalprops-block-size.html
new file mode 100644
index 0000000000000000000000000000000000000000..95c2298ed41d790fd9aa1550f249f8e7fe1e91a0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/logical-props/logicalprops-block-size.html
@@ -0,0 +1,45 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>CSS Logical Properties: {max-,min-}block-size</title>
+<link rel="help" href="https://drafts.csswg.org/css-logical-props/">
+<link rel="help" href="https://drafts.csswg.org/css-writing-modes/#logical-to-physical">
+
+<style>
+div {
+ border: 1px solid #000;
+}
+#div1 {
+ block-size: 40px;
+ min-block-size: 50px;
+ max-block-size: 100px;
+}
+#div2 {
+ block-size: 100px;
+ min-block-size: 50px;
+ max-block-size: 100px;
+}
+#div3 {
+ block-size: 120px;
+ min-block-size: 50px;
+ max-block-size: 100px;
+}
+
+p {
+ border: 1px solid #000;
+}
+#p1 {
+ block-size: 100px;
+ height: 50px;
+}
+#p2 {
+ height: 50px;
+ block-size: 100px;
+}
+</style>
+
+<div id="div1">Hello, this is a test</div>
+<div id="div2">Hello, this is a test</div>
+<div id="div3">Hello, this is a test</div>
rune 2016/12/22 13:13:28 I think using testharness.js and check computed wi
+
+<p id="p1">Hello, this is a test</div>
+<p id="p2">Hello, this is a test</div>

Powered by Google App Engine
This is Rietveld 408576698