mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-transform uppercase German sharp S and selection reference file</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<style>
|
||||
#target {
|
||||
color: white;
|
||||
background: red;
|
||||
}
|
||||
#target::selection {
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>The test passes if you see no red below (when you select the text below you can select the whole "SS" text).</p>
|
||||
|
||||
<span id="target" lang="de">SS</span>
|
||||
|
||||
<script>
|
||||
window.getSelection().setBaseAndExtent(target, 0, target, 1);
|
||||
</script>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-transform uppercase German sharp S and selection</title>
|
||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text/#propdef-text-transform">
|
||||
<link rel="match" href="reference/text-transform-upperlower-105-ref.html">
|
||||
<meta name="assert" content="text-transform: uppercase will uppercase the German sharp S as SS, and the whole 2 characters width is selectable.">
|
||||
<style>
|
||||
#target {
|
||||
text-transform: uppercase;
|
||||
color: white;
|
||||
background: red;
|
||||
}
|
||||
#target::selection {
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>The test passes if you see no red below (when you select the text below you can select the whole "SS" text).</p>
|
||||
|
||||
<span id="target" lang="de">ß</span>
|
||||
|
||||
<script>
|
||||
window.getSelection().setBaseAndExtent(target, 0, target, 1);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue