mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Lay absolutely-positioned blocks with inline containing blocks out of
flow. Removes the long space before the site-specific drop-down in the Google SERPs.
This commit is contained in:
parent
05deb3dcc8
commit
dba3e41a63
5 changed files with 40 additions and 9 deletions
|
@ -159,6 +159,7 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
|
|||
== incremental_float_a.html incremental_float_ref.html
|
||||
== incremental_inline_layout_a.html incremental_inline_layout_ref.html
|
||||
== inline_absolute_hypothetical_clip_a.html inline_absolute_hypothetical_clip_ref.html
|
||||
== inline_absolute_out_of_flow_a.html inline_absolute_out_of_flow_ref.html
|
||||
!= inline_background_a.html inline_background_ref.html
|
||||
== inline_block_baseline_a.html inline_block_baseline_ref.html
|
||||
== inline_block_block_direction_margins_a.html inline_block_block_direction_margins_ref.html
|
||||
|
|
13
tests/ref/inline_absolute_out_of_flow_a.html
Normal file
13
tests/ref/inline_absolute_out_of_flow_a.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
#a {
|
||||
display: inline;
|
||||
position: relative;
|
||||
}
|
||||
#b {
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
<div>A<span id=a><div id=b> </div></span>B</div>
|
||||
|
3
tests/ref/inline_absolute_out_of_flow_ref.html
Normal file
3
tests/ref/inline_absolute_out_of_flow_ref.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<!DOCTYPE html>
|
||||
<div>AB</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue