--- a/editcommands.html Tue Jul 05 11:31:29 2011 -0600
+++ b/editcommands.html Tue Jul 05 11:33:21 2011 -0600
@@ -1294,14 +1294,14 @@
<li>If <var title="">command</var> is "hiliteColor":
<ol>
- <li>While the computed style of "background-color" on <var title="">node</var> is
+ <li>While the <a href=http://www.w3.org/TR/CSS21/cascade.html#computed-value>computed value</a> of "background-color" on <var title="">node</var> is
any fully transparent value, and <var title="">node</var>'s <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a> is an
<code class=external data-anolis-spec=domcore><a href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element>Element</a></code>, set <var title="">node</var> to its <a class=external data-anolis-spec=domcore href=http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-tree-parent title=concept-tree-parent>parent</a>.
- <li>If the computed style of "background-color" on <var title="">node</var> is
+ <li>If the <a href=http://www.w3.org/TR/CSS21/cascade.html#computed-value>computed value</a> of "background-color" on <var title="">node</var> is
a fully transparent value, return "rgb(255, 255, 255)".
- <li>Otherwise, return the computed style of "background-color" for
+ <li>Otherwise, return the <a href=http://www.w3.org/TR/CSS21/cascade.html#computed-value>computed value</a> of "background-color" for
<var title="">node</var>.
</ol>
@@ -1352,7 +1352,7 @@
a value containing "underline", return "underline". Otherwise, return
null.
- <li>Return the computed style for <var title="">node</var> of the <a href=#relevant-css-property>relevant CSS
+ <li>Return the <a href=http://www.w3.org/TR/CSS21/cascade.html#computed-value>computed value</a> for <var title="">node</var> of the <a href=#relevant-css-property>relevant CSS
property</a> for <var title="">command</var>.
</ol>
@@ -1379,7 +1379,7 @@
<li>If <var title="">command</var> is "subscript" or "superscript":
<ol>
- <li>If the computed value of <var title="">element</var>'s "display" property is
+ <li>If the <a href=http://www.w3.org/TR/CSS21/cascade.html#computed-value>computed value</a> of <var title="">element</var>'s "display" property is
neither "inline" nor "inline-block" nor "inline-table", return null.
<li>If <var title="">element</var> has a <code class=external data-anolis-spec=html title="the style attribute"><a href=http://www.whatwg.org/html/#the-style-attribute>style</a></code> attribute set, and that attribute
--- a/implementation.js Tue Jul 05 11:31:29 2011 -0600
+++ b/implementation.js Tue Jul 05 11:33:21 2011 -0600
@@ -1701,7 +1701,7 @@
// "If command is "hiliteColor":"
if (command == "hilitecolor") {
- // "While the computed style of "background-color" on node is any
+ // "While the computed value of "background-color" on node is any
// fully transparent value, and node's parent is an Element, set
// node to its parent."
//
@@ -1714,7 +1714,7 @@
node = node.parentNode;
}
- // "If the computed style of "background-color" on node is a fully
+ // "If the computed value of "background-color" on node is a fully
// transparent value, return "rgb(255, 255, 255)"."
if (getComputedStyle(node).backgroundColor == "rgba(0, 0, 0, 0)"
|| getComputedStyle(node).backgroundColor === ""
@@ -1722,7 +1722,7 @@
return "rgb(255, 255, 255)";
}
- // "Otherwise, return the computed style of "background-color" for
+ // "Otherwise, return the computed value of "background-color" for
// node."
return getComputedStyle(node).backgroundColor;
}
@@ -1805,7 +1805,7 @@
return null;
}
- // "Return the computed style for node of the relevant CSS property for
+ // "Return the computed value for node of the relevant CSS property for
// command."
return getComputedStyle(node)[commands[command].relevantCssProperty];
}
@@ -1834,7 +1834,7 @@
// "If command is "subscript" or "superscript":"
if (command == "subscript" || command == "superscript") {
- // "If the computed style of element's "display" property is
+ // "If the computed value of element's "display" property is
// neither "inline" nor "inline-block" nor "inline-table", return
// null."
var style = getComputedStyle(element);
--- a/source.html Tue Jul 05 11:31:29 2011 -0600
+++ b/source.html Tue Jul 05 11:33:21 2011 -0600
@@ -1250,14 +1250,14 @@
<li>If <var>command</var> is "hiliteColor":
<ol>
- <li>While the computed style of "background-color" on <var>node</var> is
+ <li>While the [[compval]] of "background-color" on <var>node</var> is
any fully transparent value, and <var>node</var>'s [[parent]] is an
[[element]], set <var>node</var> to its [[parent]].
- <li>If the computed style of "background-color" on <var>node</var> is
+ <li>If the [[compval]] of "background-color" on <var>node</var> is
a fully transparent value, return "rgb(255, 255, 255)".
- <li>Otherwise, return the computed style of "background-color" for
+ <li>Otherwise, return the [[compval]] of "background-color" for
<var>node</var>.
</ol>
@@ -1308,7 +1308,7 @@
a value containing "underline", return "underline". Otherwise, return
null.
- <li>Return the computed style for <var>node</var> of the <span>relevant CSS
+ <li>Return the [[compval]] for <var>node</var> of the <span>relevant CSS
property</span> for <var>command</var>.
</ol>
@@ -1335,7 +1335,7 @@
<li>If <var>command</var> is "subscript" or "superscript":
<ol>
- <li>If the computed value of <var>element</var>'s "display" property is
+ <li>If the [[compval]] of <var>element</var>'s "display" property is
neither "inline" nor "inline-block" nor "inline-table", return null.
<li>If <var>element</var> has a [[style]] attribute set, and that attribute