mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6
This commit is contained in:
parent
40c52d55e2
commit
349c75536d
7391 changed files with 304135 additions and 153491 deletions
|
@ -0,0 +1,42 @@
|
|||
<!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: text-transform - capitalize - basic cases</title>
|
||||
<style type="text/css">
|
||||
@page { font: italic 8pt sans-serif; color: gray;
|
||||
margin: 7%;
|
||||
counter-increment: page;
|
||||
@top-left { content: "CSS Text Module Level 3 CR Test Suite"; }
|
||||
@top-right { content: "Test text-transform-capitalize-032"; }
|
||||
@bottom-right { content: counter(page); }
|
||||
}
|
||||
</style>
|
||||
<link rel="author" title="Satoshi Umehara" href="mailto:umehara@est.co.jp" />
|
||||
<link rel="help" title="CSS Text Level 3: 3.1. Transforming Text: the ‘text-transform’ property" href="http://www.w3.org/TR/css-text-3/#text-transform" />
|
||||
<link rel="match" href="reference/text-transform-capitalize-032-ref.xht" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The UA should put all words in titlecase when text-transform is set to capitalize." />
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
.test span {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
/* the CSS below is not part of the test */
|
||||
span {
|
||||
color: Blue;
|
||||
}
|
||||
]]>
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
Test passes if the first sentence matches the second one.
|
||||
</p>
|
||||
<div class="test">
|
||||
<span>All words should be put in titlecase.</span>
|
||||
</div>
|
||||
<div>
|
||||
<span>All Words Should Be Put In Titlecase.</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue