1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 04:24:58 +00:00
serenity/Userland/Libraries/LibWeb/MathML
Andreas Kling b98a2be96b LibWeb: Ignore window-forwarded document.body.onfoo in detached DOM
Normally, assigning to e.g document.body.onload will forward to
window.onload. However, in a detached DOM tree, there is no associated
window, so we have nowhere to forward to, making this a no-op.

The bulk of this change is making Document::window() return a nullable
pointer, as documents created by DOMParser or DOMImplementation do not
have an associated window object, and so must be able to return null
from here.
2024-03-11 18:29:10 +01:00
..
Default.css LibWeb: Add the default user agent MathML stylesheet 2023-08-12 07:59:23 +01:00
MathMLElement.cpp LibWeb: Port Intrinsics from DeprecatedString 2023-11-28 17:15:27 -05:00
MathMLElement.h LibWeb: Ignore window-forwarded document.body.onfoo in detached DOM 2024-03-11 18:29:10 +01:00
MathMLElement.idl LibWeb: Add the MathML Element 2023-08-12 07:59:23 +01:00
TagNames.cpp LibWeb: Generate MathML Elements 2023-08-12 07:59:23 +01:00
TagNames.h LibWeb: Generate MathML Elements 2023-08-12 07:59:23 +01:00