Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibWeb/CSS: Remove inaccurate VERIFY from CalculationResult::from_value
The goal of this VERIFY was to ensure that we didn't mess up the logic for calculating the correct type. However, it's now unable to do so because it doesn't have access to the CalculationContext, which determines what type percentages are. This makes it crash when running the simplification algorithm. The benefits of this check are small, and it meant doing extra work, so let's just remove it.
- Loading branch information