[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 06:26:40 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit cdb297323a7f2e2aa3ea53bca1017dd49dc12f3f
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jul 24 00:53:41 2002 +0000

    	Fixing two bugs here.  The first is bug with @import sheets not inheriting strict parsing mode from their parent sheet.
    	This means all @import sheets are being treated as strict mode!
    
    	The second bug is in KWQ.  We were never calling determineParseMode, so we always defaulted to strict mode, and therefore
    	were highly intolerant of unitless numbers on absolutely positioned blocks.  This fixes many problems, notably www.netscape.com
    	and ZDNet.com on the cvs-base tests.
            * khtml/css/cssparser.h:
            * kwq/KWQKHTMLPartImpl.mm:
            (KWQKHTMLPartImpl::write):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1643 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 1bb5ead..260f697 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,15 @@
+2002-07-23  David Hyatt  <hyatt at apple.com>
+
+	Fixing two bugs here.  The first is bug with @import sheets not inheriting strict parsing mode from their parent sheet.
+	This means all @import sheets are being treated as strict mode! 
+
+	The second bug is in KWQ.  We were never calling determineParseMode, so we always defaulted to strict mode, and therefore
+	were highly intolerant of unitless numbers on absolutely positioned blocks.  This fixes many problems, notably www.netscape.com
+	and ZDNet.com on the cvs-base tests.
+        * khtml/css/cssparser.h:
+        * kwq/KWQKHTMLPartImpl.mm:
+        (KWQKHTMLPartImpl::write):
+
 2002-07-23  Darin Adler  <darin at apple.com>
 
 	- fixed 3004818 -- relative urls are assembled incorrectly at ticketmaster
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 1bb5ead..260f697 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,15 @@
+2002-07-23  David Hyatt  <hyatt at apple.com>
+
+	Fixing two bugs here.  The first is bug with @import sheets not inheriting strict parsing mode from their parent sheet.
+	This means all @import sheets are being treated as strict mode! 
+
+	The second bug is in KWQ.  We were never calling determineParseMode, so we always defaulted to strict mode, and therefore
+	were highly intolerant of unitless numbers on absolutely positioned blocks.  This fixes many problems, notably www.netscape.com
+	and ZDNet.com on the cvs-base tests.
+        * khtml/css/cssparser.h:
+        * kwq/KWQKHTMLPartImpl.mm:
+        (KWQKHTMLPartImpl::write):
+
 2002-07-23  Darin Adler  <darin at apple.com>
 
 	- fixed 3004818 -- relative urls are assembled incorrectly at ticketmaster
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 1bb5ead..260f697 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,15 @@
+2002-07-23  David Hyatt  <hyatt at apple.com>
+
+	Fixing two bugs here.  The first is bug with @import sheets not inheriting strict parsing mode from their parent sheet.
+	This means all @import sheets are being treated as strict mode! 
+
+	The second bug is in KWQ.  We were never calling determineParseMode, so we always defaulted to strict mode, and therefore
+	were highly intolerant of unitless numbers on absolutely positioned blocks.  This fixes many problems, notably www.netscape.com
+	and ZDNet.com on the cvs-base tests.
+        * khtml/css/cssparser.h:
+        * kwq/KWQKHTMLPartImpl.mm:
+        (KWQKHTMLPartImpl::write):
+
 2002-07-23  Darin Adler  <darin at apple.com>
 
 	- fixed 3004818 -- relative urls are assembled incorrectly at ticketmaster
diff --git a/WebCore/khtml/css/cssparser.h b/WebCore/khtml/css/cssparser.h
index 9bda69b..24fb714 100644
--- a/WebCore/khtml/css/cssparser.h
+++ b/WebCore/khtml/css/cssparser.h
@@ -116,7 +116,7 @@ public:
     {
     public:
 	StyleBaseImpl()  { m_parent = 0; hasInlinedDecl = false; strictParsing = true; }
-	StyleBaseImpl(StyleBaseImpl *p) { m_parent = p; hasInlinedDecl = false; strictParsing = true; }
+	StyleBaseImpl(StyleBaseImpl *p) { m_parent = p; hasInlinedDecl = false; strictParsing = (m_parent ? m_parent->useStrictParsing() : true); }
 
 	virtual ~StyleBaseImpl() {}
 
diff --git a/WebCore/kwq/KWQKHTMLPart.mm b/WebCore/kwq/KWQKHTMLPart.mm
index 171c025..dfa9331 100644
--- a/WebCore/kwq/KWQKHTMLPart.mm
+++ b/WebCore/kwq/KWQKHTMLPart.mm
@@ -280,9 +280,12 @@ void KWQKHTMLPartImpl::write( const char *str, int len )
             return;
         }
     }
-
+    
+    if (m_decodingStarted == false)
+	d->m_doc->determineParseMode( decoded );
+   
     m_decodingStarted = true;
-        
+    
 #if FIGURE_OUT_WHAT_APPLY_CHANGES_DOES
     d->m_doc->applyChanges();
 #endif    
diff --git a/WebCore/kwq/KWQKHTMLPartImpl.mm b/WebCore/kwq/KWQKHTMLPartImpl.mm
index 171c025..dfa9331 100644
--- a/WebCore/kwq/KWQKHTMLPartImpl.mm
+++ b/WebCore/kwq/KWQKHTMLPartImpl.mm
@@ -280,9 +280,12 @@ void KWQKHTMLPartImpl::write( const char *str, int len )
             return;
         }
     }
-
+    
+    if (m_decodingStarted == false)
+	d->m_doc->determineParseMode( decoded );
+   
     m_decodingStarted = true;
-        
+    
 #if FIGURE_OUT_WHAT_APPLY_CHANGES_DOES
     d->m_doc->applyChanges();
 #endif    

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list