mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #5878 - pcwalton:intrinsic-style-specified-width, r=mbrubeck
Improves the front page of Google. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5878) <!-- Reviewable:end -->
This commit is contained in:
commit
adec683333
4 changed files with 70 additions and 8 deletions
|
@ -294,6 +294,7 @@ experimental == rtl_simple.html rtl_simple_ref.html
|
|||
== table_containing_block_a.html table_containing_block_ref.html
|
||||
== table_expansion_to_fit_a.html table_expansion_to_fit_ref.html
|
||||
== table_float_translation_a.html table_float_translation_ref.html
|
||||
== table_intrinsic_style_specified_width_a.html table_intrinsic_style_specified_width_ref.html
|
||||
== table_padding_a.html table_padding_ref.html
|
||||
== table_percentage_capping_a.html table_percentage_capping_ref.html
|
||||
== table_percentage_width_a.html table_percentage_width_ref.html
|
||||
|
|
31
tests/ref/table_intrinsic_style_specified_width_a.html
Normal file
31
tests/ref/table_intrinsic_style_specified_width_a.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
section {
|
||||
width: 400px;
|
||||
}
|
||||
table {
|
||||
width: 400px;
|
||||
height: 100px;
|
||||
}
|
||||
#a {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background: green;
|
||||
}
|
||||
#b {
|
||||
background: lightblue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section><table><tr><td><div id=a></div></td><td id=b>
|
||||
Foo foo foo foo foo foo foo foo
|
||||
foo foo foo foo foo foo foo foo
|
||||
foo foo foo foo foo foo foo foo
|
||||
foo foo foo foo foo foo foo foo
|
||||
</td></tr></table></section>
|
||||
</body>
|
||||
</html>
|
||||
|
31
tests/ref/table_intrinsic_style_specified_width_ref.html
Normal file
31
tests/ref/table_intrinsic_style_specified_width_ref.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
section {
|
||||
width: 400px;
|
||||
}
|
||||
table {
|
||||
width: 400px;
|
||||
height: 100px;
|
||||
}
|
||||
#a {
|
||||
min-width: 100px;
|
||||
height: 100px;
|
||||
background: green;
|
||||
}
|
||||
#b {
|
||||
background: lightblue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section><table><tr><td><div id=a></div></td><td id=b>
|
||||
Foo foo foo foo foo foo foo foo
|
||||
foo foo foo foo foo foo foo foo
|
||||
foo foo foo foo foo foo foo foo
|
||||
foo foo foo foo foo foo foo foo
|
||||
</td></tr></table></section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue