Menu

#77 Pseudo selector parsing removes a :

0.9.23
closed
RBRi
None
1
2017-06-01
2017-05-14
Paul K
No

Hey,

looks like when parsing pseudo selectors it is removing one of the colons:

when parsing this rule:

.fancyscroll::-webkit-scrollbar { border: none; }

becomes:

.fancyscroll:-webkit-scrollbar { border: none; }

which isn't valid, tried version 0.9.22 and trunk

Cheers,
Paul

Discussion

  • Joshua Rule

    Joshua Rule - 2017-05-18

    I wasn't able to solve this nicely had to hack a solution, ran into an issue handling CSS2 :before, :after etc. pseudo elements.
    Main issue is the CSS2 interface isn't made for CSS3 https://www.w3.org/Style/CSS/SAC/doc/org/w3c/css/sac/Selector.html

    Ideally if that had a pseudo element legacy object for the CSS2 pseudo elements, we could handle those cases easily.

    -Joshua.

     
  • RBRi

    RBRi - 2017-05-19
    • status: open --> pending
    • assigned_to: RBRi
     
  • RBRi

    RBRi - 2017-05-19

    please try the latest snapshot

     
  • Paul K

    Paul K - 2017-05-21

    fix confirmed and working, thanks

     
  • RBRi

    RBRi - 2017-06-01
    • status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.