mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 66f38302334f162d363afcf4a1792d895072f3ef
This commit is contained in:
parent
36f5b69224
commit
b198cd722a
622 changed files with 3374 additions and 2001 deletions
10
tests/wpt/web-platform-tests/css/css-grid/META.yml
Normal file
10
tests/wpt/web-platform-tests/css/css-grid/META.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
suggested_reviewers:
|
||||
- mrego
|
||||
- tomalec
|
||||
- plinss
|
||||
- jxs
|
||||
- tabatkins
|
||||
- fantasai
|
||||
- atanassov
|
||||
- javifernandez
|
||||
- svillar
|
|
@ -1,9 +0,0 @@
|
|||
@mrego
|
||||
@tomalec
|
||||
@plinss
|
||||
@jxs
|
||||
@tabatkins
|
||||
@fantasai
|
||||
@atanassov
|
||||
@javifernandez
|
||||
@svillar
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Grid item with table with infinite max intrinsic inline size</title>
|
||||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#grid-item-sizing" title="6.2. Grid Item Sizing">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div style="display:grid; grid-template-columns:max-content; width:100px; height:100px; background:green;">
|
||||
<div>
|
||||
<table style="height:50px; background:green;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:100%; background:green;"> </td>
|
||||
<td style="background:green;"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Table grid item with infinite max intrinsic inline size</title>
|
||||
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#grid-item-sizing" title="6.2. Grid Item Sizing">
|
||||
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
|
||||
<p>Test passes if there is a filled green square.</p>
|
||||
<div style="display:grid; grid-template-columns:max-content; width:100px; height:100px; background:green;">
|
||||
<table style="height:50px; background:green;" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:100%; background:green;"> </td>
|
||||
<td style="background:green;"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Layout Test: Content Distribution and the track sizing algorithm</title>
|
||||
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-grid/#grid-align">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-align/#content-distribution">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-align/#valdef-align-content-space-between">
|
||||
<link rel="stylesheet" href="../../support/alignment.css">
|
||||
<meta name="flags" content="ahem">
|
||||
<meta name="assert" content="Content Distribution on the inline-axis may affect to the row track's size.">
|
||||
<style>
|
||||
.grid {
|
||||
display: inline-grid;
|
||||
background: grey;
|
||||
grid-template-columns: 50px 50px;
|
||||
font: 20px/1 Ahem;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.item {
|
||||
grid-column: span 2;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
|
||||
<body onload="checkLayout('.grid')">
|
||||
<div class="grid justifyContentSpaceBetween" data-expected-width="200" data-expected-height="40">
|
||||
<div class="item" data-expected-width="200" data-expected-height="40">XXX XX X XX X XXX</div>
|
||||
</div>
|
||||
</body>
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid Layout Test: Content Distribution and the track sizing algorithm</title>
|
||||
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-grid/#grid-align">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-align/#content-distribution">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-align/#valdef-align-content-space-between">
|
||||
<link rel="stylesheet" href="../../support/alignment.css">
|
||||
<meta name="flags" content="ahem">
|
||||
<meta name="assert" content="Content Distribution on the block-axis may affect to the column track's size.">
|
||||
<style>
|
||||
.grid {
|
||||
display: inline-grid;
|
||||
background: grey;
|
||||
grid-template-rows: 50px 50px;
|
||||
font: 20px/1 Ahem;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.item {
|
||||
grid-row: span 2;
|
||||
background: green;
|
||||
writing-mode: vertical-lr;
|
||||
}
|
||||
</style>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/resources/check-layout-th.js"></script>
|
||||
|
||||
<!-- Heuristic for estimating row-size for orthogonal items should
|
||||
also consider Content Alignment, so that grid container width is 40px.
|
||||
https://github.com/w3c/csswg-drafts/issues/2697 -->
|
||||
<body onload="checkLayout('.grid')">
|
||||
<div class="grid justifyContentStart alignContentSpaceBetween" data-expected-width="80" data-expected-height="200">
|
||||
<div class="item" data-expected-width="40" data-expected-height="200">XXX XX X XX X XXX</div>
|
||||
</div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue