diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 770677021..afc0d9048 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -30,7 +30,7 @@ brew install chromedriver
If you are Ubuntu, you will have to install `openssl` first,
and then can follow [these instructions](https://tecadmin.net/setup-selenium-chromedriver-on-ubuntu/).
-Be sure that your Chrome vesion matches the downloaded `chromedriver` version!
+Be sure that your Chrome version matches the downloaded `chromedriver` version!
Once you have chromedriver installed and available in `PATH` you can re-generate all tests by running `cargo gentest`. You should not manually update the tests in `tests/generated`. Instead, fix the script in `scripts/gentest/` and re-generate them. This can happen after a refactor. It can be helpful to commit the updated tests in a dedicated commit so that they can be easier to ignore during review.
diff --git a/README.md b/README.md
index 7268739d8..dd00b3bd2 100644
--- a/README.md
+++ b/README.md
@@ -75,12 +75,12 @@ If you are interested in guide-level documentation on CSS layout, then we recomm
### Flexbox
- [Flexbox Froggy](https://flexboxfroggy.com/). This is an interactive tutorial/game that allows you to learn the essential parts of Flexbox in a fun engaging way.
-- [A Complete Guide To Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) by CSS Tricks. This is detailed guide with illustrations and comphrehensive written explanation of the different Flexbox properties and how they work.
+- [A Complete Guide To Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) by CSS Tricks. This is detailed guide with illustrations and comprehensive written explanation of the different Flexbox properties and how they work.
### CSS Grid
- [CSS Grid Garden](https://cssgridgarden.com/). This is an interactive tutorial/game that allows you to learn the essential parts of CSS Grid in a fun engaging way.
-- [A Complete Guide To CSS Grid](https://css-tricks.com/snippets/css/complete-guide-grid/) by CSS Tricks. This is detailed guide with illustrations and comphrehensive written explanation of the different CSS Grid properties and how they work.
+- [A Complete Guide To CSS Grid](https://css-tricks.com/snippets/css/complete-guide-grid/) by CSS Tricks. This is detailed guide with illustrations and comprehensive written explanation of the different CSS Grid properties and how they work.
## Benchmarks (vs. [Yoga](https://github.com/facebook/yoga))
diff --git a/RELEASES.md b/RELEASES.md
index c52dadb4a..b1c112922 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -61,7 +61,7 @@ Note that:
#### Many APIs have been renamed to replace `points` or `Points` with `length` or `Length`
-This new name better describes one-dimentional measure of space in some unspecified unit
+This new name better describes one-dimensional measure of space in some unspecified unit
which is often unrelated to the PostScript point or the CSS `pt` unit.
This also removes a misleading similarity with the 2D `Point`,
@@ -108,7 +108,7 @@ Example usage change:
- Module organisation changes:
- The `math` module has been made private
- The `axis` module has been merged into the `geometry` module
- - The debug module is no longer public. The `print_tree` function is now accesible under `util`.
+ - The debug module is no longer public. The `print_tree` function is now accessible under `util`.
- All types from the `node`, `data`, `layout`, `error` and `cache` modules have been moved to the the `tree` module.
- Fixed misspelling: `RunMode::PeformLayout` renamed into `RunMode::PerformLayout` (added missing `r`).
- `serde` dependency has been made compatible with `no_std` environments
@@ -264,11 +264,11 @@ We very excited to report that we now have support for CSS Grid layout. This is
Taffy implements the CSS Grid specification faithfully, so documentation designed for the web should translate cleanly to Taffy's implementation. If you are interested in learning how to use CSS Grid, we would recommend the following resources:
- [CSS Grid Garden](https://cssgridgarden.com/). This is an interactive tutorial/game that allows you to learn the essential parts of CSS Grid in a fun engaging way.
-- [A Complete Guide To CSS Grid](https://css-tricks.com/snippets/css/complete-guide-grid/) by CSS Tricks. This is detailed guide with illustrations and comphrehensive written explanation of the different Grid propertie and how they work.
+- [A Complete Guide To CSS Grid](https://css-tricks.com/snippets/css/complete-guide-grid/) by CSS Tricks. This is detailed guide with illustrations and comprehensive written explanation of the different Grid properties and how they work.
#### Supported Features & Properties
-In addition to the usual sizing/spacing proerties (size, min_size, padding, margin, etc), the following Grid style properties are supported on Grid Containers:
+In addition to the usual sizing/spacing properties (size, min_size, padding, margin, etc), the following Grid style properties are supported on Grid Containers:
| Property | Explanation |
| --- | --- |
@@ -530,7 +530,7 @@ Two debugging features have been added:
A number of performance improvements have landed since taffy 0.1:
- Firstly, our custom `taffy::forest` storage implementation was ripped out and replaced with a much simpler implementation using the `slotmap` crate. This led to performance increases of up to 90%.
-- Secondly, the caching implementation was improved by upping the number of cache slots from 2 to 4 and tweaking how computed results are allocated to chache slots to better match the actual usage patterns of the flexbox layout algorithm. This had a particularly dramatic effect on deep hierachies (which often involve recomputing the same results repeatedly), fixing the exponential blowup that was previously exhibited on these trees and improving performance by over 1000x in some cases!
+- Secondly, the caching implementation was improved by upping the number of cache slots from 2 to 4 and tweaking how computed results are allocated to cache slots to better match the actual usage patterns of the flexbox layout algorithm. This had a particularly dramatic effect on deep hierarchies (which often involve recomputing the same results repeatedly), fixing the exponential blowup that was previously exhibited on these trees and improving performance by over 1000x in some cases!
#### Benchmarks vs. Taffy 0.1
@@ -548,7 +548,7 @@ A number of performance improvements have landed since taffy 0.1:
As you can see, we have actually regressed slightly in the "wide" benchmarks (where all nodes are siblings of a single parent node). Although it should be noted our results in these benchmarks are still very fast, especially on the 10,000 node benchmark which we consider to be the most realistic size where the result is measured in microseconds.
-However, in the "deep" benchmarks we see dramatic improvements. The previous version of Taffy suffered from exponential blowup in the case of deeply nested hierachies. This has resulted in somewhat silly improvements like the 10,000 node (14-level) hierachy where Taffy 0.2 is a full 1 million times faster than Taffy 0.1. We've also included results with larger numbers of nodes (although you're unlikely to need that many) to demonstrate that this scalability continues up to even deeper levels of nesting.
+However, in the "deep" benchmarks we see dramatic improvements. The previous version of Taffy suffered from exponential blowup in the case of deeply nested hierarchies. This has resulted in somewhat silly improvements like the 10,000 node (14-level) hierarchy where Taffy 0.2 is a full 1 million times faster than Taffy 0.1. We've also included results with larger numbers of nodes (although you're unlikely to need that many) to demonstrate that this scalability continues up to even deeper levels of nesting.
#### Benchmarks vs. [Yoga](https://github.com/facebook/yoga)
@@ -584,7 +584,7 @@ While we're trying not to get too excited (there could easily be an issue with o
- `taffy::Taffy::remove_child_at_index`
- `taffy::Taffy::replace_child_at_index`
- `taffy::Taffy::child_at_index`
-- `Taffy::remove` now returns a `Result<usize, Error>`, to indicate if the operation was sucessful (and if it was, which ID was invalidated).
+- `Taffy::remove` now returns a `Result<usize, Error>`, to indicate if the operation was successful (and if it was, which ID was invalidated).
#### Some uses of `Option<f32>` replaced with a new `AvailableSpace` enum
@@ -640,7 +640,7 @@ And a different instance of it is passed as a new second parameter to `MeasureFu
- the `order` field of `Layout` is now public, and describes the relative z-ordering of nodes
- renamed crate from `stretch2` to `taffy`
- updated to the latest version of all dependencies to reduce upstream pain caused by duplicate dependencies
-- renamed `stretch::node::Strech` -> `taffy::node::Taffy`
+- renamed `stretch::node::Stretch` -> `taffy::node::Taffy`
### 0.1.0 Fixed
diff --git a/benches/src/lib.rs b/benches/src/lib.rs
index 3f419540e..b2f5b651f 100644
--- a/benches/src/lib.rs
+++ b/benches/src/lib.rs
@@ -1,4 +1,4 @@
-// As each benchmark suite is compiled as a seperate crate and uses different helpers, we end up with a bunch
+// As each benchmark suite is compiled as a separate crate and uses different helpers, we end up with a bunch
// of false positives for this lint. So let's just disable it for this code.
#![allow(dead_code)]
diff --git a/benches/src/taffy_03_helpers.rs b/benches/src/taffy_03_helpers.rs
index 391e2f1f2..a9a044f2e 100644
--- a/benches/src/taffy_03_helpers.rs
+++ b/benches/src/taffy_03_helpers.rs
@@ -72,7 +72,7 @@ fn convert_style(style: taffy::style::Style) -> taffy_03::style::Style {
max_size: convert_size(style.max_size, convert_dimension),
aspect_ratio: style.aspect_ratio,
gap: convert_size(style.gap, convert_length_percentage),
- // Aligment
+ // Alignment
align_items: None,
align_self: None,
justify_items: None,
diff --git a/deny.toml b/deny.toml
index 43d6315bc..6a8bc6769 100644
--- a/deny.toml
+++ b/deny.toml
@@ -28,12 +28,12 @@ wildcards = "deny"
highlight = "all"
# Certain crates/versions that will be skipped when doing duplicate detection.
skip = [
- # Bypass problems with wildcard dependencies for dev-dependncies.
+ # Bypass problems with wildcard dependencies for dev-dependencies.
# Proper fix requires https://github.com/EmbarkStudios/cargo-deny/issues/448
{ name = "taffy" },
# This dependency won't actually end up in the final binary anyway as it a sub-dependency
- # of num-cpus and atty only when targetting the hermit unikernel OS
+ # of num-cpus and atty only when targeting the hermit unikernel OS
# (https://github.com/hermitcore/rusty-hermit)
{ name = "hermit-abi" },
diff --git a/scripts/gentest/test_base_style.css b/scripts/gentest/test_base_style.css
index 749dbe6ba..4a00e152b 100644
--- a/scripts/gentest/test_base_style.css
+++ b/scripts/gentest/test_base_style.css
@@ -35,7 +35,7 @@ body > * {
display: flex;
align-items: start;
justify-content: start;
- /* Defaults: can be overriden in individual tests */
+ /* Defaults: can be overridden in individual tests */
width: max-content;
height: max-content;
}
diff --git a/src/compute/block.rs b/src/compute/block.rs
index c08828597..7e6d300be 100644
--- a/src/compute/block.rs
+++ b/src/compute/block.rs
@@ -340,7 +340,7 @@ fn perform_final_layout_on_in_flow_children(
resolved_content_box_inset: Rect<f32>,
own_margins_collapse_with_children: Line<bool>,
) -> (Size<f32>, f32, CollapsibleMarginSet, CollapsibleMarginSet) {
- // Resolve container_inner_width for sizing child nodes using intial content_box_inset
+ // Resolve container_inner_width for sizing child nodes using initial content_box_inset
let container_inner_width = container_outer_width - content_box_inset.horizontal_axis_sum();
let parent_size = Size { width: Some(container_outer_width), height: None };
let available_space =
diff --git a/src/compute/flexbox.rs b/src/compute/flexbox.rs
index 1c941828d..eb67fc144 100644
--- a/src/compute/flexbox.rs
+++ b/src/compute/flexbox.rs
@@ -871,7 +871,7 @@ fn determine_container_main_size(
// not be included here), however this matches both Chrome and Firefox as of 9th March 2023.
//
// Spec: https://www.w3.org/TR/css-flexbox-1/#intrinsic-item-contributions
- // Spec modifcation: https://www.w3.org/TR/css-flexbox-1/#change-2016-max-contribution
+ // Spec modification: https://www.w3.org/TR/css-flexbox-1/#change-2016-max-contribution
// Issue: https://github.com/w3c/csswg-drafts/issues/1435
// Gentest: padding_border_overrides_size_flex_basis_0.html
let clamping_basis = Some(item.flex_basis).maybe_max(style_preferred);
@@ -922,7 +922,7 @@ fn determine_container_main_size(
Line::FALSE,
) + item.margin.main_axis_sum(constants.dir);
- // This is somewhat bizarre in that it's asymetrical depending whether the flex container is a column or a row.
+ // This is somewhat bizarre in that it's asymmetrical depending whether the flex container is a column or a row.
//
// I *think* this might relate to https://drafts.csswg.org/css-flexbox-1/#algo-main-container:
//
diff --git a/src/compute/grid/alignment.rs b/src/compute/grid/alignment.rs
index 6475be48a..9a38c7ba6 100644
--- a/src/compute/grid/alignment.rs
+++ b/src/compute/grid/alignment.rs
@@ -35,7 +35,7 @@ pub(super) fn align_tracks(
// Compute offsets
let mut total_offset = origin;
tracks.iter_mut().enumerate().for_each(|(i, track)| {
- // Odd tracks are gutters (but slices are zero-indexed, so odd tracks have even indicies)
+ // Odd tracks are gutters (but slices are zero-indexed, so odd tracks have even indices)
let is_gutter = i % 2 == 0;
// The first non-gutter track is index 1
diff --git a/src/compute/grid/explicit_grid.rs b/src/compute/grid/explicit_grid.rs
index d0cb3ab79..76ff737bf 100644
--- a/src/compute/grid/explicit_grid.rs
+++ b/src/compute/grid/explicit_grid.rs
@@ -1,4 +1,4 @@
-//! Helper functions for intialising GridTrack's from styles
+//! Helper functions for initialising GridTrack's from styles
//! This mainly consists of evaluating GridAutoTracks
use super::types::{GridTrack, TrackCounts};
use crate::geometry::{AbsoluteAxis, Size};
@@ -20,7 +20,7 @@ pub(crate) fn compute_explicit_grid_size_in_axis(
// Load the grid-template-rows or grid-template-columns definition (depending on the axis)
let template = style.grid_template_tracks(axis);
- // If template contains no tracks, then there are trivially zero explcit tracks
+ // If template contains no tracks, then there are trivially zero explicit tracks
if template.is_empty() {
return 0;
}
@@ -165,7 +165,7 @@ pub(crate) fn compute_explicit_grid_size_in_axis(
// If the container size is a preferred or maximum size:
// Then we return the maximum number of repetitions that fit into the container without overflowing.
// If the container size is a minimum size:
- // - Then we return the minimum number of repititions required to overflow the size.
+ // - Then we return the minimum number of repetitions required to overflow the size.
//
// In all cases we add the additional repetition that was already accounted for in the special-case computation above
if size_is_maximum {
@@ -485,7 +485,7 @@ mod test {
let expected = vec![
// Gutter
(GridTrackKind::Gutter, MinTrackSizingFunction::Fixed(px0), MaxTrackSizingFunction::Fixed(px0)),
- // Negative implict tracks
+ // Negative implicit tracks
(GridTrackKind::Track, MinTrackSizingFunction::Fixed(px100), MaxTrackSizingFunction::Fixed(px100)),
(GridTrackKind::Gutter, MinTrackSizingFunction::Fixed(px20), MaxTrackSizingFunction::Fixed(px20)),
(GridTrackKind::Track, MinTrackSizingFunction::Auto, MaxTrackSizingFunction::Auto),
@@ -499,7 +499,7 @@ mod test {
(GridTrackKind::Gutter, MinTrackSizingFunction::Fixed(px20), MaxTrackSizingFunction::Fixed(px20)),
(GridTrackKind::Track, MinTrackSizingFunction::Auto, MaxTrackSizingFunction::Fraction(1.0)), // Note: min sizing function of flex sizing functions is auto
(GridTrackKind::Gutter, MinTrackSizingFunction::Fixed(px20), MaxTrackSizingFunction::Fixed(px20)),
- // Positive implict tracks
+ // Positive implicit tracks
(GridTrackKind::Track, MinTrackSizingFunction::Auto, MaxTrackSizingFunction::Auto),
(GridTrackKind::Gutter, MinTrackSizingFunction::Fixed(px20), MaxTrackSizingFunction::Fixed(px20)),
(GridTrackKind::Track, MinTrackSizingFunction::Fixed(px100), MaxTrackSizingFunction::Fixed(px100)),
diff --git a/src/compute/grid/implicit_grid.rs b/src/compute/grid/implicit_grid.rs
index 0c0a037e3..1836cbb5b 100644
--- a/src/compute/grid/implicit_grid.rs
+++ b/src/compute/grid/implicit_grid.rs
@@ -189,7 +189,7 @@ mod tests {
}
}
- mod test_intial_grid_sizing {
+ mod test_initial_grid_sizing {
use super::super::compute_grid_size_estimate;
use crate::compute::grid::util::test_helpers::*;
use crate::style_helpers::*;
diff --git a/src/compute/grid/track_sizing.rs b/src/compute/grid/track_sizing.rs
index 5f830d55e..5b7cec99d 100644
--- a/src/compute/grid/track_sizing.rs
+++ b/src/compute/grid/track_sizing.rs
@@ -1247,7 +1247,7 @@ fn find_size_of_fr(tracks: &[GridTrack], space_to_fill: f32) -> f32 {
// If the product of the hypothetical fr size (computed below) and any flexible track’s flex factor
// is less than the track’s base size, then we must restart this algorithm treating all such tracks as inflexible.
- // We therefore wrap the entire algorithm in a loop, with an hypotherical_fr_size of INFINITY such that the above
+ // We therefore wrap the entire algorithm in a loop, with an hypothetical_fr_size of INFINITY such that the above
// condition can never be true for the first iteration.
let mut hypothetical_fr_size = f32::INFINITY;
let mut previous_iter_hypothetical_fr_size;
@@ -1278,14 +1278,14 @@ fn find_size_of_fr(tracks: &[GridTrack], space_to_fill: f32) -> f32 {
// If the product of the hypothetical fr size and a flexible track’s flex factor is less than the track’s base size,
// restart this algorithm treating all such tracks as inflexible.
// We keep track of the hypothetical_fr_size
- let hypotherical_fr_size_is_valid = tracks.iter().all(|track| match track.max_track_sizing_function {
+ let hypothetical_fr_size_is_valid = tracks.iter().all(|track| match track.max_track_sizing_function {
MaxTrackSizingFunction::Fraction(flex_factor) => {
flex_factor * hypothetical_fr_size >= track.base_size
|| flex_factor * previous_iter_hypothetical_fr_size < track.base_size
}
_ => true,
});
- if hypotherical_fr_size_is_valid {
+ if hypothetical_fr_size_is_valid {
break;
}
}
diff --git a/src/compute/grid/types/cell_occupancy.rs b/src/compute/grid/types/cell_occupancy.rs
index ff0727492..c0fb63b3e 100644
--- a/src/compute/grid/types/cell_occupancy.rs
+++ b/src/compute/grid/types/cell_occupancy.rs
@@ -89,7 +89,7 @@ impl CellOccupancyMatrix {
/// Expands the grid (potentially in all 4 directions) in order to ensure that the specified range fits within the allocated space
fn expand_to_fit_range(&mut self, row_range: Range<i16>, col_range: Range<i16>) {
- // Calculate number of rows and columns missing to accomodate ranges (if any)
+ // Calculate number of rows and columns missing to accommodate ranges (if any)
let req_negative_rows = min(row_range.start, 0);
let req_positive_rows = max(row_range.end - self.rows.len() as i16, 0);
let req_negative_cols = min(col_range.start, 0);
@@ -136,7 +136,7 @@ impl CellOccupancyMatrix {
self.columns.positive_implicit += req_positive_cols as u16;
}
- /// Mark an area of the matrix as occupied, expanding the allocated space as necessary to accomodate the passed area.
+ /// Mark an area of the matrix as occupied, expanding the allocated space as necessary to accommodate the passed area.
pub fn mark_area_as(
&mut self,
primary_axis: AbsoluteAxis,
diff --git a/src/compute/grid/types/grid_item.rs b/src/compute/grid/types/grid_item.rs
index 8ad437ce3..5f0e7906b 100644
--- a/src/compute/grid/types/grid_item.rs
+++ b/src/compute/grid/types/grid_item.rs
@@ -446,7 +446,7 @@ impl GridItem {
let item_axis_tracks = &axis_tracks[self.track_range_excluding_lines(axis)];
// it is not a scroll container
- // TODO: support overflow propety
+ // TODO: support overflow property
// it spans at least one track in that axis whose min track sizing function is auto
let spans_auto_min_track = axis_tracks
diff --git a/src/compute/grid/types/grid_track_counts.rs b/src/compute/grid/types/grid_track_counts.rs
index 8ab8ae309..435724b4b 100644
--- a/src/compute/grid/types/grid_track_counts.rs
+++ b/src/compute/grid/types/grid_track_counts.rs
@@ -29,14 +29,14 @@
//! - even indices (0, 2, 4, etc) represent lines
//! - odd indices (1, 3, 5, etc) represent tracks
//! - These is always an odd number of
-//! - Index 1 is the leftmost track of the implict grid. Index 3 is the second leftmost track, etc.
+//! - Index 1 is the leftmost track of the implicit grid. Index 3 is the second leftmost track, etc.
//! - Index 0 is the leftmost grid line. Index 2 is the second leftmost line, etc.
//!
use crate::{compute::grid::OriginZeroLine, geometry::Line};
use core::ops::Range;
/// Stores the number of tracks in a given dimension.
-/// Stores seperately the number of tracks in the implicit and explicit grids
+/// Stores separately the number of tracks in the implicit and explicit grids
#[derive(Clone, Copy, Debug, PartialEq, Default)]
pub(crate) struct TrackCounts {
/// The number of track in the implicit grid before the explicit grid
@@ -87,7 +87,7 @@ impl TrackCounts {
}
/// Converts a track as an index into the CellOccupancyMatrix into the grid line immediately
- /// preceeding that track in OriginZero coordinates.
+ /// preceding that track in OriginZero coordinates.
pub fn track_to_prev_oz_line(&self, index: u16) -> OriginZeroLine {
OriginZeroLine((index as i16) - (self.negative_implicit as i16))
}
diff --git a/src/geometry.rs b/src/geometry.rs
index b3db9953e..7d620adc0 100644
--- a/src/geometry.rs
+++ b/src/geometry.rs
@@ -362,7 +362,7 @@ impl<U, T: Sub<U>> Sub<Size<U>> for Size<T> {
}
}
-// Note: we allow dead_code here as we want to provide a complete API of helpers that is symetrical in all axes,
+// Note: we allow dead_code here as we want to provide a complete API of helpers that is symmetrical in all axes,
// but sometimes we only currently have a use for the helper in a single axis
#[allow(dead_code)]
impl<T> Size<T> {
diff --git a/src/lib.rs b/src/lib.rs
index 039b1fc16..577abf778 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -11,7 +11,7 @@
//! - A [`Layout`] struct containing a position (x/y) and a size (width/height) which function as the output of the layout computations.
//! - Optionally:
//! - A `Vec` set of child nodes
-//! - "Context": arbitary user-defined data (which you can access when using a "measure function" to integrate Taffy with other kinds of layout such as text layout)
+//! - "Context": arbitrary user-defined data (which you can access when using a "measure function" to integrate Taffy with other kinds of layout such as text layout)
//!
//! Usage of Taffy consists of constructing a tree of UI nodes (with associated styles, children and context), then calling function(s)
//! from Taffy to translate those styles, parent-child relationships and measure functions into a size and position in 2d space for each node
diff --git a/src/style/dimension.rs b/src/style/dimension.rs
index 6c99cbc97..fb5e910b9 100644
--- a/src/style/dimension.rs
+++ b/src/style/dimension.rs
@@ -209,7 +209,7 @@ impl AvailableSpace {
}
/// Convert to Option
- /// Definite values become Some(value). Contraints become None.
+ /// Definite values become Some(value). Constraints become None.
pub fn into_option(self) -> Option<f32> {
match self {
AvailableSpace::Definite(value) => Some(value),
diff --git a/src/style/grid.rs b/src/style/grid.rs
index 63a76a0e3..5d77e3593 100644
--- a/src/style/grid.rs
+++ b/src/style/grid.rs
@@ -542,7 +542,7 @@ pub enum TrackSizingFunction {
/// A single non-repeated track
Single(NonRepeatedTrackSizingFunction),
/// Automatically generate grid tracks to fit the available space using the specified definite track lengths
- /// Only valid if every track in template (not just the repitition) has a fixed size.
+ /// Only valid if every track in template (not just the repetition) has a fixed size.
Repeat(GridTrackRepetition, GridTrackVec<NonRepeatedTrackSizingFunction>),
}
impl TrackSizingFunction {
diff --git a/src/style/mod.rs b/src/style/mod.rs
index 8fe8730a0..f77973156 100644
--- a/src/style/mod.rs
+++ b/src/style/mod.rs
@@ -203,7 +203,7 @@ pub struct Style {
#[cfg_attr(feature = "serde", serde(default = "style_helpers::auto"))]
pub inset: Rect<LengthPercentageAuto>,
- // Size properies
+ // Size properties
/// Sets the initial size of the item
#[cfg_attr(feature = "serde", serde(default = "style_helpers::auto"))]
pub size: Size<Dimension>,
@@ -255,7 +255,7 @@ pub struct Style {
#[cfg_attr(feature = "serde", serde(default = "style_helpers::zero"))]
pub gap: Size<LengthPercentage>,
- // Flexbox properies
+ // Flexbox properties
/// Which direction does the main axis flow in?
#[cfg(feature = "flexbox")]
pub flex_direction: FlexDirection,
@@ -276,7 +276,7 @@ pub struct Style {
#[cfg(feature = "flexbox")]
pub flex_shrink: f32,
- // Grid container properies
+ // Grid container properties
/// Defines the track sizing functions (widths) of the grid rows
#[cfg(feature = "grid")]
pub grid_template_rows: GridTrackVec<TrackSizingFunction>,
@@ -319,7 +319,7 @@ impl Style {
aspect_ratio: None,
#[cfg(any(feature = "flexbox", feature = "grid"))]
gap: Size::zero(),
- // Aligment
+ // Alignment
#[cfg(any(feature = "flexbox", feature = "grid"))]
align_items: None,
#[cfg(any(feature = "flexbox", feature = "grid"))]
diff --git a/src/style_helpers.rs b/src/style_helpers.rs
index a85e03508..1f4d43cb9 100644
--- a/src/style_helpers.rs
+++ b/src/style_helpers.rs
@@ -62,8 +62,8 @@ pub fn evenly_sized_tracks(count: u16) -> Vec<TrackSizingFunction> {
}
/// Specifies a grid line to place a grid item between in CSS Grid Line coordinates:
-/// - Positive indicies count upwards from the start (top or left) of the explicit grid
-/// - Negative indicies count downwards from the end (bottom or right) of the explicit grid
+/// - Positive indices count upwards from the start (top or left) of the explicit grid
+/// - Negative indices count downwards from the end (bottom or right) of the explicit grid
/// - ZERO IS INVALID index, and will be treated as a GridPlacement::Auto.
pub fn line<T: TaffyGridLine>(index: i16) -> T {
T::from_line_index(index)
diff --git a/src/tree/taffy_tree.rs b/src/tree/taffy_tree.rs
index 876058edc..e93d7d27c 100644
--- a/src/tree/taffy_tree.rs
+++ b/src/tree/taffy_tree.rs
@@ -779,7 +779,7 @@ mod tests {
}
#[test]
- fn remove_node_should_detach_herarchy() {
+ fn remove_node_should_detach_hierarchy() {
let mut taffy: TaffyTree<()> = TaffyTree::new();
// Build a linear tree layout: <0> <- <1> <- <2>
diff --git a/test_fixtures/block/block_absolute_margin_auto_mutiple_children_with_inset.html b/test_fixtures/block/block_absolute_margin_auto_multiple_children_with_inset.html
similarity index 100%
rename from test_fixtures/block/block_absolute_margin_auto_mutiple_children_with_inset.html
rename to test_fixtures/block/block_absolute_margin_auto_multiple_children_with_inset.html
diff --git a/test_fixtures/block/block_absolute_margin_auto_mutiple_children_without_inset.html b/test_fixtures/block/block_absolute_margin_auto_multiple_children_without_inset.html
similarity index 100%
rename from test_fixtures/block/block_absolute_margin_auto_mutiple_children_without_inset.html
rename to test_fixtures/block/block_absolute_margin_auto_multiple_children_without_inset.html
diff --git a/test_fixtures/block/block_margin_auto_mutiple_children.html b/test_fixtures/block/block_margin_auto_multiple_children.html
similarity index 100%
rename from test_fixtures/block/block_margin_auto_mutiple_children.html
rename to test_fixtures/block/block_margin_auto_multiple_children.html
diff --git a/test_fixtures/block/block_overflow_scrollbars_overriden_by_available_space.html b/test_fixtures/block/block_overflow_scrollbars_overridden_by_available_space.html
similarity index 100%
rename from test_fixtures/block/block_overflow_scrollbars_overriden_by_available_space.html
rename to test_fixtures/block/block_overflow_scrollbars_overridden_by_available_space.html
diff --git a/test_fixtures/block/block_overflow_scrollbars_overriden_by_max_size.html b/test_fixtures/block/block_overflow_scrollbars_overridden_by_max_size.html
similarity index 100%
rename from test_fixtures/block/block_overflow_scrollbars_overriden_by_max_size.html
rename to test_fixtures/block/block_overflow_scrollbars_overridden_by_max_size.html
diff --git a/test_fixtures/block/block_overflow_scrollbars_overriden_by_size.html b/test_fixtures/block/block_overflow_scrollbars_overridden_by_size.html
similarity index 100%
rename from test_fixtures/block/block_overflow_scrollbars_overriden_by_size.html
rename to test_fixtures/block/block_overflow_scrollbars_overridden_by_size.html
diff --git a/test_fixtures/flex/align_flex_start_with_stretching_children.html b/test_fixtures/flex/align_flex_start_with_stretching_children.html
index 4cdf7cafd..83b34b429 100644
--- a/test_fixtures/flex/align_flex_start_with_stretching_children.html
+++ b/test_fixtures/flex/align_flex_start_with_stretching_children.html
@@ -10,7 +10,7 @@
<body>
<div id="test-root" style="height: 500px; width: 500px;">
- <div style="align-items: strech;">
+ <div style="align-items: stretch;">
<div style="flex-grow: 1; flex-shrink: 1;">
<div style="flex-grow: 1; flex-shrink: 1;"></div>
</div>
diff --git a/test_fixtures/flex/margin_auto_mutiple_children_column.html b/test_fixtures/flex/margin_auto_multiple_children_column.html
similarity index 100%
rename from test_fixtures/flex/margin_auto_mutiple_children_column.html
rename to test_fixtures/flex/margin_auto_multiple_children_column.html
diff --git a/test_fixtures/flex/margin_auto_mutiple_children_row.html b/test_fixtures/flex/margin_auto_multiple_children_row.html
similarity index 100%
rename from test_fixtures/flex/margin_auto_mutiple_children_row.html
rename to test_fixtures/flex/margin_auto_multiple_children_row.html
diff --git a/test_fixtures/flex/overflow_scrollbars_overriden_by_available_space.html b/test_fixtures/flex/overflow_scrollbars_overridden_by_available_space.html
similarity index 100%
rename from test_fixtures/flex/overflow_scrollbars_overriden_by_available_space.html
rename to test_fixtures/flex/overflow_scrollbars_overridden_by_available_space.html
diff --git a/test_fixtures/flex/overflow_scrollbars_overriden_by_max_size.html b/test_fixtures/flex/overflow_scrollbars_overridden_by_max_size.html
similarity index 100%
rename from test_fixtures/flex/overflow_scrollbars_overriden_by_max_size.html
rename to test_fixtures/flex/overflow_scrollbars_overridden_by_max_size.html
diff --git a/test_fixtures/flex/overflow_scrollbars_overriden_by_size.html b/test_fixtures/flex/overflow_scrollbars_overridden_by_size.html
similarity index 100%
rename from test_fixtures/flex/overflow_scrollbars_overriden_by_size.html
rename to test_fixtures/flex/overflow_scrollbars_overridden_by_size.html
diff --git a/test_fixtures/grid/grid_aspect_ratio_overriden_by_explicit_sizes.html b/test_fixtures/grid/grid_aspect_ratio_overridden_by_explicit_sizes.html
similarity index 100%
rename from test_fixtures/grid/grid_aspect_ratio_overriden_by_explicit_sizes.html
rename to test_fixtures/grid/grid_aspect_ratio_overridden_by_explicit_sizes.html
diff --git a/test_fixtures/grid/grid_aspect_ratio_overriden_by_explicit_sizes_flex.html b/test_fixtures/grid/grid_aspect_ratio_overridden_by_explicit_sizes_flex.html
similarity index 100%
rename from test_fixtures/grid/grid_aspect_ratio_overriden_by_explicit_sizes_flex.html
rename to test_fixtures/grid/grid_aspect_ratio_overridden_by_explicit_sizes_flex.html
diff --git a/test_fixtures/grid/grid_overflow_scrollbars_overriden_by_available_space.html b/test_fixtures/grid/grid_overflow_scrollbars_overridden_by_available_space.html
similarity index 100%
rename from test_fixtures/grid/grid_overflow_scrollbars_overriden_by_available_space.html
rename to test_fixtures/grid/grid_overflow_scrollbars_overridden_by_available_space.html
diff --git a/test_fixtures/grid/grid_overflow_scrollbars_overriden_by_max_size.html b/test_fixtures/grid/grid_overflow_scrollbars_overridden_by_max_size.html
similarity index 100%
rename from test_fixtures/grid/grid_overflow_scrollbars_overriden_by_max_size.html
rename to test_fixtures/grid/grid_overflow_scrollbars_overridden_by_max_size.html
diff --git a/test_fixtures/grid/grid_overflow_scrollbars_overriden_by_size.html b/test_fixtures/grid/grid_overflow_scrollbars_overridden_by_size.html
similarity index 100%
rename from test_fixtures/grid/grid_overflow_scrollbars_overriden_by_size.html
rename to test_fixtures/grid/grid_overflow_scrollbars_overridden_by_size.html
diff --git a/test_fixtures/leaf/leaf_overflow_scrollbars_overriden_by_available_space.html b/test_fixtures/leaf/leaf_overflow_scrollbars_overridden_by_available_space.html
similarity index 100%
rename from test_fixtures/leaf/leaf_overflow_scrollbars_overriden_by_available_space.html
rename to test_fixtures/leaf/leaf_overflow_scrollbars_overridden_by_available_space.html
diff --git a/test_fixtures/leaf/leaf_overflow_scrollbars_overriden_by_max_size.html b/test_fixtures/leaf/leaf_overflow_scrollbars_overridden_by_max_size.html
similarity index 100%
rename from test_fixtures/leaf/leaf_overflow_scrollbars_overriden_by_max_size.html
rename to test_fixtures/leaf/leaf_overflow_scrollbars_overridden_by_max_size.html
diff --git a/test_fixtures/leaf/leaf_overflow_scrollbars_overriden_by_size.html b/test_fixtures/leaf/leaf_overflow_scrollbars_overridden_by_size.html
similarity index 100%
rename from test_fixtures/leaf/leaf_overflow_scrollbars_overriden_by_size.html
rename to test_fixtures/leaf/leaf_overflow_scrollbars_overridden_by_size.html
diff --git a/tests/generated/block/block_absolute_margin_auto_mutiple_children_with_inset.rs b/tests/generated/block/block_absolute_margin_auto_multiple_children_with_inset.rs
similarity index 98%
rename from tests/generated/block/block_absolute_margin_auto_mutiple_children_with_inset.rs
rename to tests/generated/block/block_absolute_margin_auto_multiple_children_with_inset.rs
index f1ed913f7..03dc53c1d 100644
--- a/tests/generated/block/block_absolute_margin_auto_mutiple_children_with_inset.rs
+++ b/tests/generated/block/block_absolute_margin_auto_multiple_children_with_inset.rs
@@ -1,5 +1,5 @@
#[test]
-fn block_absolute_margin_auto_mutiple_children_with_inset() {
+fn block_absolute_margin_auto_multiple_children_with_inset() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/block/block_absolute_margin_auto_mutiple_children_without_inset.rs b/tests/generated/block/block_absolute_margin_auto_multiple_children_without_inset.rs
similarity index 98%
rename from tests/generated/block/block_absolute_margin_auto_mutiple_children_without_inset.rs
rename to tests/generated/block/block_absolute_margin_auto_multiple_children_without_inset.rs
index 4bf15bf5b..e3396ac65 100644
--- a/tests/generated/block/block_absolute_margin_auto_mutiple_children_without_inset.rs
+++ b/tests/generated/block/block_absolute_margin_auto_multiple_children_without_inset.rs
@@ -1,5 +1,5 @@
#[test]
-fn block_absolute_margin_auto_mutiple_children_without_inset() {
+fn block_absolute_margin_auto_multiple_children_without_inset() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/block/block_margin_auto_mutiple_children.rs b/tests/generated/block/block_margin_auto_multiple_children.rs
similarity index 99%
rename from tests/generated/block/block_margin_auto_mutiple_children.rs
rename to tests/generated/block/block_margin_auto_multiple_children.rs
index 8073567e9..a7d01d0b5 100644
--- a/tests/generated/block/block_margin_auto_mutiple_children.rs
+++ b/tests/generated/block/block_margin_auto_multiple_children.rs
@@ -1,5 +1,5 @@
#[test]
-fn block_margin_auto_mutiple_children() {
+fn block_margin_auto_multiple_children() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/block/block_overflow_scrollbars_overriden_by_available_space.rs b/tests/generated/block/block_overflow_scrollbars_overridden_by_available_space.rs
similarity index 98%
rename from tests/generated/block/block_overflow_scrollbars_overriden_by_available_space.rs
rename to tests/generated/block/block_overflow_scrollbars_overridden_by_available_space.rs
index 164f16c9e..cb29af1b5 100644
--- a/tests/generated/block/block_overflow_scrollbars_overriden_by_available_space.rs
+++ b/tests/generated/block/block_overflow_scrollbars_overridden_by_available_space.rs
@@ -1,5 +1,5 @@
#[test]
-fn block_overflow_scrollbars_overriden_by_available_space() {
+fn block_overflow_scrollbars_overridden_by_available_space() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/block/block_overflow_scrollbars_overriden_by_max_size.rs b/tests/generated/block/block_overflow_scrollbars_overridden_by_max_size.rs
similarity index 98%
rename from tests/generated/block/block_overflow_scrollbars_overriden_by_max_size.rs
rename to tests/generated/block/block_overflow_scrollbars_overridden_by_max_size.rs
index 975b349e3..5c82fbdca 100644
--- a/tests/generated/block/block_overflow_scrollbars_overriden_by_max_size.rs
+++ b/tests/generated/block/block_overflow_scrollbars_overridden_by_max_size.rs
@@ -1,5 +1,5 @@
#[test]
-fn block_overflow_scrollbars_overriden_by_max_size() {
+fn block_overflow_scrollbars_overridden_by_max_size() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/block/block_overflow_scrollbars_overriden_by_size.rs b/tests/generated/block/block_overflow_scrollbars_overridden_by_size.rs
similarity index 98%
rename from tests/generated/block/block_overflow_scrollbars_overriden_by_size.rs
rename to tests/generated/block/block_overflow_scrollbars_overridden_by_size.rs
index 0f84ccb36..a876cb28e 100644
--- a/tests/generated/block/block_overflow_scrollbars_overriden_by_size.rs
+++ b/tests/generated/block/block_overflow_scrollbars_overridden_by_size.rs
@@ -1,5 +1,5 @@
#[test]
-fn block_overflow_scrollbars_overriden_by_size() {
+fn block_overflow_scrollbars_overridden_by_size() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/block/mod.rs b/tests/generated/block/mod.rs
index fbef6c84a..2d788da3c 100644
--- a/tests/generated/block/mod.rs
+++ b/tests/generated/block/mod.rs
@@ -36,8 +36,8 @@ mod block_absolute_margin_auto_left_right_child_bigger_than_parent_with_inset;
mod block_absolute_margin_auto_left_right_child_bigger_than_parent_without_inset;
mod block_absolute_margin_auto_left_with_inset;
mod block_absolute_margin_auto_left_without_inset;
-mod block_absolute_margin_auto_mutiple_children_with_inset;
-mod block_absolute_margin_auto_mutiple_children_without_inset;
+mod block_absolute_margin_auto_multiple_children_with_inset;
+mod block_absolute_margin_auto_multiple_children_without_inset;
mod block_absolute_margin_auto_right_with_inset;
mod block_absolute_margin_auto_right_without_inset;
mod block_absolute_margin_auto_top_with_inset;
@@ -85,7 +85,7 @@ mod block_margin_auto_left_and_right;
mod block_margin_auto_left_child_bigger_than_parent;
mod block_margin_auto_left_fix_right_child_bigger_than_parent;
mod block_margin_auto_left_right_child_bigger_than_parent;
-mod block_margin_auto_mutiple_children;
+mod block_margin_auto_multiple_children;
mod block_margin_auto_right;
mod block_margin_auto_top;
mod block_margin_x_fixed_auto_bottom;
@@ -169,9 +169,9 @@ mod block_margin_y_simple_positive_percentage_other;
mod block_margin_y_simple_positive_percentage_self;
mod block_margin_y_total_collapse;
mod block_margin_y_total_collapse_complex;
-mod block_overflow_scrollbars_overriden_by_available_space;
-mod block_overflow_scrollbars_overriden_by_max_size;
-mod block_overflow_scrollbars_overriden_by_size;
+mod block_overflow_scrollbars_overridden_by_available_space;
+mod block_overflow_scrollbars_overridden_by_max_size;
+mod block_overflow_scrollbars_overridden_by_size;
mod block_overflow_scrollbars_take_up_space_both_axis;
mod block_overflow_scrollbars_take_up_space_cross_axis;
mod block_overflow_scrollbars_take_up_space_main_axis;
diff --git a/tests/generated/flex/margin_auto_mutiple_children_column.rs b/tests/generated/flex/margin_auto_multiple_children_column.rs
similarity index 99%
rename from tests/generated/flex/margin_auto_mutiple_children_column.rs
rename to tests/generated/flex/margin_auto_multiple_children_column.rs
index 54b079245..c3ae92889 100644
--- a/tests/generated/flex/margin_auto_mutiple_children_column.rs
+++ b/tests/generated/flex/margin_auto_multiple_children_column.rs
@@ -1,5 +1,5 @@
#[test]
-fn margin_auto_mutiple_children_column() {
+fn margin_auto_multiple_children_column() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/flex/margin_auto_mutiple_children_row.rs b/tests/generated/flex/margin_auto_multiple_children_row.rs
similarity index 99%
rename from tests/generated/flex/margin_auto_mutiple_children_row.rs
rename to tests/generated/flex/margin_auto_multiple_children_row.rs
index 44898124c..c5250f4a9 100644
--- a/tests/generated/flex/margin_auto_mutiple_children_row.rs
+++ b/tests/generated/flex/margin_auto_multiple_children_row.rs
@@ -1,5 +1,5 @@
#[test]
-fn margin_auto_mutiple_children_row() {
+fn margin_auto_multiple_children_row() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/flex/mod.rs b/tests/generated/flex/mod.rs
index 674f41ba3..c3873c3ca 100644
--- a/tests/generated/flex/mod.rs
+++ b/tests/generated/flex/mod.rs
@@ -346,8 +346,8 @@ mod margin_auto_left_child_bigger_than_parent;
mod margin_auto_left_fix_right_child_bigger_than_parent;
mod margin_auto_left_right_child_bigger_than_parent;
mod margin_auto_left_stretching_child;
-mod margin_auto_mutiple_children_column;
-mod margin_auto_mutiple_children_row;
+mod margin_auto_multiple_children_column;
+mod margin_auto_multiple_children_row;
mod margin_auto_right;
mod margin_auto_top;
mod margin_auto_top_and_bottom_stretch;
@@ -405,9 +405,9 @@ mod overflow_main_axis_shrink_hidden;
mod overflow_main_axis_shrink_scroll;
mod overflow_main_axis_shrink_visible;
mod overflow_scroll_main_axis_justify_content_end;
-mod overflow_scrollbars_overriden_by_available_space;
-mod overflow_scrollbars_overriden_by_max_size;
-mod overflow_scrollbars_overriden_by_size;
+mod overflow_scrollbars_overridden_by_available_space;
+mod overflow_scrollbars_overridden_by_max_size;
+mod overflow_scrollbars_overridden_by_size;
mod overflow_scrollbars_take_up_space_both_axis;
mod overflow_scrollbars_take_up_space_cross_axis;
mod overflow_scrollbars_take_up_space_main_axis;
diff --git a/tests/generated/flex/overflow_scrollbars_overriden_by_available_space.rs b/tests/generated/flex/overflow_scrollbars_overridden_by_available_space.rs
similarity index 98%
rename from tests/generated/flex/overflow_scrollbars_overriden_by_available_space.rs
rename to tests/generated/flex/overflow_scrollbars_overridden_by_available_space.rs
index 8d532751a..f6a18aeda 100644
--- a/tests/generated/flex/overflow_scrollbars_overriden_by_available_space.rs
+++ b/tests/generated/flex/overflow_scrollbars_overridden_by_available_space.rs
@@ -1,5 +1,5 @@
#[test]
-fn overflow_scrollbars_overriden_by_available_space() {
+fn overflow_scrollbars_overridden_by_available_space() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/flex/overflow_scrollbars_overriden_by_max_size.rs b/tests/generated/flex/overflow_scrollbars_overridden_by_max_size.rs
similarity index 98%
rename from tests/generated/flex/overflow_scrollbars_overriden_by_max_size.rs
rename to tests/generated/flex/overflow_scrollbars_overridden_by_max_size.rs
index 366ae7612..86ceb4e1c 100644
--- a/tests/generated/flex/overflow_scrollbars_overriden_by_max_size.rs
+++ b/tests/generated/flex/overflow_scrollbars_overridden_by_max_size.rs
@@ -1,5 +1,5 @@
#[test]
-fn overflow_scrollbars_overriden_by_max_size() {
+fn overflow_scrollbars_overridden_by_max_size() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/flex/overflow_scrollbars_overriden_by_size.rs b/tests/generated/flex/overflow_scrollbars_overridden_by_size.rs
similarity index 98%
rename from tests/generated/flex/overflow_scrollbars_overriden_by_size.rs
rename to tests/generated/flex/overflow_scrollbars_overridden_by_size.rs
index 16a6b7100..31b4749f7 100644
--- a/tests/generated/flex/overflow_scrollbars_overriden_by_size.rs
+++ b/tests/generated/flex/overflow_scrollbars_overridden_by_size.rs
@@ -1,5 +1,5 @@
#[test]
-fn overflow_scrollbars_overriden_by_size() {
+fn overflow_scrollbars_overridden_by_size() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/grid/grid_aspect_ratio_overriden_by_explicit_sizes.rs b/tests/generated/grid/grid_aspect_ratio_overridden_by_explicit_sizes.rs
similarity index 98%
rename from tests/generated/grid/grid_aspect_ratio_overriden_by_explicit_sizes.rs
rename to tests/generated/grid/grid_aspect_ratio_overridden_by_explicit_sizes.rs
index c404d84d6..d111b9cbc 100644
--- a/tests/generated/grid/grid_aspect_ratio_overriden_by_explicit_sizes.rs
+++ b/tests/generated/grid/grid_aspect_ratio_overridden_by_explicit_sizes.rs
@@ -1,5 +1,5 @@
#[test]
-fn grid_aspect_ratio_overriden_by_explicit_sizes() {
+fn grid_aspect_ratio_overridden_by_explicit_sizes() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/grid/grid_aspect_ratio_overriden_by_explicit_sizes_flex.rs b/tests/generated/grid/grid_aspect_ratio_overridden_by_explicit_sizes_flex.rs
similarity index 98%
rename from tests/generated/grid/grid_aspect_ratio_overriden_by_explicit_sizes_flex.rs
rename to tests/generated/grid/grid_aspect_ratio_overridden_by_explicit_sizes_flex.rs
index 601fb9505..9077dfc32 100644
--- a/tests/generated/grid/grid_aspect_ratio_overriden_by_explicit_sizes_flex.rs
+++ b/tests/generated/grid/grid_aspect_ratio_overridden_by_explicit_sizes_flex.rs
@@ -1,5 +1,5 @@
#[test]
-fn grid_aspect_ratio_overriden_by_explicit_sizes_flex() {
+fn grid_aspect_ratio_overridden_by_explicit_sizes_flex() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/grid/grid_overflow_scrollbars_overriden_by_available_space.rs b/tests/generated/grid/grid_overflow_scrollbars_overridden_by_available_space.rs
similarity index 98%
rename from tests/generated/grid/grid_overflow_scrollbars_overriden_by_available_space.rs
rename to tests/generated/grid/grid_overflow_scrollbars_overridden_by_available_space.rs
index e05f31ca2..f0f0c9306 100644
--- a/tests/generated/grid/grid_overflow_scrollbars_overriden_by_available_space.rs
+++ b/tests/generated/grid/grid_overflow_scrollbars_overridden_by_available_space.rs
@@ -1,5 +1,5 @@
#[test]
-fn grid_overflow_scrollbars_overriden_by_available_space() {
+fn grid_overflow_scrollbars_overridden_by_available_space() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/grid/grid_overflow_scrollbars_overriden_by_max_size.rs b/tests/generated/grid/grid_overflow_scrollbars_overridden_by_max_size.rs
similarity index 98%
rename from tests/generated/grid/grid_overflow_scrollbars_overriden_by_max_size.rs
rename to tests/generated/grid/grid_overflow_scrollbars_overridden_by_max_size.rs
index d3517f0e9..c8afdcd6b 100644
--- a/tests/generated/grid/grid_overflow_scrollbars_overriden_by_max_size.rs
+++ b/tests/generated/grid/grid_overflow_scrollbars_overridden_by_max_size.rs
@@ -1,5 +1,5 @@
#[test]
-fn grid_overflow_scrollbars_overriden_by_max_size() {
+fn grid_overflow_scrollbars_overridden_by_max_size() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/grid/grid_overflow_scrollbars_overriden_by_size.rs b/tests/generated/grid/grid_overflow_scrollbars_overridden_by_size.rs
similarity index 98%
rename from tests/generated/grid/grid_overflow_scrollbars_overriden_by_size.rs
rename to tests/generated/grid/grid_overflow_scrollbars_overridden_by_size.rs
index 69b94a76c..c13f22cee 100644
--- a/tests/generated/grid/grid_overflow_scrollbars_overriden_by_size.rs
+++ b/tests/generated/grid/grid_overflow_scrollbars_overridden_by_size.rs
@@ -1,5 +1,5 @@
#[test]
-fn grid_overflow_scrollbars_overriden_by_size() {
+fn grid_overflow_scrollbars_overridden_by_size() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/grid/mod.rs b/tests/generated/grid/mod.rs
index f953fcee2..5aa52dafc 100644
--- a/tests/generated/grid/mod.rs
+++ b/tests/generated/grid/mod.rs
@@ -145,9 +145,9 @@ mod grid_aspect_ratio_fill_child_min_width;
#[cfg(feature = "grid")]
mod grid_aspect_ratio_fill_child_width;
#[cfg(feature = "grid")]
-mod grid_aspect_ratio_overriden_by_explicit_sizes;
+mod grid_aspect_ratio_overridden_by_explicit_sizes;
#[cfg(feature = "grid")]
-mod grid_aspect_ratio_overriden_by_explicit_sizes_flex;
+mod grid_aspect_ratio_overridden_by_explicit_sizes_flex;
#[cfg(feature = "grid")]
mod grid_auto_columns;
#[cfg(feature = "grid")]
@@ -397,11 +397,11 @@ mod grid_overflow_inline_axis_visible;
#[cfg(feature = "grid")]
mod grid_overflow_rows;
#[cfg(feature = "grid")]
-mod grid_overflow_scrollbars_overriden_by_available_space;
+mod grid_overflow_scrollbars_overridden_by_available_space;
#[cfg(feature = "grid")]
-mod grid_overflow_scrollbars_overriden_by_max_size;
+mod grid_overflow_scrollbars_overridden_by_max_size;
#[cfg(feature = "grid")]
-mod grid_overflow_scrollbars_overriden_by_size;
+mod grid_overflow_scrollbars_overridden_by_size;
#[cfg(feature = "grid")]
mod grid_overflow_scrollbars_take_up_space_both_axis;
#[cfg(feature = "grid")]
diff --git a/tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_available_space.rs b/tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_available_space.rs
similarity index 98%
rename from tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_available_space.rs
rename to tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_available_space.rs
index 9cb66e5e9..c6bc1eb9b 100644
--- a/tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_available_space.rs
+++ b/tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_available_space.rs
@@ -1,5 +1,5 @@
#[test]
-fn leaf_overflow_scrollbars_overriden_by_available_space() {
+fn leaf_overflow_scrollbars_overridden_by_available_space() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_max_size.rs b/tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_max_size.rs
similarity index 97%
rename from tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_max_size.rs
rename to tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_max_size.rs
index 8c04ff348..f5105bb9d 100644
--- a/tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_max_size.rs
+++ b/tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_max_size.rs
@@ -1,5 +1,5 @@
#[test]
-fn leaf_overflow_scrollbars_overriden_by_max_size() {
+fn leaf_overflow_scrollbars_overridden_by_max_size() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_size.rs b/tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_size.rs
similarity index 97%
rename from tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_size.rs
rename to tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_size.rs
index afb3690f0..7bae570b1 100644
--- a/tests/generated/leaf/leaf_overflow_scrollbars_overriden_by_size.rs
+++ b/tests/generated/leaf/leaf_overflow_scrollbars_overridden_by_size.rs
@@ -1,5 +1,5 @@
#[test]
-fn leaf_overflow_scrollbars_overriden_by_size() {
+fn leaf_overflow_scrollbars_overridden_by_size() {
#[allow(unused_imports)]
use taffy::{prelude::*, tree::Layout, TaffyTree};
let mut taffy: TaffyTree<crate::TextMeasure> = TaffyTree::new();
diff --git a/tests/generated/leaf/mod.rs b/tests/generated/leaf/mod.rs
index 59c25aeb5..161131924 100644
--- a/tests/generated/leaf/mod.rs
+++ b/tests/generated/leaf/mod.rs
@@ -1,8 +1,8 @@
mod leaf_overflow_scrollbars_affect_available_space_x_axis;
mod leaf_overflow_scrollbars_affect_available_space_y_axis;
-mod leaf_overflow_scrollbars_overriden_by_available_space;
-mod leaf_overflow_scrollbars_overriden_by_max_size;
-mod leaf_overflow_scrollbars_overriden_by_size;
+mod leaf_overflow_scrollbars_overridden_by_available_space;
+mod leaf_overflow_scrollbars_overridden_by_max_size;
+mod leaf_overflow_scrollbars_overridden_by_size;
mod leaf_overflow_scrollbars_take_up_space_both_axis;
mod leaf_overflow_scrollbars_take_up_space_x_axis;
mod leaf_overflow_scrollbars_take_up_space_y_axis;