Sam Atkins
70e3a48892
LibWeb: Stub out "focus-without-user-activation" feature policy
...
For now this always returns that focus is allowed, as that matches our
previous behavior.
Corresponds to d7053d86ad
2025-03-14 20:33:25 +00:00
Luke Wilde
435f839ced
LibWeb: Only stash Element's CryptographicNonce if there's a CSP header
2025-03-13 16:19:22 +01:00
Sam Atkins
604400f758
LibWeb/HTML: Ensure HTMLOrSVGElement is BC-connected when running steps
2025-02-13 14:49:19 +00:00
Sam Atkins
3775f3399c
LibWeb: Fix various typos
...
Corresponds to:
- https://github.com/whatwg/html/pull/10934
- https://github.com/whatwg/html/pull/10950
2025-01-30 15:00:16 +00:00
Tim Ledbetter
a467005855
LibWeb: Make node cloning methods const
2025-01-11 23:10:09 +01:00
Sam Atkins
2e96ba11e4
LibWeb/HTML: Update cloning steps to current spec algorithms
...
Reflects the changes in https://github.com/whatwg/html/pull/10859
I've also added missing calls to the Base::cloned() method, and modified
a couple of spec links to point to the multipage version.
I took the liberty to fix a spec typo, and submitted a PR for it:
https://github.com/whatwg/html/pull/10892
2025-01-05 21:11:50 +00:00
Shannon Booth
f87041bf3a
LibGC+Everywhere: Factor out a LibGC from LibJS
...
Resulting in a massive rename across almost everywhere! Alongside the
namespace change, we now have the following names:
* JS::NonnullGCPtr -> GC::Ref
* JS::GCPtr -> GC::Ptr
* JS::HeapFunction -> GC::Function
* JS::CellImpl -> GC::Cell
* JS::Handle -> GC::Root
2024-11-15 14:49:20 +01:00
Timothy Flynn
d4f8b598cb
LibWeb: Consolidate the attribute change handlers
...
We currently have 2 virtual methods to inform DOM::Element subclasses
when an attribute has changed, one of which is spec-compliant. This
patch removes the non-compliant variant.
2024-11-14 15:39:02 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00