mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +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
29
tests/wpt/css-tests/css-fonts-3_dev/html/font-weight-016.htm
Normal file
29
tests/wpt/css-tests/css-fonts-3_dev/html/font-weight-016.htm
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Test: CSS: font-weight 500/600 defaulting to normal/bold</title>
|
||||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
|
||||
<link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-04-08 -->
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/ahem/005.xml" type="application/xhtml+xml">
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-boldness">
|
||||
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-weight-prop">
|
||||
|
||||
<meta name="flags" content="ahem">
|
||||
<style type="text/css">
|
||||
.overlap { height: 5em; width: 7.5em; background: white; position: absolute; z-index: 1; }
|
||||
.a { font: 500 2.5em/1em Ahem; color: red; }
|
||||
.b { font: 600 2.5em/1em Ahem; color: green; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Test passes if there is a short and narrow vertical line of green.</p>
|
||||
|
||||
<div> <!-- work around for bug 87712 -->
|
||||
<div class="overlap"></div>
|
||||
<div class="a">500</div>
|
||||
<div class="b">600</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue