[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:52:00 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 62b359d7c1c65f0075bbd61c118d9e3fd296fe23
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jul 20 23:52:56 2004 +0000

    	Fix for 3714434, user stylesheet is always parsed in strict mode, when it should honor the document's setting.
    
            Reviewed by john
    
            * khtml/css/cssstyleselector.cpp:
            (khtml::CSSStyleSelector::CSSStyleSelector):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@7081 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index c0c0360..6d90cd4 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2004-07-20  David Hyatt  <hyatt at apple.com>
+
+	Fix for 3714434, user stylesheet is always parsed in strict mode, when it should honor the document's setting.
+	
+        Reviewed by john
+
+        * khtml/css/cssstyleselector.cpp:
+        (khtml::CSSStyleSelector::CSSStyleSelector):
+
 2004-07-20  Ken Kocienda  <kocienda at apple.com>
 
         Reviewed by Richard
diff --git a/WebCore/khtml/css/cssstyleselector.cpp b/WebCore/khtml/css/cssstyleselector.cpp
index 16f8d23..14a8825 100644
--- a/WebCore/khtml/css/cssstyleselector.cpp
+++ b/WebCore/khtml/css/cssstyleselector.cpp
@@ -141,9 +141,9 @@ CSSStyleSelector::CSSStyleSelector( DocumentImpl* doc, QString userStyleSheet, S
     paintDeviceMetrics = doc->paintDeviceMetrics();
 
     // FIXME: This sucks! The user sheet is reparsed every time!
-    if ( !userStyleSheet.isEmpty() ) {
+    if (!userStyleSheet.isEmpty()) {
         m_userSheet = new DOM::CSSStyleSheetImpl(doc);
-        m_userSheet->parseString( DOMString( userStyleSheet ) );
+        m_userSheet->parseString(DOMString(userStyleSheet), strictParsing);
 
         m_userStyle = new CSSRuleSet();
         m_userStyle->addRulesFromSheet( m_userSheet, m_medium );

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list