mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Update CSS tests to revision 939546644b4d333218fd9c2c0f68c60752ff1e95
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<body>
|
||||
|
||||
<h1>CSS Text Decoration Module Level 3 CR Test Suite</h1>
|
||||
<h2>Emphasis Marks (8 tests)</h2>
|
||||
<h2>Emphasis Marks (9 tests)</h2>
|
||||
<table width="100%">
|
||||
<col id="test-column">
|
||||
<col id="refs-column">
|
||||
@@ -64,7 +64,18 @@
|
||||
<!-- 0 tests -->
|
||||
</tbody>
|
||||
<tbody id="s3.1.#text-emphasis-style">
|
||||
<!-- 8 tests -->
|
||||
<!-- 9 tests -->
|
||||
<tr id="text-emphasis-style-001-3.1.#text-emphasis-style" class="primary">
|
||||
<td><strong>
|
||||
<a href="text-emphasis-style-001.htm">text-emphasis-style-001</a></strong></td>
|
||||
<td><a href="reference/text-emphasis-style-001-ref.htm">=</a> </td>
|
||||
<td></td>
|
||||
<td>CSS Text Decoration Test - text-emphasis
|
||||
<ul class="assert">
|
||||
<li>Test checks that 'text-emphasis-style: none' shows no emphasis marks.</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="text-emphasis-style-002-3.1.#text-emphasis-style" class="primary">
|
||||
<td><strong>
|
||||
<a href="text-emphasis-style-002.htm">text-emphasis-style-002</a></strong></td>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference File</title>
|
||||
<link href="mailto:tak.koroki@gmail.com" rel="author" title="Takanori Koroki">
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is no dots avobe the text of "Text sample".</p>
|
||||
<p>Text sample</p>
|
||||
|
||||
|
||||
</body></html>
|
||||
@@ -72,6 +72,14 @@
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="text-emphasis-style-001" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="CSS Text Decoration Test - text-emphasis">
|
||||
<a href="text-emphasis-style-001.htm">text-emphasis-style-001</a></td>
|
||||
<td><a href="reference/text-emphasis-style-001-ref.htm">=</a> </td>
|
||||
<td rowspan="1"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody id="text-emphasis-style-002" class="">
|
||||
<tr>
|
||||
<td rowspan="1" title="CSS Reference File">
|
||||
|
||||
@@ -5,6 +5,7 @@ text-decoration-line-011.htm == reference/text-decoration-line-011-ref.htm
|
||||
text-decoration-line-012.htm == reference/text-decoration-line-012-ref.htm
|
||||
text-decoration-line-013.htm == reference/text-decoration-line-013-ref.htm
|
||||
text-decoration-propagation-01.htm == reference/text-decoration-propagation-01-ref.htm
|
||||
text-emphasis-style-001.htm == reference/text-emphasis-style-001-ref.htm
|
||||
text-emphasis-style-002.htm == reference/text-emphasis-style-002-ref.htm
|
||||
text-emphasis-style-006.htm == reference/text-emphasis-style-006.htm
|
||||
text-emphasis-style-007.htm == reference/text-emphasis-style-007.htm
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Decoration Test - text-emphasis</title>
|
||||
<link href="mailto:tak.koroki@gmail.com" rel="author" title="Koroki Takanori">
|
||||
<link href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style" rel="help" title="3.1. Emphasis Mark Style: the 'text-emphasis-style' property">
|
||||
<link href="reference/text-emphasis-style-001-ref.htm" rel="match">
|
||||
<meta content="Test checks that 'text-emphasis-style: none' shows no emphasis marks." name="assert">
|
||||
<style>
|
||||
|
||||
span {
|
||||
/* This style definition will be overwritten by "text-emphasis-style: none;"
|
||||
If the dots appears above the text as emphasis marks, it means "text-emphasis-style: none" is not working. */
|
||||
text-emphasis-style: dot;
|
||||
}
|
||||
|
||||
#test > .test {
|
||||
text-emphasis-style: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is no dots above the text of "Text sample".</p>
|
||||
<p id="test">
|
||||
<span class="test">Text</span> <span class="test">sample</span>
|
||||
</p>
|
||||
|
||||
|
||||
</body></html>
|
||||
@@ -32,7 +32,7 @@
|
||||
<tbody id="s3">
|
||||
<tr><th><a href="chapter-3.htm">Chapter 3 -
|
||||
Emphasis Marks</a></th>
|
||||
<td>(8 Tests)</td></tr>
|
||||
<td>(9 Tests)</td></tr>
|
||||
</tbody>
|
||||
<tbody id="s4">
|
||||
<tr><th><a href="chapter-4.htm">Chapter 4 -
|
||||
|
||||
Reference in New Issue
Block a user