Address review comments

This commit is contained in:
Patrick Walton 2015-04-22 16:04:47 -07:00 committed by Simon Sapin
parent 48299a53cb
commit 4d46d257cd
5 changed files with 82 additions and 38 deletions

View file

@ -1589,7 +1589,8 @@ impl Flow for BlockFlow {
// Our inline-size was set to the inline-size of the containing block by the flow's parent.
// Now compute the real value.
self.propagate_and_compute_used_inline_size(layout_context, border_collapse::T::separate);
let border_collapse = self.fragment.style.get_inheritedtable().border_collapse;
self.propagate_and_compute_used_inline_size(layout_context, border_collapse);
// Formatting contexts are never impacted by floats.
match self.formatting_context_type() {