Skip to content

Commit

Permalink
add_inline_child, not word and input (#1339)
Browse files Browse the repository at this point in the history
* add_inline_child, not word and input

* none
  • Loading branch information
chrishtr authored Aug 18, 2024
1 parent 6db8dc3 commit 86f3043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/invalidation.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ idempotent. I found:[^exercises]
- In `new_line`, `BlockLayout` will append to its `children` array.
- In `add_inline_child`, `BlockLayout` will append to the `children`
array of some `LineLayout` child.
- In `word` and `input`, `BlockLayout` will call `get_font`, as will
- In `add_inline_child`, `BlockLayout` will call `get_font`, as will
the `TextLayout` and `InputLayout` methods.
- Basically every layout method calls `dpx`.

Expand Down Expand Up @@ -2665,7 +2665,7 @@ build* is what browser engineers use when debugging or developing new
features, and also in automated tests. Debug builds
also compile in debugging features like [sanitizers][ffx-sanitizers],
while release builds instead use heavyweight optimizations
[like *profile-guided optimization*][chrome-pgo] (PGO).
[like *profile-guided optimization*][chrome-pgo].

:::

Expand Down

0 comments on commit 86f3043

Please sign in to comment.