Bug 696003 - :lang, :before and :after pseudo-class selectors not working in ePub CSS
Summary: :lang, :before and :after pseudo-class selectors not working in ePub CSS
Status: UNCONFIRMED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: epub (show other bugs)
Version: master
Hardware: Other All
: P4 enhancement
Assignee: MuPDF bugs
URL:
Keywords:
Depends on:
Blocks: 695935
  Show dependency tree
 
Reported: 2015-05-20 11:00 UTC by Pablo Rodríguez
Modified: 2023-05-09 11:01 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
ePub document with non-working pseudo-class selectors (3.35 KB, application/epub+zip)
2015-05-20 11:00 UTC, Pablo Rodríguez
Details
ePub with pseudo-classes (13.71 KB, image/png)
2015-05-20 11:03 UTC, Pablo Rodríguez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Rodríguez 2015-05-20 11:00:46 UTC
Created attachment 11698 [details]
ePub document with non-working pseudo-class selectors

Tor,

:lang, :before and :after pseudo-class selectors don’t work in current master for ePub.

The CSS code is the following:

    :lang(de) {
        font-style: italic;
        }

    span:before {
        content: "»"}

    span:after {
        content: "«"}

I attach an ePub file that shows the issue.

Many thanks for your help,


Pablo
Comment 1 Pablo Rodríguez 2015-05-20 11:03:46 UTC
Created attachment 11699 [details]
ePub with pseudo-classes

mupdf display is on the left and ebook-viewer display is on the right.
Comment 2 Pablo Rodríguez 2016-11-15 10:37:01 UTC
Issue still present in version 1.10-rc1.
Comment 3 Pablo Rodríguez 2017-11-26 12:17:04 UTC
The issue is still present in version 1.12-rc1.
Comment 4 Pablo Rodríguez 2018-09-27 11:10:30 UTC
I’m afraid that version 1.14-rc1 cannot handle pseudo-classes.
Comment 5 Tor Andersson 2023-05-09 11:01:51 UTC
We have no current plans to implement pseudo-class selectors.