}
//-------------------------------------------------------------------------------------------------------
+
+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
+2004-07-06 Vicki Murley <vicki@apple.com>
+
+ Reviewed by kocienda.
+
+ - added backColorCommand, foreColorCommand, fontNameCommand,
+ and fontSizeCommand
+
+ * layout-tests/editing/editing.js:
+
2004-07-06 Trey Matteson <trey@apple.com>
3716053 - www.theage.com.au has extra back/forward items due to ads