mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
Update web-platform-tests to revision cf926057109b153af54214d52a2b3d746269d434
This commit is contained in:
parent
7e74f73301
commit
9309f626be
90 changed files with 2262 additions and 1287 deletions
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>shaping: Arabic diacritics on NBSP - reference</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: ArabicTest;
|
||||
src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2');
|
||||
}
|
||||
.test {
|
||||
font: 120px/2 ArabicTest, sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="instructions">Test passes if the two lines are rendered identically,
|
||||
with the superscript alef (ا) directly above the raised hamza (ء).</p>
|
||||
<!-- Order of lines is reversed from the testcase; if they render identically
|
||||
they should still match perfectly. -->
|
||||
<div class=test>a<span dir=rtl> ٰٔ</span>z</div>
|
||||
<div class=test>a<span dir=rtl> ٰٔ</span>z</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>shaping: Arabic diacritics on NBSP - reference</title>
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: ArabicTest;
|
||||
src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2');
|
||||
}
|
||||
.test {
|
||||
font: 120px/2 ArabicTest, sans-serif;
|
||||
}
|
||||
.test span {
|
||||
padding: .1em .05em 0;
|
||||
background: black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="instructions">Test passes if the Arabic diacritics are entirely hidden by the black boxes.</p>
|
||||
<!-- Diacritics removed from the test lines, as they should have been completely obscured
|
||||
by the black background anyhow. -->
|
||||
<div class=test>a<span dir=rtl> </span>z</div>
|
||||
<div class=test>a<span dir=rtl> </span>z</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>shaping: Arabic diacritics on NBSP</title>
|
||||
<meta name="assert" content="Shaping must work for diacritics rendered on NBSP as base">
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<link rel="help" href="https://www.unicode.org/versions/Unicode13.0.0/ch02.pdf">
|
||||
<link rel="help" href="https://www.unicode.org/reports/tr53/">
|
||||
<link rel="match" href="reference/shaping-arabic-diacritics-001-ref.html">
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: ArabicTest;
|
||||
src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2');
|
||||
}
|
||||
.test {
|
||||
font: 120px/2 ArabicTest, sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="instructions">Test passes if the two lines are rendered identically,
|
||||
with the superscript alef (ا) directly above the raised hamza (ء).</p>
|
||||
<!-- The Arabic characters here are ARABIC HAMZA ABOVE and ARABIC LETTER
|
||||
SUPERSCRIPT ALEF, and according to UTR53 should always be sorted
|
||||
as <hamza,alef> for rendering regardless of underlying order. -->
|
||||
<div class=test>a<span dir=rtl> ٰٔ</span>z</div>
|
||||
<div class=test>a<span dir=rtl> ٰٔ</span>z</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>shaping: Arabic diacritics on NBSP</title>
|
||||
<meta name="assert" content="Shaping must work for diacritics rendered on NBSP as base">
|
||||
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
|
||||
<link rel="help" href="https://www.unicode.org/versions/Unicode13.0.0/ch02.pdf">
|
||||
<link rel="help" href="https://www.unicode.org/reports/tr53/">
|
||||
<link rel="match" href="reference/shaping-arabic-diacritics-002-ref.html">
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: ArabicTest;
|
||||
src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2');
|
||||
}
|
||||
.test {
|
||||
font: 120px/2 ArabicTest, sans-serif;
|
||||
}
|
||||
.test span {
|
||||
padding: .1em .05em 0;
|
||||
background: black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="instructions">Test passes if the Arabic diacritics are entirely hidden by the black boxes.</p>
|
||||
<!-- The Arabic characters here are ARABIC HAMZA ABOVE and ARABIC LETTER
|
||||
SUPERSCRIPT ALEF, and (using the NotoNaskhArabic font) they should both
|
||||
be entirely within the (padded) width of the NBSP, if they are properly
|
||||
positioned (regardless of their order). -->
|
||||
<div class=test>a<span dir=rtl> ٰٔ</span>z</div>
|
||||
<div class=test>a<span dir=rtl> ٰٔ</span>z</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue