Menu

#56 z-index values should be integers

closed
nobody
None
1
2015-01-10
2014-09-26
No

according to the specs, the value of z-index should be integer rather than float.

a small test case

        String css = "p {z-index: 10;}";
        StyleSheet styleSheet = CSSFactory.parse(css);
        System.out.println(styleSheet);

Discussion

  • Anonymous

    Anonymous - 2014-10-27

    Update:

    The type of the Term is TermInteger but when we call toString() method we get floating point value.

     
  • Radek Burget

    Radek Burget - 2014-10-30

    I have rewritten the toString() method, it should be fixed in master now.

     
  • Chetan Kothari

    Chetan Kothari - 2014-10-30

    Thanks for the fix @Radek. The test case passes.

     
  • Radek Burget

    Radek Burget - 2014-10-31
    • status: open --> accepted
     
  • Radek Burget

    Radek Burget - 2015-01-10
    • status: accepted --> closed
     
  • Radek Burget

    Radek Burget - 2015-01-10

    Closed in 1.19

     

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.