mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement XMLSerializer interface
This commit is contained in:
parent
e58226814f
commit
c6433efc1d
8 changed files with 76 additions and 67 deletions
13
components/script/dom/webidls/XMLSerializer.webidl
Normal file
13
components/script/dom/webidls/XMLSerializer.webidl
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
/*
|
||||
* The origin of this IDL file is
|
||||
* https://w3c.github.io/DOM-Parsing/#the-domparser-interface
|
||||
*/
|
||||
|
||||
[Constructor]
|
||||
interface XMLSerializer {
|
||||
[Throws]
|
||||
DOMString serializeToString(Node root);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue