Closed Bug 1867418 Opened 2 years ago Closed 2 years ago

Investigate failing WPT minmax-length-percent-serialize.html (due to a test change which was later reverted)

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: twisniewski, Unassigned)

References

()

Details

See https://wpt.fyi/results/css/css-values/minmax-length-percent-serialize.html

We're failing these 2 tests:

'max((min(10%, 30px) + 10px) * 2 + 10px, 5em + 5%)' as a specified value should serialize as 'max(10px + (10px + min(10%, 30px)) * 2, 5% + 5em)'.
'max((min(10%, 30px) + 10px) * 2 + 10px, 5em + 5%)' as a computed value should serialize as 'max(10px + (10px + min(10%, 30px)) * 2, 5% + 80px)'.

The failures are:

!EQ("max(10px + (10px + min(10%, 30px)) * 2, 5% + 5em)",
    "max(10px + ((10px + min(10%, 30px)) * 2), 5% + 5em)")
!EQ("max(10px + (10px + min(10%, 30px)) * 2, 5% + 80px)",
    "max(10px + ((10px + min(10%, 30px)) * 2), 5% + 80px)")

This is invalid. We're adding parenthesis around the product node but that's what the spec says to do, see https://github.com/web-platform-tests/wpt/pull/43364#issuecomment-1836461822

Our failure here was due to a recent test change, which was reverted in response to Emilio's comment on the pull request that he linked in comment 1 here.

Since the change was reverted, we're currently at 100% passing on https://wpt.fyi/results/css/css-values/minmax-length-percent-serialize.html so there's nothing more to do here.

Calling INVALID per comment 1, and adjusting summary to clarify.

No longer blocks: interop-2023-mathfunctions
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
Summary: Investigate failing WPT minmax-length-percent-serialize.html → Investigate failing WPT minmax-length-percent-serialize.html (due to a test change which was later reverted)
You need to log in before you can comment on or make changes to this bug.