Update web-platform-tests to revision 86579034357501943927f3dc4abf75d76c477383

This commit is contained in:
WPT Sync Bot 2018-09-08 21:32:03 -04:00
parent 9c1c58a498
commit f708edc5ea
20 changed files with 160 additions and 81 deletions

View file

@ -0,0 +1,15 @@
<!doctype html>
<title>CSS Test: Groove border with default color should actually show a groove border</title>
<link rel="help" href="https://drafts.csswg.org/css2/box.html#border-style-properties">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1488294">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="mismatch" href="groove-ridge-default-notref.html">
<style>
div {
width: 100px;
height: 100px;
border: 10px groove;
}
</style>
<div></div>

View file

@ -0,0 +1,12 @@
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<style>
div {
width: 100px;
height: 100px;
border: 10px solid;
}
</style>
<div></div>

View file

@ -0,0 +1,15 @@
<!doctype html>
<title>CSS Test: ridge border with default color should actually show a ridge border</title>
<link rel="help" href="https://drafts.csswg.org/css2/box.html#border-style-properties">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1488294">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="mismatch" href="groove-ridge-default-notref.html">
<style>
div {
width: 100px;
height: 100px;
border: 10px ridge;
}
</style>
<div></div>

View file

@ -75,9 +75,9 @@
// Single value, calc
{ value: "calc(100.5)", isValid: true, expectedValue: "100.5", description: "Simple calc value" },
{ value: "calc(1001)", isValid: false, description: "Out-of-range simple calc value" },
{ value: "calc(1001)", isValid: true, description: "Out-of-range simple calc value (should be clamped)" },
{ value: "calc(100.5*3 + 50.5)", isValid: true, expectedValue: "352", description: "Valid calc expression" },
{ value: "calc(100.5*3 + 800)", isValid: false, description: "Valid calc expression with out-of-range value" },
{ value: "calc(100.5*3 + 800)", isValid: true, description: "Valid calc expression with out-of-range value (should be clamped)" },
{ value: "calc(100.5px + 50.5px)", isValid: false, description: "Valid calc expression with units" },
// Value range

View file

@ -15,8 +15,8 @@
runPropertyTests('color-interpolation', [
{ syntax: 'auto' },
{ syntax: 'sRGB' },
{ syntax: 'linearRGB' },
{ syntax: 'srgb' },
{ syntax: 'linearrgb' },
]);
</script>