aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/w3c-xmlserializer/README.md
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
commitafa87af01c79a9baa539f2992d32154d2a4739bd (patch)
tree92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/w3c-xmlserializer/README.md
parent3b927e84d200402281f68181cd4253bc77e5528d (diff)
downloadneko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip
task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
Diffstat (limited to 'vanilla/node_modules/w3c-xmlserializer/README.md')
-rw-r--r--vanilla/node_modules/w3c-xmlserializer/README.md41
1 files changed, 0 insertions, 41 deletions
diff --git a/vanilla/node_modules/w3c-xmlserializer/README.md b/vanilla/node_modules/w3c-xmlserializer/README.md
deleted file mode 100644
index da4790f..0000000
--- a/vanilla/node_modules/w3c-xmlserializer/README.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# w3c-xmlserializer
-
-An XML serializer that follows the [W3C specification](https://w3c.github.io/DOM-Parsing/).
-
-This package can be used in Node.js, as long as you feed it a DOM node, e.g. one produced by [jsdom](https://github.com/jsdom/jsdom).
-
-## Basic usage
-
-Assume you have a DOM tree rooted at a node `node`. In Node.js, you could create this using [jsdom](https://github.com/jsdom/jsdom) as follows:
-
-```js
-const { JSDOM } = require("jsdom");
-
-const { document } = new JSDOM().window;
-const node = document.createElement("akomaNtoso");
-```
-
-Then, you use this package as follows:
-
-
-```js
-const serialize = require("w3c-xmlserializer");
-
-console.log(serialize(node));
-// => '<akomantoso xmlns="http://www.w3.org/1999/xhtml"></akomantoso>'
-```
-
-## `requireWellFormed` option
-
-By default the input DOM tree is not required to be "well-formed"; any given input will serialize to some output string. You can instead require well-formedness via
-
-```js
-serialize(node, { requireWellFormed: true });
-```
-
-which will cause `Error`s to be thrown when non-well-formed constructs are encountered. [Per the spec](https://w3c.github.io/DOM-Parsing/#dfn-require-well-formed), this largely is about imposing constraints on the names of elements, attributes, etc.
-
-As a point of reference, on the web platform:
-
-* The [`innerHTML` getter](https://w3c.github.io/DOM-Parsing/#dom-innerhtml-innerhtml) uses the require-well-formed mode, i.e. trying to get the `innerHTML` of non-well-formed subtrees will throw.
-* The [`xhr.send()` method](https://xhr.spec.whatwg.org/#the-send()-method) does not require well-formedness, i.e. sending non-well-formed `Document`s will serialize and send them anyway.