Menu

#47 error parsing property without value

closed
nobody
parsing (2)
1
2015-01-10
2014-09-10
No

the entire rule is discarded if there is some property that is not recognized in the css standards.
eg.
consider just null; without any value then the entire rule block is discarded by the parser.

Discussion

  • mercury

    mercury - 2014-09-17

    (I can't find a way to watch or star the issues on SF. Hence adding a comment and hoping to get notifications.)

     
  • Radek Burget

    Radek Burget - 2014-09-26

    I am currently working on this. The error recovery is quite complex and fixing this issue breaks other tests. I will do a complete revision.

     
  • Radek Burget

    Radek Burget - 2014-09-29

    I have made several revisions; the issue is hopefully fixed by this commit. I hope I haven't broken some other part (but the tests are passing well).

     
  • Chetan Kothari

    Chetan Kothari - 2014-09-29

    Thanks Radek, the problem that we were facing has been solved. Tested it with the test case that was failing. I had forgotten to add a test case in the issue. It is as follows.

     <html>                                                                                                                                       
       <head>
         <style>
           p {
             null;
             color: red;
           }
         </style>
       </head>
       <body>
         <p>red</p>
         <p style="null;color:green;">green</p>
       </body>
     </html>
    
     
  • Chetan Kothari

    Chetan Kothari - 2014-09-29

    The test case that I added in the previous comment, was the one which was failing, and after the fix it works as expected.

     
  • Radek Burget

    Radek Burget - 2014-09-30
    • 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.