1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +00:00

LibWeb: Implement Node.cloneNode()

With this we can now successfully run a Vue.js 2 hello world! :^)
This commit is contained in:
Linus Groh 2021-04-14 01:25:10 +02:00 committed by Andreas Kling
parent d721c93beb
commit 5da4c9bf1e
4 changed files with 71 additions and 1 deletions

View file

@ -35,7 +35,7 @@ class ProcessingInstruction final : public CharacterData {
public:
using WrapperType = Bindings::ProcessingInstructionWrapper;
ProcessingInstruction(Document&, const String&, const String&);
ProcessingInstruction(Document&, const String& data, const String& target);
virtual ~ProcessingInstruction() override;
virtual FlyString node_name() const override { return m_target; }