Update web-platform-tests to revision 66f38302334f162d363afcf4a1792d895072f3ef

This commit is contained in:
WPT Sync Bot 2018-06-13 21:09:34 -04:00
parent 36f5b69224
commit b198cd722a
622 changed files with 3374 additions and 2001 deletions

View file

@ -0,0 +1,3 @@
suggested_reviewers:
- tabatkins
- frivoal

View file

@ -1,2 +0,0 @@
@tabatkins
@frivoal

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Size containment on button</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
<link rel="match" href="reference/contain-size-button-001-ref.html">
<meta name=assert content="Size containment does apply to buttons, thus their size and baseline is the same than if they don't have contents.">
<style>
button {
border: 5px solid green;
padding: 0;
contain: size;
color: transparent;
}
</style>
<p>This test passes if it has the same output as the reference. You see the word "before", a 10px green square, and then the word "after".</p>
before<button>flex</button>after

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Size containment on flexbox container</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
<link rel="match" href="reference/contain-size-flexbox-001-ref.html">
<meta name=assert content="Size containment does apply to flexbox containers, thus their size and baseline is the same than if they don't have contents.">
<style>
div {
display: inline-flex;
border: 5px solid green;
contain: size;
color: transparent;
}
</style>
<p>This test passes if it has the same output as the reference. You see the word "before", a 10px green square, and then the word "after".</p>
before<div>flex</div>after

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Size containment on grid container</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
<link rel="match" href="reference/contain-size-grid-001-ref.html">
<meta name=assert content="Size containment does apply to grid containers, thus their size and baseline is the same than if they don't have contents.">
<style>
div {
display: inline-grid;
border: 5px solid green;
contain: size;
color: transparent;
}
</style>
<p>This test passes if it has the same output as the reference. You see the word "before", a 10px green square, and then the word "after".</p>
before<div>grid</div>after

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Reference file</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<style>
button {
border: 5px solid green;
padding: 0;
}
</style>
<p>This test passes if it has the same output as the reference. You see the word "before", a 10px green square, and then the word "after".</p>
before<button></button>after

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Reference file</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<style>
div {
display: inline-flex;
border: 5px solid green;
}
</style>
<p>This test passes if it has the same output as the reference. You see the word "before", a 10px green square, and then the word "after".</p>
before<div></div>after

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Reference file</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<style>
div {
display: inline-grid;
border: 5px solid green;
}
</style>
<p>This test passes if it has the same output as the reference. You see the word "before", a 10px green square, and then the word "after".</p>
before<div></div>after