Update web-platform-tests to revision ea852ede3b4e0632fd453ed520b26b22692c2d92

This commit is contained in:
WPT Sync Bot 2019-06-08 10:25:33 +00:00
parent 2ab23c79a7
commit 92fa6ede85
109 changed files with 2169 additions and 873 deletions

View file

@ -1,20 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<title>math-script-level and font-max-size (reference)</title>
<title>math-script-level (reference)</title>
<meta charset="utf-8">
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 100px/1 Ahem;
font: 12px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 355px.</p>
<p>Test passes if you see a square of side 12px.</p>
<div class="container">
<div style="font-size: 355px">X</div>
<div>
<div>X</div>
</div>
</div>
</body>
</html>

View file

@ -1,23 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>math-script-level and font-max-size</title>
<title>math-script-level clamping</title>
<meta charset="utf-8">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3746">
<meta name="assert" content="The clamping of font-size implied by font-min-size and font-max-size must apply after the change due to math-script-level.">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3739">
<meta name="assert" content="Clamping due to browser's min font size only affects the used size.">
<link rel="match" href="math-script-level-font-size-clamping-001.tentative-ref.html">
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 100px/1 Ahem;
font: 12px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 355px.</p>
<div class="container" style="font-size: 500px">
<div style="math-script-level: add(1); font-max-size: 480px">X</div>
<p>Test passes if you see a square of side 12px.</p>
<div class="container"><!-- Initial size is 12px. -->
<div style="math-script-level: add(8);"><!-- Size is 12*.71^8 = 0.7749042374949131 < 1px. -->
<div style="math-script-level: add(-8);">X</div><!-- back to 12px. -->
</div>
</div>
</body>
</html>

View file

@ -1,20 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>math-script-level and font-min-size (reference)</title>
<meta charset="utf-8">
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 100px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 520px.</p>
<div class="container">
<div style="font-size: 520px">X</div>
</div>
</body>
</html>

View file

@ -1,23 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>math-script-level ; font-min-size</title>
<meta charset="utf-8">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3746">
<meta name="assert" content="The clamping of font-size implied by font-min-size and font-max-size must apply after the change due to math-script-level.">
<link rel="match" href="math-script-level-font-size-clamping-002.tentative-ref.html">
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 100px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 520px.</p>
<div class="container" style="font-size: 500px">
<div style="math-script-level: add(1); font-min-size: 520px;">X</div>
</div>
</body>
</html>

View file

@ -1,24 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>math-script-level and font-max-size (reference)</title>
<meta charset="utf-8">
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 71px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 71px.</p>
<div class="container">
<div>
<div>
<div>X</div>
</div>
</div>
</div>
</body>
</html>

View file

@ -1,27 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>math-script-level and font-max-size</title>
<meta charset="utf-8">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3739">
<meta name="assert" content="font-max-size only affects the used size.">
<link rel="match" href="math-script-level-font-size-clamping-003.tentative-ref.html">
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 71px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 71px.</p>
<div class="container"><!-- Initial size is 71px. -->
<div style="math-script-level: add(-1);"><!-- Size is 71/.71 = 100px. -->
<div style="font-max-size: 90px"><!-- This only affects used size. -->
<div style="math-script-level: add(1);">X</div><!-- back to 71px. -->
</div>
</div>
</div>
</body>
</html>

View file

@ -1,24 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>math-script-level and font-min-size (reference)</title>
<meta charset="utf-8">
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 100px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 100px.</p>
<div class="container">
<div>
<div>
<div>X</div>
</div>
</div>
</div>
</body>
</html>

View file

@ -1,27 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>math-script-level and font-min-size</title>
<meta charset="utf-8">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/3739">
<meta name="assert" content="font-min-size only affects the used size.">
<link rel="match" href="math-script-level-font-size-clamping-004.tentative-ref.html">
<style>
.container {
/* Ahem font does not have a MATH table so the font-size scale factor
is always 0.71^{computed - inherited math script level} */
font: 100px/1 Ahem;
}
</style>
</head>
<body>
<p>Test passes if you see a square of side 100px.</p>
<div class="container"><!-- Initial size is 100px. -->
<div style="math-script-level: add(1);"><!-- Size is 100*.71 = 71px. -->
<div style="font-min-size: 90px"><!-- This only affects used size. -->
<div style="math-script-level: add(-1);">X</div><!-- back to 100px. -->
</div>
</div>
</div>
</body>
</html>