mirror of
https://github.com/servo/servo
synced 2026-05-03 12:52:25 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -32,19 +32,19 @@
|
||||
/*
|
||||
|
||||
1in : top
|
||||
+
|
||||
+
|
||||
auto (to solve): margin-top
|
||||
+
|
||||
+
|
||||
0 : border-top-width
|
||||
+
|
||||
+
|
||||
0 : padding-top
|
||||
+
|
||||
+
|
||||
auto (to solve) : height
|
||||
+
|
||||
0 : padding-bottom
|
||||
+
|
||||
+
|
||||
0 : border-bottom-width
|
||||
+
|
||||
+
|
||||
auto (to solve): margin-bottom
|
||||
+
|
||||
1in : bottom
|
||||
@@ -53,35 +53,35 @@
|
||||
|
||||
|
||||
"
|
||||
'height' is 'auto', 'top' and 'bottom' are not 'auto',
|
||||
then 'auto' values for 'margin-top' and 'margin-bottom' are set to 0
|
||||
'height' is 'auto', 'top' and 'bottom' are not 'auto',
|
||||
then 'auto' values for 'margin-top' and 'margin-bottom' are set to 0
|
||||
and solve for 'height'
|
||||
"
|
||||
|
||||
so this brings:
|
||||
|
||||
|
||||
1in : top
|
||||
+
|
||||
+
|
||||
0 (set): margin-top
|
||||
+
|
||||
+
|
||||
0 : border-top-width
|
||||
+
|
||||
+
|
||||
0 : padding-top
|
||||
+
|
||||
+
|
||||
auto (to solve) : height
|
||||
+
|
||||
0 : padding-bottom
|
||||
+
|
||||
+
|
||||
0 : border-bottom-width
|
||||
+
|
||||
+
|
||||
0 (set): margin-bottom
|
||||
+
|
||||
1in : bottom
|
||||
=============
|
||||
3in : height of containing block
|
||||
|
||||
|
||||
So, height must use 1in in order to balance the equation
|
||||
|
||||
|
||||
*/
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user