ladybird/Userland/Libraries/LibWeb/CSS/Parser
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
..
Block.cpp
Block.h
ComponentValue.cpp
ComponentValue.h
Declaration.cpp
Declaration.h LibWeb: Port custom properties to FlyString 2023-11-07 11:33:41 +01:00
DeclarationOrAtRule.cpp
DeclarationOrAtRule.h
Dimension.h
Function.cpp
Function.h
GradientParsing.cpp LibWeb: Use parse_length_percentage() for radial-gradient radii 2023-12-30 20:11:24 +01:00
Helpers.cpp Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
MediaParsing.cpp LibWeb: Use parsing helpers in parse_media_feature_value() 2023-12-30 20:11:24 +01:00
Parser.cpp Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
Parser.h Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
ParsingContext.cpp LibWeb: Ignore window-forwarded document.body.onfoo in detached DOM 2024-03-11 18:29:10 +01:00
ParsingContext.h Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
Rule.cpp
Rule.h
SelectorParsing.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Token.cpp
Token.h LibWeb: Use code_points helper for getting delim CSS token codepoint 2023-12-11 16:54:59 +01:00
Tokenizer.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Tokenizer.h
TokenStream.h LibWeb: Allow creating a TokenStream from a single token 2023-12-30 20:11:24 +01:00