>>> LexborHTMLParser("", is_fragment=True).css("test")
Traceback (most recent call last):
File "<python-input-2>", line 1, in <module>
LexborHTMLParser("", is_fragment=True).css("test")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "selectolax/lexbor.pyx", line 404, in selectolax.lexbor.LexborHTMLParser.css
AttributeError: 'NoneType' object has no attribute 'css'
I believe this is because .root is None. In this case, I suspect the correct behaviour is to yield no results.