[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
vicki
vicki at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:48:51 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit a1720333d866794e9d722ff0f27650a177e30d9f
Author: vicki <vicki at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Jul 6 16:23:43 2004 +0000
Reviewed by kocienda.
- added backColorCommand, foreColorCommand, fontNameCommand,
and fontSizeCommand
* layout-tests/editing/editing.js:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/editing/editing.js b/LayoutTests/editing/editing.js
index 9eb2a91..fab7510 100644
--- a/LayoutTests/editing/editing.js
+++ b/LayoutTests/editing/editing.js
@@ -242,3 +242,61 @@ function runEditingTest() {
}
//-------------------------------------------------------------------------------------------------------
+
+function execBackColorCommand() {
+ document.execCommand("BackColor", false, "Chartreuse");
+}
+function backColorCommand() {
+ if (commandDelay > 0) {
+ window.setTimeout(execBackColorCommand, commandCount * commandDelay);
+ commandCount++;
+ }
+ else {
+ execBackColorCommand();
+ }
+}
+
+//-------------------------------------------------------------------------------------------------------
+
+function execForeColorCommand() {
+ document.execCommand("ForeColor", false, "Purple");
+}
+function foreColorCommand() {
+ if (commandDelay > 0) {
+ window.setTimeout(execForeColorCommand, commandCount * commandDelay);
+ commandCount++;
+ }
+ else {
+ execForeColorCommand();
+ }
+}
+
+//-------------------------------------------------------------------------------------------------------
+
+function execFontNameCommand() {
+ document.execCommand("FontName", false, "Courier");
+}
+function fontNameCommand() {
+ if (commandDelay > 0) {
+ window.setTimeout(execFontNameCommand, commandCount * commandDelay);
+ commandCount++;
+ }
+ else {
+ execFontNameCommand();
+ }
+}
+
+//-------------------------------------------------------------------------------------------------------
+
+function execFontSizeCommand() {
+ document.execCommand("FontSize", false, "48px");
+}
+function fontSizeCommand() {
+ if (commandDelay > 0) {
+ window.setTimeout(execFontSizeCommand, commandCount * commandDelay);
+ commandCount++;
+ }
+ else {
+ execFontSizeCommand();
+ }
+}
\ No newline at end of file
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 28cbf86..db32449 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2004-07-06 Vicki Murley <vicki at apple.com>
+
+ Reviewed by kocienda.
+
+ - added backColorCommand, foreColorCommand, fontNameCommand,
+ and fontSizeCommand
+
+ * layout-tests/editing/editing.js:
+
2004-07-06 Trey Matteson <trey at apple.com>
3716053 - www.theage.com.au has extra back/forward items due to ads
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list