mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update CSS tests to revision 939546644b4d333218fd9c2c0f68c60752ff1e95
This commit is contained in:
parent
b26fac3f78
commit
0ad6e78b23
435 changed files with 7534 additions and 3290 deletions
|
@ -3250,7 +3250,7 @@
|
|||
<tr id="font-size-adjust-007-3.6" class="primary ahem invalid">
|
||||
<td><strong>
|
||||
<a href="font-size-adjust-007.htm">font-size-adjust-007</a></strong></td>
|
||||
<td><a href="reference/ref-if-there-is-no-red.htm">=</a> </td>
|
||||
<td><a href="reference/ref-filled-green-100px-square.htm">=</a> </td>
|
||||
<td><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
|
||||
<td>font-size-adjust - 'auto' value is ignored
|
||||
<ul class="assert">
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
div#zero-value-test
|
||||
{
|
||||
color: red;
|
||||
font: 6.25em/1 Ahem; /* computes to 100px/100px */
|
||||
font: 100px/1 Ahem; /* computes to 100px/100px */
|
||||
font-size-adjust: 0;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
div#test-percent-value
|
||||
{
|
||||
color: green;
|
||||
font: 6.25em/1 Ahem; /* computes to 100px/100px */
|
||||
font: 100px/1 Ahem; /* computes to 100px/100px */
|
||||
font-size-adjust: 50%;
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-size-adjust-prop" title="3.6 Relative sizing: the font-size-adjust property">
|
||||
<link rel="bookmark" href="https://lists.w3.org/Archives/Public/www-style/2015Mar/0282.html" title="[css-fonts] What does font-size-adjust for '0' look like?">
|
||||
<link rel="match" href="reference/ref-if-there-is-no-red.htm">
|
||||
<link rel="match" href="reference/ref-filled-green-100px-square.htm">
|
||||
|
||||
<meta content="ahem invalid" name="flags">
|
||||
<meta content="This test checks that 'auto' does not apply to font-size-adjust and therefore must be ignored." name="assert">
|
||||
|
@ -17,7 +17,7 @@
|
|||
div#test-auto-value
|
||||
{
|
||||
color: green;
|
||||
font: 6.25em/1 Ahem; /* computes to 100px/100px */
|
||||
font: 100px/1 Ahem; /* computes to 100px/100px */
|
||||
font-size-adjust: auto;
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
div#test-negative-value
|
||||
{
|
||||
color: green;
|
||||
font: 6.25em/1 Ahem; /* computes to 100px/100px */
|
||||
font: 100px/1 Ahem; /* computes to 100px/100px */
|
||||
font-size-adjust: -0.5;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<title>CSS Reftest Reference</title>
|
||||
|
||||
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
||||
|
||||
<style type="text/css">
|
||||
div
|
||||
{
|
||||
background-color: green;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1012,7 +1012,7 @@
|
|||
<tr>
|
||||
<td rowspan="1" title="font-size-adjust - 'auto' value is ignored">
|
||||
<a href="font-size-adjust-007.htm">font-size-adjust-007</a></td>
|
||||
<td><a href="reference/ref-if-there-is-no-red.htm">=</a> </td>
|
||||
<td><a href="reference/ref-filled-green-100px-square.htm">=</a> </td>
|
||||
<td rowspan="1"><abbr class="ahem" title="Requires Ahem font">Ahem</abbr><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
|
@ -122,7 +122,7 @@ font-size-122.htm == reference/font-size-122-ref.htm
|
|||
font-size-123.htm == reference/font-size-123-ref.htm
|
||||
font-size-adjust-005.htm == reference/ref-if-there-is-no-red.htm
|
||||
font-size-adjust-006.htm == reference/ref-filled-green-100px-square.htm
|
||||
font-size-adjust-007.htm == reference/ref-if-there-is-no-red.htm
|
||||
font-size-adjust-007.htm == reference/ref-filled-green-100px-square.htm
|
||||
font-size-adjust-008.htm == reference/ref-filled-green-100px-square.htm
|
||||
font-size-applies-to-016.htm == reference/no-red-on-blank-page-ref.htm
|
||||
font-style-applies-to-001.htm == reference/font-style-applies-to-001-ref.htm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue