DOMTokenList now works and has tests. hooked up to classList prop on dom, so makes working with that nicer as it has utility methods
Server Sent Events is started . inludes a new library and is a lot of fun to play with so far. more to come on that I imagine.
0.9.5
Adds history to window with back/forward methods. Uses f-strings everywhere Updates svg with fixes from Kainech
0.9.4
Adds evaluate method to Document which should make playing with xpath simpler Adds length to Node for compatiblity Merges fixes to Polygon by FrackOverflow General code clean up
0.9.3
Adds strings for complex ones that don't pass on CLI examples Adds document.stylesheets to the docs Adds css selector to CLI like the xpath one Adds open and close methods to document. Fixes DocumentFragment issue. Makes default document an instance Adds fastapi and blacksheep hello worlds
there's no 0.9.2 btw. don't ask.
0.9.1
Adds polygon fixes in d3 module by FrackOverlow
Adds cssselect lib
0.9.0
html5lib included now by default.
also new ext for html5_parser...
import html5_parser from domonic.ext.html5_parser_ import parse root = parse(some_html_string, treebuilder='domonic')
turns out that's a pain to get working on windows though.