You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test tests that setting width or height to an empty string has no effect, but I don't believe this is a valid reading of the spec. The width and height properties are unsigned longs - An empty string is equivalent to +0 according to the spec https://tc39.es/ecma262/#sec-tonumber and the OffscreenCanvas spec makes no mention (that I see) of 0 being an invalid value for width or height. As far as I can tell, a correct implementation of OffscreenCanvas would fail this test.
The text was updated successfully, but these errors were encountered:
This test tests that setting width or height to an empty string has no effect, but I don't believe this is a valid reading of the spec. The width and height properties are unsigned longs - An empty string is equivalent to +0 according to the spec https://tc39.es/ecma262/#sec-tonumber and the OffscreenCanvas spec makes no mention (that I see) of 0 being an invalid value for width or height. As far as I can tell, a correct implementation of OffscreenCanvas would fail this test.
The text was updated successfully, but these errors were encountered: