mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
auto merge of #4598 : mttr/servo/table_percentage, r=pcwalton
Fixes #4421
This commit is contained in:
commit
62d1761d2a
4 changed files with 38 additions and 3 deletions
|
@ -174,6 +174,7 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
|||
== many_brs_a.html many_brs_ref.html
|
||||
== table_expansion_to_fit_a.html table_expansion_to_fit_ref.html
|
||||
== table_percentage_width_a.html table_percentage_width_ref.html
|
||||
== table_percentage_capping_a.html table_percentage_capping_ref.html
|
||||
== legacy_input_size_attribute_override_a.html legacy_input_size_attribute_override_ref.html
|
||||
== legacy_td_width_attribute_a.html legacy_td_width_attribute_ref.html
|
||||
== box_sizing_sanity_check_a.html box_sizing_sanity_check_ref.html
|
||||
|
|
12
tests/ref/table_percentage_capping_a.html
Normal file
12
tests/ref/table_percentage_capping_a.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<title>Test for capping percentages</title>
|
||||
<style>
|
||||
div { width:300px; background:yellow; height:50px; }
|
||||
table { width:150%; }
|
||||
td { background:blue; }
|
||||
</style>
|
||||
<div>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr><td>parent div float=left</td></tr>
|
||||
</table>
|
||||
</div>
|
12
tests/ref/table_percentage_capping_ref.html
Normal file
12
tests/ref/table_percentage_capping_ref.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<title>Test for capping percentages</title>
|
||||
<style>
|
||||
div { width:300px; background:yellow; height:50px; }
|
||||
table { width:450px; }
|
||||
td { background:blue; }
|
||||
</style>
|
||||
<div>
|
||||
<table cellspacing="0" cellpadding="0" border="0">
|
||||
<tr><td>parent div float=left</td></tr>
|
||||
</table>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue