Update web-platform-tests to revision b'c9946198c9ee19db3b4974a388fae45da844a94a'

This commit is contained in:
WPT Sync Bot 2023-05-14 01:35:09 +00:00
parent 8dfd613aa1
commit 06e9d5a631
366 changed files with 8783 additions and 2336 deletions

View file

@ -4,8 +4,8 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/cq-testcommon.js"></script>
<div style="container-name:name;container-type:size; width:100px; height:100px">
<main id=main></main>
<div style="container-name:name">
<main id="main"></main>
</div>
<script>
setup(() => assert_implements_container_queries());

View file

@ -0,0 +1,18 @@
<!doctype html>
<meta charset="utf-8">
<style>
.container {
width: 100px;
}
.half {
height: 50%;
background-color: green;
}
</style>
<div class="container" style="height: 100px">
<div class="half"></div>
</div>
<div class="container" style="height: 200px">
<div class="half"></div>
</div>

View file

@ -0,0 +1,24 @@
<!doctype html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-contain-3/#container-lengths">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1832481">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://mozilla.org" title="Mozilla">
<link rel="match" href="container-units-rule-cache-ref.html">
<style>
.container {
width: 100px;
container-type: size;
}
.half {
height: 50cqh;
background-color: green;
}
</style>
<div class="container" style="height: 100px">
<div class="half"></div>
</div>
<div class="container" style="height: 200px">
<div class="half"></div>
</div>

View file

@ -137,12 +137,6 @@
<template shadowrootmode="open">
<div exportparts="inner-part" style="-foo: baz">
<template shadowrootmode="open">
<style>
div {
width: 200px;
container-type: inline-size;
}
</style>
<div style="--foo: baz">
<span id="t9" part="inner-part"></span>
</div>