mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 12:08:14 +00:00
LibWeb: Add spec comments to DOMImplementation
This commit is contained in:
parent
d3d67857b2
commit
d8ae02ef59
2 changed files with 35 additions and 5 deletions
|
@ -25,7 +25,11 @@ public:
|
|||
WebIDL::ExceptionOr<JS::NonnullGCPtr<DocumentType>> create_document_type(DeprecatedString const& qualified_name, DeprecatedString const& public_id, DeprecatedString const& system_id);
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
||||
bool has_feature() const { return true; }
|
||||
bool has_feature() const
|
||||
{
|
||||
// The hasFeature() method steps are to return true.
|
||||
return true;
|
||||
}
|
||||
|
||||
private:
|
||||
explicit DOMImplementation(Document&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue