In _parseAtPage, for example, the line src = src[len('@page '):].lstrip() will throw a ParseError for the following valid css @page{/_..._/}