Stef Busking

Results 8 issues of Stef Busking

For example: ``` const createComment = document.createComment; createComment('data'); ``` Firefox throws in this case: Uncaught TypeError: 'createComment' called on an object that does not implement interface Document.

:+1: enhancement

Main problem here is that W3C/web-platform-tests is a >500M repo, cloning it on every test run seems wasteful, especially given that we only need the 2.2M dom tests.

:memo: tests & docs

I've experimented with typedoc earlier to generate docs, but there are still a few issues: - [ ] Find a way to omit internal fields and types from the docs...

:+1: enhancement

In some cases it could be helpful to be able to create separate instances of the entire library, including its global document. We should add a way to create a...

:+1: enhancement

Some interfaces such as Element do not have a constructor according to the DOM standard. We could use an internal token argument to check if calls are coming from inside...

:+1: enhancement

Given a `document` that contains an element, and the following code: ``` const fragment = document.createDocumentFragment(); const element = fragment.appendChild(document.createElement('element')); document.replaceChildren(fragment); ``` Expected result: `document` now only contains `element` Actual...

See the following playground example: https://xpath.playground.fontoxml.com/?state=H4sIACFKG2MAAzVMWwqDMBC8ynS%2FFARrP4PNHXqEtd1CIRpIV1FC7u4qOD%2FzYGYyjfEj5LqGFk4%2FHoL8yVEu1NA6BpO9UesP%2B5olbZZwSrwho%2BqgEY%2B7ocYN%2FRC49Sh4epwV9w2sKlNVw%2BbvOKmsep1Q2QEhXQJZewAAAA%3D%3D Expected: sequence of the 20k items in the array Actual: stack overflow in both Chrome and Firefox I wasn't able to determine exactly where...

For some applications it would be helpful to have a way to map a given node back to its corresponding span(s) in the source XML. We could add an optional...

:+1: enhancement