Summary: | CSS identifiers wrongly parsed as colors (ePub) | ||
---|---|---|---|
Product: | MuPDF | Reporter: | Pablo Rodríguez <ghostscript> |
Component: | mupdf | Assignee: | MuPDF bugs <mupdf-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | tor.andersson |
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Customer: | Word Size: | --- | |
Bug Depends on: | |||
Bug Blocks: | 695935 | ||
Attachments: | ePub with CSS selectors for unique identifiers parsed as colors |
Fixed in master. Issue may be closed. Tor, many thanks for all improved code from today. |
Created attachment 11631 [details] ePub with CSS selectors for unique identifiers parsed as colors The attached ePub file contains the following CSS code: #myownclass > h1 { font-weight: normal; font-style: italic; } #myownclass > p { font-weight: bold; text-align: right; } When I open it with mupdf from master, I get the following errors: error: css syntax error: invalid color (stylesheet.css:1) warning: ignoring stylesheet stylesheet.css epub: found spine ch001.xhtml error: css syntax error: invalid color (stylesheet.css:1) warning: ignoring stylesheet stylesheet.css I”m afraid that mupdf is parsing as colors what are CSS selectors for unique identifiers. Could you fix this?