2008-10-23 20:29:24 +04:00
|
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|
|
|
|
"http://www.w3.org/TR/html4/strict.dtd">
|
|
|
|
|
<html><head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
|
<!-- This file contains embedded NULs (U+0000). Take care when editing to
|
|
|
|
|
preserve them. There are no other control characters or characters
|
|
|
|
|
outside 7-bit ASCII.
|
|
|
|
|
|
|
|
|
|
This test involves constructs with undefined behavior in CSS 2.1.
|
|
|
|
|
However, unlike 228856-1, the author is confident that future
|
|
|
|
|
specification of the behavior of NULs (whether literal or written with
|
|
|
|
|
\-escapes) will not contradict the behavior expected by this test. -->
|
|
|
|
|
|
|
|
|
|
<title>Selectors and properties test case for bug 228856</title>
|
2010-05-27 17:08:19 +04:00
|
|
|
|
<link rel=stylesheet href="228856-2-style-1.css">
|
2008-10-23 20:29:24 +04:00
|
|
|
|
|
|
|
|
|
<!-- None of these rules should be effective on any medium. -->
|
|
|
|
|
<style> @\000000media all { .m1 { color: red; } } </style>
|
|
|
|
|
<style> @me\000000dia all { .m2 { color: red; } } </style>
|
|
|
|
|
<style> @media\000000 all { .m3 { color: red; } } </style>
|
|
|
|
|
<style> @media \000000all { .m4 { color: red; } } </style>
|
|
|
|
|
<style> @media al\000000l { .m5 { color: red; } } </style>
|
|
|
|
|
<style> @media all\000000 { .m6 { color: red; } } </style>
|
|
|
|
|
|
|
|
|
|
</head><body>
|
|
|
|
|
<p>red=FAIL green=PASS</p>
|
|
|
|
|
|
|
|
|
|
<table><tr>
|
|
|
|
|
<td>
|
|
|
|
|
<p>ID selectors</p>
|
|
|
|
|
<div id="�i1">#\0id / #&#0;id</div>
|
|
|
|
|
<div id="i�1">#\0id / #i&#0;d</div>
|
|
|
|
|
<div id="i1�">#\0id / #id&#0;</div>
|
|
|
|
|
<div id=" |