mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +01:00
83 lines
No EOL
3.3 KiB
HTML
83 lines
No EOL
3.3 KiB
HTML
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>Syntax and Parsing - CSS Style Attributes Level 1 CR Test Suite</title>
|
|
<style type="text/css">
|
|
@import "http://www.w3.org/StyleSheets/TR/base.css";
|
|
@import "../indices.css";
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>CSS Style Attributes Level 1 CR Test Suite</h1>
|
|
<h2>Syntax and Parsing (4 tests)</h2>
|
|
<table width="100%">
|
|
<col id="test-column">
|
|
<col id="refs-column">
|
|
<col id="flags-column">
|
|
<col id="info-column">
|
|
<thead>
|
|
<tr>
|
|
<th>Test</th>
|
|
<th><abbr title="Rendering References">Refs</abbr></th>
|
|
<th>Flags</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="s3">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s3">+</a>
|
|
<a href="http://www.w3.org/TR/css-style-attr/#syntax">3 Syntax and Parsing</a></th></tr>
|
|
<!-- 4 tests -->
|
|
<tr id="style-attr-braces-001-3" class="primary invalid">
|
|
<td><strong>
|
|
<a href="style-attr-braces-001.htm">style-attr-braces-001</a></strong></td>
|
|
<td><a href="reference/ref-green-on-green.htm">=</a> </td>
|
|
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
|
|
<td>Stray closing brace in style attribute
|
|
<ul class="assert">
|
|
<li>A mismatched close brace in a style attribute is treated as an invalid token: it causes that declaration to be dropped, but does not invalidate the whole style rule and does not terminate the style attribute's style data.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="style-attr-braces-002-3" class="primary invalid">
|
|
<td><strong>
|
|
<a href="style-attr-braces-002.htm">style-attr-braces-002</a></strong></td>
|
|
<td><a href="reference/ref-green-on-green.htm">=</a> </td>
|
|
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
|
|
<td>Blocks in style attributes
|
|
<ul class="assert">
|
|
<li>Style attribute values are the content of a declaration block: the braces must not be included and are therefore invalid.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="style-attr-braces-002-quirks-3" class="primary invalid">
|
|
<td><strong>
|
|
<a href="style-attr-braces-002-quirks.htm">style-attr-braces-002-quirks</a></strong></td>
|
|
<td><a href="reference/ref-green-on-green.htm">=</a> </td>
|
|
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
|
|
<td>Blocks in style attributes in quirks mode
|
|
<ul class="assert">
|
|
<li>Style attribute values are the content of a declaration block: the braces must not be included and are therefore invalid.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="style-attr-braces-003-3" class="primary invalid">
|
|
<td><strong>
|
|
<a href="style-attr-braces-003.htm">style-attr-braces-003</a></strong></td>
|
|
<td><a href="reference/ref-green-on-green.htm">=</a> </td>
|
|
<td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td>
|
|
<td>Pairing braces in style attributes
|
|
<ul class="assert">
|
|
<li>Braces in a style attribute are treated as an invalid tokens, and must be paired when dropping declarations.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html> |