mirror of
https://github.com/servo/servo.git
synced 2025-09-11 07:28:19 +01:00
layout: Support any display
property in generated content, and allow
tables to clear floats. Improves the GitHub header.
This commit is contained in:
parent
ab17d31bbf
commit
47fc64052c
7 changed files with 99 additions and 50 deletions
12
tests/ref/clear_generated_content_table_ref.html
Normal file
12
tests/ref/clear_generated_content_table_ref.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div class=clearit>
|
||||
<div style="float: left;">x</div>
|
||||
</div>
|
||||
<div style="display: table; clear: both;"></div>
|
||||
<div style="float: left;">y</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue