mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
7c5611b8ca
--HG-- extra : rebase_source : 86afd6adeba2231c526857a19e27e291296f60d1
179 lines
6.0 KiB
HTML
179 lines
6.0 KiB
HTML
<!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>
|
||
<link rel=stylesheet href="228856-2-style-1.css">
|
||
|
||
<!-- 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=" |