Re: [csswg-drafts] [web-animations-1] should an animation be ready if its associated target's document lacks a browsing context? (#8439)

> That code sample produces the same result in Chrome Canary (112.0.5568.0), Firefox Nightly (111.0a1, 2023-02-11) and Safari Technology Preview 163 with the animation marked pending (as expected).

Oh, you're right. I don't know what the test was I ran but last week I encountered one case where Chrome was resolving the ready Promise while Firefox wasn't.

I had a look at the original issue and I think it comes back to this comment from the original commit: https://hg.mozilla.org/mozilla-central/rev/a9805d5b89d741e7532aa469e15354533204fffa#l2.11

That is, no-one seems to resolve style for elements in documents without a browsing context.

This comes from (bug 1370123)[https://bugzilla.mozilla.org/show_bug.cgi?id=1370123].


-- 
GitHub Notification of comment by birtles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8439#issuecomment-1429186567 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 14 February 2023 06:21:31 UTC