mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -28,24 +28,24 @@
|
||||
top: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
auto (to solve) : top
|
||||
+
|
||||
+
|
||||
auto (to solve): margin-top
|
||||
+
|
||||
+
|
||||
0 : border-top-width
|
||||
+
|
||||
+
|
||||
0 : padding-top
|
||||
+
|
||||
+
|
||||
1in : height
|
||||
+
|
||||
0 : padding-bottom
|
||||
+
|
||||
+
|
||||
0 : border-bottom-width
|
||||
+
|
||||
+
|
||||
auto (to solve): margin-bottom
|
||||
+
|
||||
auto (to solve) : bottom
|
||||
@@ -54,37 +54,37 @@
|
||||
|
||||
|
||||
"
|
||||
'top' and 'bottom' are 'auto' and 'height' is not 'auto',
|
||||
then set 'top' to the static position,
|
||||
set 'auto' values for 'margin-top' and 'margin-bottom' to 0,
|
||||
'top' and 'bottom' are 'auto' and 'height' is not 'auto',
|
||||
then set 'top' to the static position,
|
||||
set 'auto' values for 'margin-top' and 'margin-bottom' to 0,
|
||||
and solve for 'bottom'
|
||||
"
|
||||
|
||||
so this brings:
|
||||
|
||||
|
||||
0 (solved static position) : top
|
||||
+
|
||||
+
|
||||
0 (solved): margin-top
|
||||
+
|
||||
+
|
||||
0 : border-top-width
|
||||
+
|
||||
+
|
||||
0 : padding-top
|
||||
+
|
||||
+
|
||||
1in : height
|
||||
+
|
||||
0 : padding-bottom
|
||||
+
|
||||
+
|
||||
0 : border-bottom-width
|
||||
+
|
||||
+
|
||||
0 (solved): margin-bottom
|
||||
+
|
||||
auto (to solve) : bottom
|
||||
=============
|
||||
3in : height of containing block
|
||||
|
||||
|
||||
So, bottom must use 2in in order to balance the equation
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user