mirror of
https://github.com/servo/servo.git
synced 2025-07-25 16:20:36 +01:00
Fix typo
This commit is contained in:
parent
faa969a91d
commit
89797c0868
1 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ pub struct Line {
|
||||||
/// For example, for the HTML below...
|
/// For example, for the HTML below...
|
||||||
///
|
///
|
||||||
/// ~~~html
|
/// ~~~html
|
||||||
/// <div><span>I <span>like truffles, <img></span></div>
|
/// <div><span>I like truffles, <img></span></div>
|
||||||
/// ~~~
|
/// ~~~
|
||||||
///
|
///
|
||||||
/// ...the bounds would be:
|
/// ...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.
|
/// 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.
|
/// are always block formatting context.
|
||||||
fn assign_block_size(&mut self, layout_context: &LayoutContext) {
|
fn assign_block_size(&mut self, layout_context: &LayoutContext) {
|
||||||
let _scope = layout_debug_scope!("inline::assign_block_size {:x}",
|
let _scope = layout_debug_scope!("inline::assign_block_size {:x}",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue