url() calls are not parsed as `URLToken` anymore in 1.1
Closed this issue · 1 comments
arthurdarcet commented
under tinycss2-1.0.2
>>> tinycss2.parse_one_component_value('url("path")')
<URLToken url(path)>
with tinycss2-1.1.0
>>> tinycss2.parse_one_component_value('url("path")')
<FunctionBlock url( … )>
I'm not exactly sure how much sense this URLToken makes - but I would say that we should either:
- remove the URLToken class, and document this breaking change
- fix the parser to yield URLToken again
(French here as well btw, if you prefer switching to French!)
arthurdarcet commented
Sorry, dup of #33