Automatic update from web-platform-tests css/selectors: Automate a part of legacy selectors tests (180 to 183, d*) reference/br-this-line-green-color.xht is renamed to br4em-this-line-green-color.xht, and br-this-line-green-color.xht is added for 180a. Change-Id: I684ae5d7574cf9b2a8293b1bd467ea77d4882858 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7952980 Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> SLSA-Policy-Verified: SLSA Policy Verification Service <devtools-gerritcodereview-exitgate@google.com> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1657151} -- wpt-commits: 0e3ae676de364b42c0e8ed277246bcdf8668c5b1 wpt-pr: 61088
29 lines
889 B
XML
29 lines
889 B
XML
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Namespaces and \: in selectors</title>
|
|
<style type="text/css"><![CDATA[
|
|
p { color: green; }
|
|
foo\:bar { background: red; color: yellow; }
|
|
]]></style>
|
|
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
|
<link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"/> <!-- bogus link to make sure it gets found -->
|
|
<meta name="flags" content=" namespace" />
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="common.js"></script>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
<foo:bar xmlns:foo="http://www.example.org/" id="t1">
|
|
This text should be green.
|
|
</foo:bar>
|
|
</p>
|
|
<script><![CDATA[
|
|
test(function() {
|
|
assert_color('t1', GREEN);
|
|
assert_not_background_color('t1', RED);
|
|
}, 'Namespaces and \\: in selectors');
|
|
]]></script>
|
|
</body>
|
|
</html>
|