Open Bug 1866189 Opened 2 years ago Updated 2 years ago

Failing two subtests in acos-asin-atan-atan2-computed.html where we evaluate to "none" for invalid atan2 rotate values

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

People

(Reporter: twisniewski, Unassigned)

References

(Blocks 1 open bug)

Details

We fail 2 subtests in http://wpt.live/css/css-values/acos-asin-atan-atan2-computed.html
wpt.fyi: https://wpt.fyi/results/css/css-values/acos-asin-atan-atan2-computed.html

atan2(1rem + 1px - 1px, -1rem) should be used-value-equivalent to 135deg

assert_not_equals: atan2(1rem + 1px - 1px, -1rem) isn't valid in 'rotate'; got the default value instead. got disallowed value "none"

And:

atan2(1vh + 0px, -1vh + 0px) should be used-value-equivalent to 135deg

assert_not_equals: atan2(1vh + 0px, -1vh + 0px) isn't valid in 'rotate'; got the default value instead. got disallowed value "none"

All engines fail these because it's a massive can of worms, see https://github.com/w3c/csswg-drafts/issues/8169

Severity: -- → S3
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.