mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: Font family unknown character glyph matching</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop">
|
||||
<link rel="match" href="reference/font-family-rule-005-ref.htm">
|
||||
<meta name="flags" content="dom">
|
||||
<meta name="assert" content="Glyphs that are missing render as the missing glyph character and still report their initial character location, not the missing glyph location.">
|
||||
<style type="text/css">
|
||||
#test
|
||||
{
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is the word "PASS" below.</p>
|
||||
<div id="test"></div>
|
||||
<script type="text/javascript">
|
||||
var pass = document.getElementById("test").textContent.charCodeAt(0) === 127;
|
||||
document.body.appendChild(document.createTextNode(pass ? "PASS" : "FAIL"));
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue