mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
54454952e0
Step 1 of the spec is to capture the <script> element's node document
into a local variable.
When I originally implemented this, I thought this was not necessary.
However, I realised that the script that runs can adopt the current
script element into a different document, meaning step 5.4 and 6 then
operate on the incorrect document.
Covered by this WPT:
|
||
---|---|---|
.. | ||
DOM | ||
Encoding | ||
HTML | ||
Pages | ||
Window | ||
libweb_tester.d.ts |