mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision 3b17f29d98e9f39a4836a7450f9fe992f3cc0e7b
This commit is contained in:
parent
4096fb9169
commit
964f9a5544
87 changed files with 1591 additions and 227 deletions
|
@ -54,7 +54,7 @@
|
|||
[
|
||||
"Checking intermediate min-content height for span 1 (2)",
|
||||
document.getElementById('two').offsetHeight,
|
||||
1
|
||||
10
|
||||
],
|
||||
[
|
||||
"Checking intermediate min-content height for span 1 (3)",
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
<!doctype html>
|
||||
<style>
|
||||
body {
|
||||
--peek: LightGreen;
|
||||
}
|
||||
.bg {
|
||||
background-color: var(--peek);
|
||||
background-image: linear-gradient(90deg, orange 0px, orange 10px, gainsboro 3px, gainsboro 25%, rgba(160,160,160,0.5) 25%, rgba(160,160,160,0.5) 50%, silver 50%, silver 75%, darkgray 75%, darkgray 170px, blue 170px);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 50px 200px;
|
||||
}
|
||||
main * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.td {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
position:absolute;
|
||||
}
|
||||
</style>
|
||||
|
||||
<main>
|
||||
<div style="position: relative;border: 10px solid transparent; width:210px; height: 210px">
|
||||
<div class="td bg" style="top:-5px;left:-5px;height:200px"></div>
|
||||
<div class="td bg" style="top:-5px;left:45px;height:200px"></div>
|
||||
<div class="td" style="background:var(--peek); height:100px; left:95px;top:45px"></div>
|
||||
<div class="td bg" style="top:-5px;left:145px;height:200px;width:100px;background-size: 100px 200px"></div>
|
||||
</div>
|
||||
|
||||
</main>
|
|
@ -0,0 +1,68 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Table collapsed column background image geometry</title>
|
||||
<link rel="author" title="Aleks Totic" href="atotic@chromium.org" />
|
||||
<link rel="help" href="https://www.w3.org/TR/css-tables-3/#drawing-backgrounds-and-borders" />
|
||||
<link rel="match" href="background-image-column-collapsed-ref.html" />
|
||||
<style>
|
||||
body {
|
||||
--peek: LightGreen;
|
||||
}
|
||||
.bg {
|
||||
background-color: var(--peek);
|
||||
background-image: linear-gradient(90deg, orange 0px, orange 10px, gainsboro 3px, gainsboro 25%, rgba(160,160,160,0.5) 25%, rgba(160,160,160,0.5) 50%, silver 50%, silver 75%, darkgray 75%, darkgray 170px, blue 170px);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
main * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
main table {
|
||||
border-spacing: 10px;
|
||||
border: 10px solid transparent;
|
||||
padding: 10px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
main table:hover {
|
||||
border: 10px solid yellow;
|
||||
}
|
||||
main td {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
padding: 0px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<main>
|
||||
<table>
|
||||
<col class="bg">
|
||||
<col class="bg">
|
||||
<col>
|
||||
<colgroup class="bg" span="2">
|
||||
<tr>
|
||||
<td rowspan=4></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan=2 colspan=2></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</main>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue