- roll out previous change -- I (Vicki) accidentally committed this change!
authorkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 May 2004 00:57:25 +0000 (00:57 +0000)
committerkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 May 2004 00:57:25 +0000 (00:57 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6628 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog-2005-08-23
WebCore/khtml/xml/dom_stringimpl.cpp

index 099a50a8df00e3ac3a48bc76477ebaf06f47123b..3c1df7052d1b3d1eb0185a918fe363200915d7dd 100644 (file)
@@ -1,10 +1,3 @@
-2004-05-18  Decker Kevin  <kdecker@apple.com>
-
-        Reviewed by NOBODY (OOPS!).
-
-        * khtml/xml/dom_stringimpl.cpp:
-        (DOM::parseLength):
-
 2004-05-18  Richard Williamson   <rjw@apple.com>
 
        Added stubs to get the WebScriptObject for the window
index a7c57b912b895ce7c84133001f45387d112dbe0d..c465a45f4025f69ef26c03aa3be780b7d9e1f80a 100644 (file)
@@ -219,14 +219,9 @@ DOMStringImpl *DOMStringImpl::substring(uint pos, uint len)
     return new DOMStringImpl(s + pos, len);
 }
 
-static Length parseLength(QChar *s, unsigned int l) //kevin was here
-{
+static Length parseLength(QChar *s, unsigned int l) {
     const QChar* last = s+l-1;
     
-    if(!s->isDigit()) {
-        return Length(1,Relative);
-    }
-    
     if ( *last == QChar('%')) {
         // CSS allows one decimal after the point, like
         //  42.2%, but not 42.22%