Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account for percentages in fixed table layout #13192

Merged
merged 3 commits into from Sep 9, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Add reftest for #13166

  • Loading branch information
notriddle committed Sep 7, 2016
commit 516adfa6c9c54a96efdaf571d15428d951007d9c
@@ -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",
@@ -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>
@@ -0,0 +1,4 @@
<!DOCTYPE html>
<title>Table with fixed layout gives according to percentages</title>
Test text

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.