ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-values
Callum Law a44e28fd56
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
LibWeb: Avoid premature creation of CSSPixels in calc simplification
Previously we were converting lengths to CSSPixels values when we didn't
need to, this had a couple of effects in that:
 - We rounded to CSSPixel resolution prematurely (sometimes giving
   incorrect results)
 - We converted NaN to 0 when we shouldn't have.

We now avoid prematurely converting lengths to CSSPixels values in two
places:
 - `CalculationResult::from_value`
 - `CalculatedStyleValue::resolve_length_deprecated` (the new method
   already avoided rounding).

Gains us 16 WPT tests.
2025-08-06 14:57:34 +01:00
..
animations LibWeb: Absolutize keyframe values before interpolating 2025-06-24 12:36:47 +01:00
tree-counting LibWeb: Handle non-numeric font-weight values in keyframes 2025-06-25 09:01:56 +02:00
urls LibWeb: Absolutize CSS image URLs for computed style resolution 2025-06-03 19:30:43 -04:00
acos-asin-atan-atan2-computed.txt LibWeb: Set numeric type of asin, acos, atan calculation results 2025-06-25 05:19:07 +01:00
acos-asin-atan-atan2-serialize.txt LibWeb: Set numeric type of asin, acos, atan calculation results 2025-06-25 05:19:07 +01:00
attr-all-types.txt LibWeb/CSS: Parse initial value using syntax from @property 2025-08-04 11:08:46 +01:00
attr-container-style-query.txt Tests: Import attr()-related WPT tests 2025-07-16 14:47:45 +01:00
attr-cycle.txt LibWeb/CSS: Implement type(<syntax>) in attr() 2025-07-16 14:47:45 +01:00
attr-IACVT.txt Tests: Import attr()-related WPT tests 2025-07-16 14:47:45 +01:00
attr-invalidation.txt LibWeb/CSS: Implement type(<syntax>) in attr() 2025-07-16 14:47:45 +01:00
attr-null-namespace.txt LibWeb/CSS: Implement type(<syntax>) in attr() 2025-07-16 14:47:45 +01:00
attr-security.txt LibWeb/CSS: Add CSS.registerProperty JS method 2025-07-22 10:57:54 +01:00
attr-universal-selector.txt Tests: Import attr()-related WPT tests 2025-07-16 14:47:45 +01:00
calc-in-media-queries-with-mixed-units.txt LibWeb: Skip inverted non-canonical values when simplifying product node 2025-08-06 14:53:22 +01:00
calc-infinity-nan-computed.txt LibWeb: Avoid premature creation of CSSPixels in calc simplification 2025-08-06 14:57:34 +01:00
calc-infinity-nan-serialize-length.txt LibWeb: Avoid premature creation of CSSPixels in calc simplification 2025-08-06 14:57:34 +01:00
calc-serialization-002.txt LibWeb/CSS: Remove an ad-hoc simplification step in calc() parsing 2025-03-05 12:05:45 +00:00
calc-serialization.txt LibWeb/CSS: Remove an ad-hoc simplification step in calc() parsing 2025-03-05 12:05:45 +00:00
calc-z-index-fractions-001.txt LibWeb: Correctly round non-integer z-indexes 2025-08-05 06:37:40 +01:00
clamp-length-computed.txt LibWeb: Simplify standalone CSS math functions when used outside calc() 2025-04-24 20:38:00 +02:00
exp-log-invalid.txt LibWeb: Validate operator count when parsing a calculation 2025-07-02 10:12:58 +01:00
getComputedStyle-calc-mixed-units-003.txt LibWeb: Skip inverted non-canonical values when simplifying product node 2025-08-06 14:53:22 +01:00
hypot-pow-sqrt-computed.txt LibWeb: Correctly compute consistent type when simplifying hypot 2025-06-30 14:53:04 +02:00
hypot-pow-sqrt-invalid.txt LibWeb: Validate operator count when parsing a calculation 2025-07-02 10:12:58 +01:00
minmax-angle-computed.txt LibWeb: Simplify standalone CSS math functions when used outside calc() 2025-04-24 20:38:00 +02:00
minmax-angle-invalid.txt LibWeb: Validate operator count when parsing a calculation 2025-07-02 10:12:58 +01:00
minmax-length-invalid.txt LibWeb: Validate operator count when parsing a calculation 2025-07-02 10:12:58 +01:00
minmax-percentage-invalid.txt LibWeb: Validate operator count when parsing a calculation 2025-07-02 10:12:58 +01:00
minmax-time-invalid.txt LibWeb: Validate operator count when parsing a calculation 2025-07-02 10:12:58 +01:00
round-mod-rem-computed.txt LibWeb: Simplify standalone CSS math functions when used outside calc() 2025-04-24 20:38:00 +02:00
signs-abs-computed.txt LibWeb: Make CSS sign(A) ignore A's unit and just look at the raw value 2025-05-20 13:28:40 +02:00
signs-abs-invalid.txt LibWeb: Validate operator count when parsing a calculation 2025-07-02 10:12:58 +01:00
sin-cos-tan-serialize.txt LibWeb: Only serialize CSS numbers with up to 5 decimals 2025-05-18 17:23:34 +02:00