mirror of
https://github.com/servo/servo
synced 2026-04-29 02:47:55 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -26,15 +26,15 @@
|
||||
body
|
||||
{
|
||||
background: white url("support/ruler-v-100px-200px-300px.png") no-repeat;
|
||||
margin: 34px 8px 8px 55px;
|
||||
/*
|
||||
34px : body's top margin collapsing with p's top margin: max(34px, 16px)
|
||||
+ 20px : p's 1st line box height
|
||||
margin: 34px 8px 8px 55px;
|
||||
/*
|
||||
34px : body's top margin collapsing with p's top margin: max(34px, 16px)
|
||||
+ 20px : p's 1st line box height
|
||||
+ 20px : p's 2nd line box height
|
||||
+ 16px : p's bottom margin
|
||||
+ 16px : p's bottom margin
|
||||
+ 10px : height of topmost green bar
|
||||
======
|
||||
100px
|
||||
100px
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
clear: both;
|
||||
margin-top: 100px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
In this test, div#element-without-clearance
|
||||
is what the spec refers to as
|
||||
@@ -82,7 +82,7 @@
|
||||
<div class="vertical-gap-separator"></div>
|
||||
|
||||
<!--
|
||||
div#element-without-clearance's margin-top should collapse
|
||||
div#element-without-clearance's margin-top should collapse
|
||||
with #parent-block's margin-bottom: max(100px, 100px) = 100px
|
||||
-->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user