Files
servo/tests/wpt/css-tests/css21_dev/xhtml1/uri-005.xht

20 lines
991 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: URL function with escaped special chars - single quote</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#uri" />
<meta name="flags" content="image" />
<meta name="assert" content="Single quote characters appearing in an unquoted URI need to be escaped with a backslash so that the resulting URI value is a URI token." />
<style type="text/css">
div
{
background: red url(support/\'green\ block.png);
}
</style>
</head>
<body>
<p>Test passes if the box below is green.</p>
<div>Filler Text</div>
</body>
</html>