Menu

org.w3c.dom.css support?

mercury
2014-07-15
2015-01-03
  • mercury

    mercury - 2014-07-15

    Hi,

    Thanks for creating this project.

    However, after parsing the returned result seems to be incompatible with org.w3c.dom.css API. Since many projects already use this API, do you plan to support it?

    best,
    mercury

     
  • Radek Burget

    Radek Burget - 2014-07-17

    Hello,
    actually, jStyleParser was created because I found the DOM CSS API too generic and not efficient for Java applications. For example, you obtain most of the property values as strings and you have to parse them (e.g. lengths, colors, etc.) Since there are many issues to be solved in jStyleParser (e.g. more CSS3 support, etc.) I will be probably not able to implement the DOM CSS support myself in a near future. However, if someone contributed an optional support for the DOM CSS API, I would include it in jStyleParser with pleasure because it might be useful for more projects as you mention.

    Regards
    Radek

     
  • mercury

    mercury - 2014-12-03

    Hi again,

    We have now open-sourced our implementation here:
    https://github.com/UprootLabs/jStyleDomBridge

    cheers!

     
  • Radek Burget

    Radek Burget - 2015-01-03

    Many thanks for your work. I have placed a link to the jStyleParser web (documentation) as well.

     

Log in to post a comment.

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.