2008-10-23 09:29:24 -07: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.
|
|
|
|
|
|
2013-06-26 15:17:14 -07:00
|
|
|
|
This tests behavior specified in CSS Syntax Level 3,
|
|
|
|
|
as of the Editor's Draft 19 June 2013:
|
|
|
|
|
http://dev.w3.org/csswg/css-syntax/ -->
|
2008-10-23 09:29:24 -07:00
|
|
|
|
|
|
|
|
|
<title>Selectors and properties test case for bug 228856</title>
|
2010-05-27 06:08:19 -07:00
|
|
|
|
<link rel=stylesheet href="228856-2-style-1.css">
|
2008-10-23 09:29:24 -07: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>
|
2013-06-26 15:17:14 -07:00
|
|
|
|
<style> @media\000000 all { .m3 { color: red; } } </style>
|
2008-10-23 09:29:24 -07:00
|
|
|
|
<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>
|
|
|
|
|
<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=" |