[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
cblu
cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:46:25 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit e4f1df81643f8cb033791e64ed64dc9b2b995515
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Jul 8 19:01:28 2003 +0000
Fixed: <rdar://problem/3272398>: Safari strips/modifies underscores in EMBED tags
Reviewed by darin.
* khtml/html/htmltokenizer.cpp:
(HTMLTokenizer::parseTag): use tolower() to lowercase a char, don't use | 0x20 because that will cause chars like '_' to turn into junk
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index c38c72a..31b4d51 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2003-07-08 Chris Blumenberg <cblu at apple.com>
+
+ Fixed: <rdar://problem/3272398>: Safari strips/modifies underscores in EMBED tags
+
+ Reviewed by darin.
+
+ * khtml/html/htmltokenizer.cpp:
+ (HTMLTokenizer::parseTag): use tolower() to lowercase a char, don't use | 0x20 because that will cause chars like '_' to turn into junk
+
2003-07-08 Dave Hyatt <hyatt at apple.com>
Implementation of inline-block and a prototype of the XUL
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index c38c72a..31b4d51 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2003-07-08 Chris Blumenberg <cblu at apple.com>
+
+ Fixed: <rdar://problem/3272398>: Safari strips/modifies underscores in EMBED tags
+
+ Reviewed by darin.
+
+ * khtml/html/htmltokenizer.cpp:
+ (HTMLTokenizer::parseTag): use tolower() to lowercase a char, don't use | 0x20 because that will cause chars like '_' to turn into junk
+
2003-07-08 Dave Hyatt <hyatt at apple.com>
Implementation of inline-block and a prototype of the XUL
diff --git a/WebCore/khtml/html/htmltokenizer.cpp b/WebCore/khtml/html/htmltokenizer.cpp
index 8b14257..59aa3ec 100644
--- a/WebCore/khtml/html/htmltokenizer.cpp
+++ b/WebCore/khtml/html/htmltokenizer.cpp
@@ -911,11 +911,7 @@ void HTMLTokenizer::parseTag(DOMStringIt &src)
finish = true;
break;
}
- // this is a nasty performance trick. will work for the A-Z
- // characters, but not for others. if it contains one,
- // we fail anyway
- char cc = curchar;
- cBuffer[cBufferPos++] = cc | 0x20;
+ cBuffer[cBufferPos++] = tolower(curchar);
++src;
}
@@ -1028,7 +1024,7 @@ void HTMLTokenizer::parseTag(DOMStringIt &src)
break;
}
}
- cBuffer[cBufferPos++] = (char) curchar | 0x20;
+ cBuffer[cBufferPos++] = tolower(curchar);
++src;
}
if ( cBufferPos == CBUFLEN ) {
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list