Add reftest for #13166

This commit is contained in:
Michael Howell 2016-09-06 22:39:19 -07:00
parent 070bb7ff58
commit 516adfa6c9
3 changed files with 44 additions and 0 deletions

View file

@ -1500,6 +1500,18 @@
"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": [
{
"path": "css/fixed_width_overrides_child_intrinsic_width_a.html",
@ -10894,6 +10906,18 @@
"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": [
{
"path": "css/fixed_width_overrides_child_intrinsic_width_a.html",

View 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>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<title>Table with fixed layout gives according to percentages</title>
Test text