Update web-platform-tests to revision 9d5d9aa80785d9726ed0a5eaab1a8d144fd4b560

This commit is contained in:
WPT Sync Bot 2018-09-06 21:28:50 -04:00
parent 1343c7de50
commit 560e025ce7
68 changed files with 2084 additions and 260 deletions

View file

@ -0,0 +1,37 @@
<!DOCTYPE html>
<html>
<head>
<title>legend inline auto margins</title>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1488301">
<style>
body, html { padding:0; margin: 0; }
div {
border: 1px solid black;
border-width: 10px 17px 7px 23px;
padding: 0;
margin: 0;
width: 448px;
height: 5px;
margin-top: 5px;
position: relative;
}
span {
position: absolute;
top: -15px;
width: 200px;
height: 20px;
padding: 0;
margin: 0;
background: grey;
}
center { width: 200px; height: 20px; background: red; }
</style>
</head>
<body>
<div><span style="right:17px"></span></div>
<div><span style="left:31px"></span></div>
<div><span style="left:131px"></span></div>
<div><span style="right:32px"></span></div>
<div><span style="left:46px"></span></div>
</body>
</html>

View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<title>legend inline auto margins</title>
<link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1488301">
<link rel="match" href="legend-auto-margins-ref.html">
<style>
body, html { padding:0; margin: 0; }
fieldset {
border: 1px solid black;
border-width: 10px 17px 7px 23px;
padding: 0 17px 0 31px;
margin: 0;
width: 400px;
}
legend {
width: 200px;
height: 20px;
padding: 0;
margin: 0;
background: grey;
}
</style>
</head>
<body>
<fieldset><legend style="margin-left:auto"></legend></fieldset>
<fieldset><legend style="margin-right:auto"></legend></fieldset>
<fieldset><legend style="margin:0 auto"></legend></fieldset>
<fieldset><legend style="margin:0 15px 0 auto"></legend></fieldset>
<fieldset><legend style="margin:0 auto 0 15px"></legend></fieldset>
</body>
</html>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
From <a href="https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements">html.spec.whatwg.org</a>:
<blockquote>
The details element is expected to render as a block box. The element's shadow
tree is expected to take the element's first summary element child, if any, and
place it in a first block box container, and then take the element's remaining
descendants, if any, and place them in a second block box container.
</blockquote>
&lt;details display:flex> should be ignored. Otherwise details would render as
something other than a block box.
<hr>
<details open>
<summary>This is the summary.</summary>
<div>thing 1</div>
thing 2
</details>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="David Grogan" href="dgrogan@chromium.org">
<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements">
<link rel="match" href="details-display-property-is-ignored-ref.html">
<link rel="bookmark" href="https://bugs.chromium.org/p/chromium/issues/detail?id=635282" />
<meta name="assert" content="The display property is ignored on details elements and is instead always rendered as a block box." />
From <a href="https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements">html.spec.whatwg.org</a>:
<blockquote>
The details element is expected to render as a block box. The element's shadow
tree is expected to take the element's first summary element child, if any, and
place it in a first block box container, and then take the element's remaining
descendants, if any, and place them in a second block box container.
</blockquote>
&lt;details display:flex> should be ignored. Otherwise details would render as
something other than a block box.
<hr>
<details open style="display:flex;">
<summary>This is the summary.</summary>
<div>thing 1</div>
thing 2
</details>