Menu

problem with font-family attribute

Help
foxbaucia
2011-09-22
2012-07-18
  • foxbaucia

    foxbaucia - 2011-09-22

    Hi,

    I just changed the version to the latest one, and when I run the getCssText()
    of a style sheet, the font-family value is coming without the comas that
    separate the different families in a same rule.

    That was not happening in the previous version :(

    Do you know how can I fix it?

    I replaced the version because the last one was giving me error when I parse
    an @import(), but now I'm having this issue.

    Thanks in advance.

    Martin Fox.-

     
  • foxbaucia

    foxbaucia - 2011-09-22

    To be more clear in my problem i give an example.

    We have the attribute in a rule like:

    anId {

    font-family: arial, verdana, sans-serif;

    }

    When we make the toString() of the constructed CSSStyleSheet it is returning:

    anId {

    font-family: arial verdana sans-serif;

    }

    Thanks,

     

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.