mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -72,3 +72,12 @@
|
|||
<fieldset>
|
||||
<legend id='test13'>LEGEND</legend>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>LEGEND</legend>
|
||||
<legend>NOT LEGEND</legend>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>LEGEND</legend>
|
||||
</fieldset>
|
||||
|
|
|
@ -78,6 +78,14 @@ window.onload = () => {
|
|||
o = document.getElementById("test13")
|
||||
o.setAttribute("style", "")
|
||||
o.getClientRects()
|
||||
|
||||
o = document.getElementById("test14");
|
||||
o.appendChild(document.createElement('legend')).textContent = "LEGEND";
|
||||
o.getClientRects();
|
||||
|
||||
o = document.getElementById("test15");
|
||||
o.textContent = "";
|
||||
o.getClientRects()
|
||||
}
|
||||
</script>
|
||||
<fieldset>
|
||||
|
@ -151,3 +159,13 @@ window.onload = () => {
|
|||
<fieldset>
|
||||
<div style="display:contents"><legend id='test13' style="display:none">LEGEND</legend></div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<div style="display:contents"><div style="display:contents" id="test14"></div></div>
|
||||
<legend>NOT LEGEND</legend>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<div style="display:contents"><div style="display:contents" id="test15"><legend>NOT LEGEND</legend></div></div>
|
||||
<legend>LEGEND</legend>
|
||||
</fieldset>
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<title>Attaching shadow slot with assigned whitespace separated inline elements</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-rules">
|
||||
<link rel="match" href="../reference/pass_if_two_words.html">
|
||||
<p>There should be a space between "two" and "words" below.</p>
|
||||
<div id="host"><span>two</span> <span>words</span></div>
|
||||
<script>
|
||||
host.offsetTop;
|
||||
host.attachShadow({mode:"open"}).innerHTML = "<slot />";
|
||||
</script>
|
|
@ -29,7 +29,7 @@ body { padding-left: 100px; }
|
|||
|
||||
<div style="border:1px solid">
|
||||
<div style="margin: 40px 0">
|
||||
<div style="display:list-item">x</div>
|
||||
<div style="display:list-item"><div>x</div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -44,7 +44,7 @@ body { padding-left: 100px; }
|
|||
</div>
|
||||
|
||||
<span>
|
||||
<span style="display:list-item; background:grey; margin:20px 0 0 21px"><div style="padding:20px">x</div></span>
|
||||
<div style="display:flow-root; margin-top:20px"><span style="display:list-item; background:grey"><div style="padding:20px">x</div></span></div>
|
||||
</span>
|
||||
|
||||
<div style="display:list-item; border:3px solid; height:10px;"></div>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
div { display: block; }
|
||||
.run-in { display: run-in; font-weight: bold }
|
||||
#target { border: 2px solid black; }
|
||||
#r { display: list-item; }
|
||||
#r { display: list-item; list-style-type: ""; }
|
||||
]]></style>
|
||||
<script type="text/javascript"><![CDATA[
|
||||
function flushLayout(elt) {
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Display of textarea</title>
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1700535">
|
||||
<link rel="help" href="https://github.com/whatwg/html/issues/4082">
|
||||
<meta name="assert" content="textarea has inline block display.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<textarea id="t"></textarea>
|
||||
<script>
|
||||
test(
|
||||
function(){
|
||||
var target = document.getElementById("t");
|
||||
assert_equals(getComputedStyle(target).display, "inline-block");
|
||||
}, "textarea has inline block display");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue