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
commit 5da4c9bf1e
Notes: sideshowbarker 2024-07-18 20:24:17 +09:00
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; }