aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/inline.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r--components/layout/inline.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs
index eb069c755bc..ef704a453ac 100644
--- a/components/layout/inline.rs
+++ b/components/layout/inline.rs
@@ -128,7 +128,7 @@ pub struct Line {
/// ~~~
pub bounds: LogicalRect<Au>,
- /// The green zone is the greatest extent from wich a line can extend to
+ /// The green zone is the greatest extent from which a line can extend to
/// before it collides with a float.
///
/// ~~~text
@@ -307,7 +307,7 @@ impl LineBreaker {
let splittable = first_fragment.can_split();
debug!("LineBreaker: fragment size: {}, splittable: {}", first_fragment_size, splittable);
- // Initally, pretend a splittable fragment has zero inline-size. We will move it later if
+ // Initially, pretend a splittable fragment has zero inline-size. We will move it later if
// it has nonzero inline-size and that causes problems.
let placement_inline_size = if splittable {
Au(0)