mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
22 lines
981 B
HTML
22 lines
981 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<title>CSS Test: Attribute selector matching value in hyphenated list</title>
|
|
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#attribute-selectors">
|
|
<link rel="match" href="reference/attribute-value-selector-001-ref.htm">
|
|
<meta name="flags" content="">
|
|
<meta name="assert" content="Selector matches attributes with specific value in a hyphen-separated list.">
|
|
<style type="text/css">
|
|
[lang|=en]
|
|
{
|
|
color: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if the first line of "Filler Text" below is black and the second one is green.</p>
|
|
<div lang="ja-jp">Filler Text</div>
|
|
<div lang="en-us">Filler Text</div>
|
|
</body>
|
|
</html> |