mirror of
https://github.com/servo/servo.git
synced 2025-06-25 01:24:37 +01:00
Add reftest for #13166
This commit is contained in:
parent
070bb7ff58
commit
516adfa6c9
3 changed files with 44 additions and 0 deletions
|
@ -1500,6 +1500,18 @@
|
||||||
"url": "/_mozilla/css/first_of_type_pseudo_a.html"
|
"url": "/_mozilla/css/first_of_type_pseudo_a.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/fixed_percent.html": [
|
||||||
|
{
|
||||||
|
"path": "css/fixed_percent.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/fixed_percent_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/fixed_percent.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/fixed_width_overrides_child_intrinsic_width_a.html": [
|
"css/fixed_width_overrides_child_intrinsic_width_a.html": [
|
||||||
{
|
{
|
||||||
"path": "css/fixed_width_overrides_child_intrinsic_width_a.html",
|
"path": "css/fixed_width_overrides_child_intrinsic_width_a.html",
|
||||||
|
@ -10894,6 +10906,18 @@
|
||||||
"url": "/_mozilla/css/first_of_type_pseudo_a.html"
|
"url": "/_mozilla/css/first_of_type_pseudo_a.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"css/fixed_percent.html": [
|
||||||
|
{
|
||||||
|
"path": "css/fixed_percent.html",
|
||||||
|
"references": [
|
||||||
|
[
|
||||||
|
"/_mozilla/css/fixed_percent_ref.html",
|
||||||
|
"=="
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"url": "/_mozilla/css/fixed_percent.html"
|
||||||
|
}
|
||||||
|
],
|
||||||
"css/fixed_width_overrides_child_intrinsic_width_a.html": [
|
"css/fixed_width_overrides_child_intrinsic_width_a.html": [
|
||||||
{
|
{
|
||||||
"path": "css/fixed_width_overrides_child_intrinsic_width_a.html",
|
"path": "css/fixed_width_overrides_child_intrinsic_width_a.html",
|
||||||
|
|
16
tests/wpt/mozilla/tests/css/fixed_percent.html
Normal file
16
tests/wpt/mozilla/tests/css/fixed_percent.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<!doctype html>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Table with fixed layout gives according to percentages</title>
|
||||||
|
<link rel="match" href="fixed_percent_ref.html">
|
||||||
|
<link rel="spec" href="https://drafts.csswg.org/css-tables-3/#distributing-width-to-columns">
|
||||||
|
<style>
|
||||||
|
#c {
|
||||||
|
display: table;
|
||||||
|
width: 100%;
|
||||||
|
table-layout: fixed;
|
||||||
|
}
|
||||||
|
#d {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div id=c><div id=d>Test text</div></div>
|
4
tests/wpt/mozilla/tests/css/fixed_percent_ref.html
Normal file
4
tests/wpt/mozilla/tests/css/fixed_percent_ref.html
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<title>Table with fixed layout gives according to percentages</title>
|
||||||
|
Test text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue