Auto merge of #6980 - pcwalton:inline-border-baseline, r=glennw

layout: Take borders into account when positioning inline fragments on their baselines.

Improves the Rust GitHub page.

r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6980)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-08-05 05:03:43 -06:00
commit cc70e2f91f
4 changed files with 27 additions and 4 deletions

View file

@ -157,6 +157,7 @@ experimental == iframe/size_attributes_vertical_writing_mode.html iframe/size_at
== inline_block_stacking_context_a.html inline_block_stacking_context_ref.html
== inline_block_with_margin_a.html inline_block_with_margin_ref.html
# inline_border_a.html inline_border_b.html
== inline_border_baseline_a.html inline_border_baseline_ref.html
== inline_element_border_a.html inline_element_border_ref.html
== inline_hypothetical_box_a.html inline_hypothetical_box_ref.html
== inline_margin_multiple_fragments_a.html inline_margin_multiple_fragments_ref.html

View file

@ -0,0 +1,7 @@
<style>
em {
border-top: solid white 3px;
}
</style>
I am <em>very excited!</em>

View file

@ -0,0 +1,7 @@
<style>
span {
border-top: solid white 3px;
}
</style>
<span>I am <em>very excited!</em></span>