mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision 8732b4f9c5d7066162842287301516187caeed9c
This commit is contained in:
parent
8112539838
commit
3fc5d9a7b7
86 changed files with 735 additions and 451 deletions
|
@ -0,0 +1,43 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Test: ::first-letter digraph recognition</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<link rel="match" href="reference/first-letter-digraph-ref.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/selectors-3/#first-letter">
|
||||
<meta name="assert" content="Test checks that ::first-letter respects the Dutch 'ij' digraph.">
|
||||
<style>
|
||||
div {
|
||||
font-size: 32px;
|
||||
}
|
||||
div p {
|
||||
margin: 0;
|
||||
color: lightgray;
|
||||
}
|
||||
div p::first-letter {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if both "I" and "J" are green in these examples:</p>
|
||||
<div lang="nl">
|
||||
<p>IJsselmeer</p>
|
||||
<p>ijsselmeer</p>
|
||||
<p>“IJsselmeer”</p>
|
||||
<p>Ijsselmeer</p> <!-- mixed case within the digraph is unlikely in practice -->
|
||||
</div>
|
||||
<div lang="en">
|
||||
<p lang="nl-NL">IJsselmeer</p> <!-- lang tag with country code should also work -->
|
||||
<p lang="nl-SR">IJsselmeer</p>
|
||||
</div>
|
||||
<p>But only "I" should be green in these examples:</p>
|
||||
<div lang="en">
|
||||
<p>IJsselmeer</p>
|
||||
<p>ijsselmeer</p>
|
||||
<p>“IJsselmeer”</p>
|
||||
<p>Ijsselmeer</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,40 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference: ::first-letter digraph recognition</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<style>
|
||||
div {
|
||||
font-size: 32px;
|
||||
}
|
||||
div p {
|
||||
margin: 0;
|
||||
color: lightgray;
|
||||
}
|
||||
div p span {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if both "I" and "J" are green in these examples:</p>
|
||||
<div lang="nl">
|
||||
<p><span>IJ</span>sselmeer</p>
|
||||
<p><span>ij</span>sselmeer</p>
|
||||
<p><span>“IJ</span>sselmeer”</p>
|
||||
<p><span>Ij</span>sselmeer</p>
|
||||
</div>
|
||||
<div lang="en">
|
||||
<p lang="nl-NL"><span>IJ</span>sselmeer</p>
|
||||
<p lang="nl-SR"><span>IJ</span>sselmeer</p>
|
||||
</div>
|
||||
<p>But only "I" should be green in these examples:</p>
|
||||
<div lang="en">
|
||||
<p><span>I</span>Jsselmeer</p>
|
||||
<p><span>i</span>jsselmeer</p>
|
||||
<p><span>“I</span>Jsselmeer”</p>
|
||||
<p><span>I</span>jsselmeer</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue