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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/logical-props/logicalprops-inline-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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <meta charset="utf-8">
3 <title>CSS Logical Properties: {max-,min-}inline-size</title>
4 <link rel="help" href="https://drafts.csswg.org/css-logical-props/">
5 <link rel="help" href="https://drafts.csswg.org/css-writing-modes/#logical-to-ph ysical">
6
7 <style>
8 table {
9 border: 1px solid #000;
10 display: table;
11 }
12 #table1_column {
13 inline-size: 40px;
14 min-inline-size: 50px;
15 max-inline-size: 100px;
16 height: 100px;
17 background-color: red;
18 display: table-cell;
19 }
20 #table2_column {
21 inline-size: 100px;
22 min-inline-size: 50px;
23 max-inline-size: 100px;
24 height: 100px;
25 background-color: blue;
26 display: table-cell;
27 }
28 #table3_column {
29 inline-size: 120px;
30 min-inline-size: 50px;
31 max-inline-size: 100px;
32 height: 100px;
33 background-color: green;
34 display: table-cell;
35 }
36
37 #div1 {
38 inline-size: 40px;
39 min-inline-size: 50px;
40 max-inline-size: 100px;
41 border: 1px solid #000;
42 }
43 #div2 {
44 inline-size: 100px;
45 min-inline-size: 50px;
46 max-inline-size: 100px;
47 border: 1px solid #000;
48 }
49 #div3 {
50 inline-size: 120px;
51 min-inline-size: 50px;
52 max-inline-size: 100px;
53 border: 1px solid #000;
54 }
55
56 p {
57 border: 1px solid #000;
58 }
59 #p1 {
60 inline-size: 100px;
61 width: 50px;
62 }
63 #p2 {
64 width: 50px;
65 inline-size: 100px;
66 }
67 </style>
68
69 <div id="table1">
70 <div id="table1_column"></div>
71 </div>
72 <div id="table2">
73 <div id="table2_column"></div>
74 </div>
75 <div id="table3">
76 <div id="table3_column"></div>
77 </div>
78
79 <div id="div1">Hello, this is a test</div>
80 <div id="div2">Hello, this is a test</div>
81 <div id="div3">Hello, this is a test</div>
82
83 <p id="p1">Hello, this is a test</div>
84 <p id="p2">Hello, this is a test</div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698