[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    [PATCH] CSS parsing
From:       Pascal =?iso-8859-1?q?L=E9tourneau?= <pletourn () iname ! com>
Date:       2002-03-27 15:21:47
[Download RAW message or body]

Hi,

IE allows '//' comment.

Pascal Létourneau


Index: cssparser.cpp
===================================================================
RCS file: /cvs/kdelibs/khtml/css/cssparser.cpp,v
retrieving revision 1.208
diff -u -3 -p -r1.208 cssparser.cpp
--- cssparser.cpp       2002/03/01 05:22:56     1.208
+++ cssparser.cpp       2002/03/27 06:03:09
@@ -140,6 +140,10 @@ StyleBaseImpl::parseSpace(const QChar *c
       {
           ic = true;
       }
+      else if (sc && (*curP == '/'))
+      {
+          break;
+      }
       else if (*curP == '/')
       {
           sc = true;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic