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