This commit is contained in:
maekawatoshiki 2018-02-21 14:00:06 +09:00
parent faa969a91d
commit 89797c0868

View file

@ -111,7 +111,7 @@ pub struct Line {
/// For example, for the HTML below...
///
/// ~~~html
/// <div><span>I <span>like truffles, <img></span></div>
/// <div><span>I like truffles, <img></span></div>
/// ~~~
///
/// ...the bounds would be:
@ -1449,7 +1449,7 @@ impl Flow for InlineFlow {
}
/// Calculate and set the block-size of this flow. See CSS 2.1 § 10.6.1.
/// Note that we do not need to do in-order traversal becase the children
/// Note that we do not need to do in-order traversal because the children
/// are always block formatting context.
fn assign_block_size(&mut self, layout_context: &LayoutContext) {
let _scope = layout_debug_scope!("inline::assign_block_size {:x}",