mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 18:28:57 +00:00
LibWeb/DOM: Implement Node.lookupPrefix
Adds https://dom.spec.whatwg.org/#dom-node-lookupprefix
This commit is contained in:
parent
9e32c9329a
commit
9624e0d2a2
Notes:
github-actions[bot]
2024-07-27 23:52:45 +00:00
Author: https://github.com/aescarias
Commit: 9624e0d2a2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/870
Reviewed-by: https://github.com/tcl3 ✅
7 changed files with 109 additions and 1 deletions
|
@ -106,6 +106,8 @@ public:
|
|||
|
||||
void set_prefix(Optional<FlyString> value);
|
||||
|
||||
Optional<String> locate_a_namespace_prefix(Optional<String> const& namespace_) const;
|
||||
|
||||
// NOTE: This is for the JS bindings
|
||||
Optional<FlyString> const& namespace_uri() const { return m_qualified_name.namespace_(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue