mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
p
|
||||
{
|
||||
line-height: 1.25;
|
||||
margin: 1em 0;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
strong {line-height: 1;}
|
||||
|
||||
|
||||
div
|
||||
{
|
||||
background-color: green;
|
||||
@@ -24,11 +24,11 @@
|
||||
/*
|
||||
The green square appears 12px below the p margin box:
|
||||
2em + 2em - (16px + 20px + 16px) + 16px
|
||||
max(margin-bottom of p, margin-top of div)
|
||||
max(16px, margin-top of div) == 16px + 12px;
|
||||
max(margin-bottom of p, margin-top of div)
|
||||
max(16px, margin-top of div) == 16px + 12px;
|
||||
therefore, margin-top of div == 16px + 12px
|
||||
*/
|
||||
width: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
<p>Test passes if there is <strong>no red</strong>.</p>
|
||||
|
||||
<div></div>
|
||||
<div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user