summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Window.cpp
AgeCommit message (Collapse)Author
2022-03-24LibWeb: Weakly store a reference to the Window object in timer tasksTimothy Flynn
This prevents a crash when refreshing or navigating away from the Acid3 test page while it is actively running.
2022-03-17Libraries: Use default constructors/destructors in LibWebLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-03-16LibWeb: Implement window.nameSimon Wanner
Right now the only functionality supported is getting/setting via JS and resetting when browsing cross origin. The HTML Specification (7.11 Browsing the web) also specifies how the name should be restored from history entries, but we don't have those yet.
2022-03-16LibWeb: Add missing MEDIAQUERIES-5 media-featuresSam Atkins
This adds (or at least stubs-out) the following: - display-mode - dynamic-range - environment-blending - forced-colors - horizontal-viewport-segments - vertical-viewport-segments - inverted-colors - nav-controls - prefers-contrast - prefers-reduced-data - prefers-reduced-motion - prefers-reduced-transparency - scripting - video-color-gamut - video-dynamic-range The `@media (inverted-colors)` CSS that the spec requires we add to the UA style sheet does not actually do anything for us yet since we don't support `filter`, but it seemed sensible to include it now to avoid forgetting later. :^)
2022-03-10LibWeb: Add window.sessionStoragePaul Wratt
2022-03-09LibWeb: Use ValueID for media-query identifiersSam Atkins
2022-03-09LibWeb: Use MediaFeatureIDs instead of Strings :^)Sam Atkins
2022-03-08LibWeb: Move Timer from DOM directory & namespace to HTMLLinus Groh
Timers are part of the HTML spec. :^) https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers
2022-03-08LibWeb: Move Window from DOM directory & namespace to HTMLLinus Groh
The Window object is part of the HTML spec. :^) https://html.spec.whatwg.org/multipage/window-object.html