1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:27:34 +00:00

LibWeb: Implement Node.nodeValue DOM attribute

This commit is contained in:
Adam Hodgen 2022-02-18 22:11:43 +00:00 committed by Andreas Kling
parent 929074ddea
commit c6dd8a1f66
3 changed files with 30 additions and 0 deletions

View file

@ -19,6 +19,7 @@ interface Node : EventTarget {
readonly attribute Document? ownerDocument;
Node getRootNode(optional GetRootNodeOptions options = {});
[CEReactions] attribute DOMString? nodeValue;
// FIXME: [LegacyNullToEmptyString] is not allowed on nullable types as per the Web IDL spec.
// However, we only apply it to setters, so this works as a stop gap.
// Replace this with something like a special cased [LegacyNullToEmptyString].