mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Auto merge of #5694 - pcwalton:anonymous-table-objects, r=mbrubeck
Improves Facebook Timeline. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5694) <!-- Reviewable:end -->
This commit is contained in:
commit
2fd5ecf3d7
4 changed files with 101 additions and 3 deletions
|
@ -289,6 +289,7 @@ experimental == rtl_simple.html rtl_simple_ref.html
|
|||
== table_auto_width.html table_auto_width_ref.html
|
||||
== table_caption_bottom_a.html table_caption_bottom_ref.html
|
||||
== table_caption_top_a.html table_caption_top_ref.html
|
||||
== table_cell_float_a.html table_cell_float_ref.html
|
||||
== table_colspan_fixed_a.html table_colspan_fixed_ref.html
|
||||
== table_colspan_simple_a.html table_colspan_simple_ref.html
|
||||
== table_containing_block_a.html table_containing_block_ref.html
|
||||
|
|
29
tests/ref/table_cell_float_a.html
Normal file
29
tests/ref/table_cell_float_a.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that an element with `display: table-cell` is correctly positioned next to a float. -->
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
float: left;
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: firebrick;
|
||||
}
|
||||
.a {
|
||||
display: table-cell;
|
||||
width: 128px;
|
||||
height: 64px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section></section>
|
||||
<div class=a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
31
tests/ref/table_cell_float_ref.html
Normal file
31
tests/ref/table_cell_float_ref.html
Normal file
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that an element with `display: table-cell` is correctly positioned next to a float. -->
|
||||
<style>
|
||||
body, html {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
float: left;
|
||||
display: block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: firebrick;
|
||||
}
|
||||
.a {
|
||||
position: absolute;
|
||||
left: 32px;
|
||||
top: 0;
|
||||
width: 128px;
|
||||
height: 64px;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section></section>
|
||||
<div class=a></div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue