layout: Take inline margins into account when determining the intrinsic

sizes of fragments.

Avoids a needless wrapped line in the repository name on GitHub.
This commit is contained in:
Patrick Walton 2015-08-05 12:27:17 -07:00
parent b3d61878dc
commit fba0a8164d
5 changed files with 49 additions and 1 deletions

View file

@ -162,6 +162,7 @@ experimental == iframe/size_attributes_vertical_writing_mode.html iframe/size_at
== inline_hypothetical_box_a.html inline_hypothetical_box_ref.html
== inline_margin_multiple_fragments_a.html inline_margin_multiple_fragments_ref.html
== inline_margins_a.html inline_margins_ref.html
== inline_margins_intrinsic_size_a.html inline_margins_intrinsic_size_ref.html
== inline_padding_a.html inline_padding_b.html
# inline_text_align_a.html inline_text_align_b.html
== inline_whitespace_a.html inline_whitespace_ref.html

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<style>
span {
margin: 0 1em;
}
div {
float: left;
}
body {
margin: 0;
padding: 0;
}
</style>
<div>foo<span>/</span>bar</div>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<style>
span {
padding: 0 1em;
}
div {
float: left;
}
body {
margin: 0;
padding: 0;
}
</style>
<div>foo<span>/</span>bar</div>