Update web-platform-tests to revision b'797e75946c24d0625f04247b16d33c26d4ada273'

This commit is contained in:
WPT Sync Bot 2023-04-30 01:27:44 +00:00
parent 4339b3bab4
commit 44e249bebb
414 changed files with 12588 additions and 11565 deletions

View file

@ -0,0 +1,19 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: first letter with quotes interaction dynamic quotes change</title>
<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
<link rel="match" href="reference/quotes-first-letter-001-ref.html">
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
<style>
#root { quotes: "A" "B"; }
#root.xy-quotes { quotes: "'X" "'Y"; }
#root::first-letter { color: green; }
</style>
<div id="root"><q>First letter</q></div>
<script>
document.body.offsetTop;
root.className = "xy-quotes";
</script>

View file

@ -0,0 +1,25 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: first letter with quotes interaction dynamic attachment</title>
<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
<link rel="match" href="reference/quotes-first-letter-002-ref.html">
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
<style>
.first-letter::first-letter { color: green; }
</style>
<q>
<div id="outer">
<q>Should not crash or assert and all six quotes should be displayed.</q>
<div id="inner">
<q>Should not crash or assert and all six quotes should be displayed.</q>
</div>
</div>
</q>
<script>
document.body.offsetTop;
inner.className = 'first-letter';
outer.className = 'first-letter';
</script>

View file

@ -0,0 +1,19 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: first letter with quotes interaction dynamic detach</title>
<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
<link rel="match" href="reference/quotes-first-letter-001-ref.html">
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
<style>
#outer { quotes: "'X" "'Y"; }
#outer::first-letter { color: green; }
#inner::first-letter { color: red; }
</style>
<div id="outer"><div id="inner"><q>First letter</q></div></div>
<script>
document.body.offsetTop;
inner.removeAttribute('id');
</script>

View file

@ -0,0 +1,19 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: first letter with quotes interaction dynamic style change</title>
<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
<link rel="match" href="reference/quotes-first-letter-001-ref.html">
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
<style>
#outer { quotes: "'X" "'Y"; }
#outer::first-letter { color: red; }
#outer.green::first-letter { color: green; }
</style>
<div id="outer"><div id="inner"><q>First letter</q></div></div>
<script>
document.body.offsetTop;
outer.className = "green";
</script>

View file

@ -0,0 +1,25 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: first letter with quotes interaction dynamic attachment siblings</title>
<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
<link rel="match" href="reference/quotes-first-letter-002-ref.html">
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
<style>
.first-letter::first-letter { color: green; }
</style>
<q>
<div id="first">
<q>Should not crash or assert and all six quotes should be displayed.</q>
</div>
<div id="last">
<q>Should not crash or assert and all six quotes should be displayed.</q>
</div>
</q>
<script>
document.body.offsetTop;
first.className = 'first-letter';
last.className = 'first-letter';
</script>

View file

@ -0,0 +1,6 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS-content test reference: first letter with quotes interaction dynamice quotes change</title>
<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
<span style="color: green">'X</span>First letter'Y

View file

@ -0,0 +1,13 @@
<!doctype html>
<meta charset=utf-8>
<title>CSS-content test reference: first letter with quotes interaction</title>
<link rel="author" title="Daniil Sakhapov" href="sakhapov@google.com">
<style>
.quote { color: green; }
</style>
<div><span class="quote"></span>Should not crash or assert and all six quotes should be displayed.</div>
<div><span class="quote"></span>Should not crash or assert and all six quotes should be displayed.</div>