mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision 2baa72daab8bf37e3e910a9fd311a1eaa5b0f4a8
This commit is contained in:
parent
662c00a810
commit
df03062d62
10934 changed files with 428309 additions and 254265 deletions
|
@ -13,7 +13,7 @@
|
|||
<body>
|
||||
|
||||
<h1>CSS Custom Properties Level 1 CR Test Suite</h1>
|
||||
<h2>Using Cascading Variables: the var() notation (78 tests)</h2>
|
||||
<h2>Using Cascading Variables: the var() notation (79 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column"></col>
|
||||
<col id="refs-column"></col>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s3">+</a>
|
||||
<a href="http://www.w3.org/TR/css-variables-1/#using-variables">3 Using Cascading Variables: the var() notation</a></th></tr>
|
||||
<!-- 73 tests -->
|
||||
<!-- 74 tests -->
|
||||
<tr id="css-vars-custom-property-case-sensitive-001-3" class="primary">
|
||||
<td><strong>
|
||||
<a href="css-vars-custom-property-case-sensitive-001.xht">css-vars-custom-property-case-sensitive-001</a></strong></td>
|
||||
|
@ -358,6 +358,14 @@
|
|||
<td>Test declaring a non-custom property containing a variable reference with fallback is an implicitly closed URL due to EOF.
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="variable-reference-40-3" class="primary">
|
||||
<td><strong>
|
||||
<a href="variable-reference-40.xht">variable-reference-40</a></strong></td>
|
||||
<td><a href="reference/variable-reference-40-ref.xht">=</a> </td>
|
||||
<td></td>
|
||||
<td>Test that a variable reference within a gradient value in a border-image shorthand parses correctly.
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="variable-supports-01-3" class="primary">
|
||||
<td><strong>
|
||||
<a href="variable-supports-01.xht">variable-supports-01</a></strong></td>
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
--><html xmlns="http://www.w3.org/1999/xhtml"><head><title>CSS Reftest Reference</title>
|
||||
<link href="mailto:cam@mcc.id.au" rel="author" title="Cameron McCormack" />
|
||||
<style>
|
||||
p {
|
||||
border: 2px solid transparent;
|
||||
border-image: linear-gradient(to right, orange, blue) 1 1;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>This paragraph must have an orange/blue gradient border.</p>
|
||||
</body></html>
|
|
@ -872,6 +872,14 @@
|
|||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="variable-reference-40" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="Test that a variable reference within a gradient value in a border-image shorthand parses correctly.">
|
||||
<a href="variable-reference-40.xht">variable-reference-40</a></td>
|
||||
<td><a href="reference/variable-reference-40-ref.xht">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="variable-supports-01" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="Test a passing non-custom property declaration in an @supports rule where the property value contains a variable reference and no white space tokens.">
|
||||
|
|
|
@ -105,6 +105,7 @@ variable-reference-36.xht == reference/variable-reference-36-ref.xht
|
|||
variable-reference-37.xht == reference/variable-reference-37-ref.xht
|
||||
variable-reference-38.xht == reference/variable-declaration-59-ref.xht
|
||||
variable-reference-39.xht == support/color-green-ref.xht
|
||||
variable-reference-40.xht == reference/variable-reference-40-ref.xht
|
||||
variable-supports-01.xht == support/color-green-ref.xht
|
||||
variable-supports-02.xht == support/color-green-ref.xht
|
||||
variable-supports-03.xht == support/color-green-ref.xht
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<tbody id="s3">
|
||||
<tr><th><a href="chapter-3.xht">Chapter 3 -
|
||||
Using Cascading Variables: the var() notation</a></th>
|
||||
<td>(78 Tests)</td></tr>
|
||||
<td>(79 Tests)</td></tr>
|
||||
</tbody>
|
||||
<tbody id="s4">
|
||||
<tr><th><a href="chapter-4.xht">Chapter 4 -
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
--><html xmlns="http://www.w3.org/1999/xhtml"><head><title>CSS Test: Test that a variable reference within a gradient value in a border-image shorthand parses correctly.</title>
|
||||
<link href="mailto:cam@mcc.id.au" rel="author" title="Cameron McCormack" />
|
||||
<link href="http://www.w3.org/TR/css-variables-1/#using-variables" rel="help" />
|
||||
<link href="reference/variable-reference-40-ref.xht" rel="match" />
|
||||
<style>
|
||||
p {
|
||||
--orange: orange;
|
||||
border: 2px solid transparent;
|
||||
border-image: linear-gradient(to right, var(--orange), blue) 1 1;
|
||||
}
|
||||
</style>
|
||||
</head><body><p>This paragraph must have an orange/blue gradient border.</p>
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue