Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef

This commit is contained in:
Ms2ger
2015-12-09 01:48:05 -05:00
parent 9aa1b1e408
commit 35c74aecc2
11290 changed files with 92400 additions and 49214 deletions

View File

@@ -34,19 +34,19 @@
/*
1in : top
+
+
auto (to solve): margin-top
+
+
0 : border-top-width
+
+
0 : padding-top
+
+
auto (to solve) : height (may be constrained to use 0.5in by max-height)
+
0 : padding-bottom
+
+
0 : border-bottom-width
+
+
auto (to solve): margin-bottom
+
1in : bottom
@@ -55,69 +55,69 @@
"
'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:
1in : top
+
+
0 (set): margin-top
+
+
0 : border-top-width
+
+
0 : padding-top
+
+
1in (not constrained) : height (must be constrained to use 0.5in by max-height)
+
0 : padding-bottom
+
+
0 : border-bottom-width
+
+
0 (set): margin-bottom
+
1in : bottom
=============
3in : height of containing block
So, here, we must reenter the algorithm since height is
constrained and is no longer 'auto'.
"
If none of the three [top, height, bottom] are 'auto':
If both 'margin-top' and 'margin-bottom' are 'auto',
solve the equation under the extra constraint that
If none of the three [top, height, bottom] are 'auto':
If both 'margin-top' and 'margin-bottom' are 'auto',
solve the equation under the extra constraint that
the two margins get equal values.
"
so this brings:
1in : top
+
+
auto (to solve): margin-top
+
+
0 : border-top-width
+
+
0 : padding-top
+
+
0.5in (constrained) : height (constrained by max-height)
+
0 : padding-bottom
+
+
0 : border-bottom-width
+
+
auto (to solve): margin-bottom
+
1in : bottom
=============
3in : height of containing block
So, here, margin-top must use 0.25in and margin-bottom must use 0.25in
so that the equation remains balanced.
So, here, margin-top must use 0.25in and margin-bottom must use 0.25in
so that the equation remains balanced.
*/
</style>
</head>