[html5] r834 - /
whatwg at whatwg.org
whatwg at whatwg.org
Mon May 21 19:28:16 PDT 2007
Author: ianh
Date: 2007-05-21 19:28:14 -0700 (Mon, 21 May 2007)
New Revision: 834
Modified:
index
source
Log:
[e] (0) it's not the DOM attributes that contain the URIs, it's the content attributes.
Modified: index
===================================================================
--- index 2007-05-22 02:11:11 UTC (rev 833)
+++ index 2007-05-22 02:28:14 UTC (rev 834)
@@ -2575,20 +2575,21 @@
of the content attribute to the given value.
<p>If a reflecting DOM attribute is a <code>DOMString</code> attribute
- defined to contain a URI, then on getting, the DOM attribute must return
- the value of the content attribute, resolved to an absolute URI, and on
- setting, must set the content attribute to the specified literal value. If
- the content attribute is absent, the DOM attribute must return the default
- value, if the content attribute has one, or else the empty string.
+ whose content attribute is defined to contain a URI, then on getting, the
+ DOM attribute must return the value of the content attribute, resolved to
+ an absolute URI, and on setting, must set the content attribute to the
+ specified literal value. If the content attribute is absent, the DOM
+ attribute must return the default value, if the content attribute has one,
+ or else the empty string.
- <p>If a reflecting DOM attribute is a <code>DOMString</code> attribute that
- is not defined to contain a URI, then the getting and setting must be done
- in a transparent, case-sensitive manner, except if the content attribute
- is defined to only allow a specific set of values. In this latter case,
- the attribute's value must first be <span>converted to
- lowercase</span><!--XXX xref --> before being returned. If the content
- attribute is absent, the DOM attribute must return the default value, if
- the content attribute has one, or else the empty string.
+ <p>If a reflecting DOM attribute is a <code>DOMString</code> attribute
+ whose content attribute is not defined to contain a URI, then the getting
+ and setting must be done in a transparent, case-sensitive manner, except
+ if the content attribute is defined to only allow a specific set of
+ values. In this latter case, the attribute's value must first be
+ <span>converted to lowercase</span><!--XXX xref --> before being returned.
+ If the content attribute is absent, the DOM attribute must return the
+ default value, if the content attribute has one, or else the empty string.
<p>If a reflecting DOM attribute is a boolean attribute, then the DOM
attribute must return true if the attribute is set, and false if it is
Modified: source
===================================================================
--- source 2007-05-22 02:11:11 UTC (rev 833)
+++ source 2007-05-22 02:28:14 UTC (rev 834)
@@ -1110,22 +1110,24 @@
given value.</p>
<p>If a reflecting DOM attribute is a <code>DOMString</code>
- attribute defined to contain a URI, then on getting, the DOM
- attribute must return the value of the content attribute, resolved
- to an absolute URI, and on setting, must set the content attribute
- to the specified literal value. If the content attribute is absent,
- the DOM attribute must return the default value, if the content
- attribute has one, or else the empty string.</p>
+ attribute whose content attribute is defined to contain a URI, then
+ on getting, the DOM attribute must return the value of the content
+ attribute, resolved to an absolute URI, and on setting, must set the
+ content attribute to the specified literal value. If the content
+ attribute is absent, the DOM attribute must return the default
+ value, if the content attribute has one, or else the empty
+ string.</p>
<p>If a reflecting DOM attribute is a <code>DOMString</code>
- attribute that is not defined to contain a URI, then the getting and
- setting must be done in a transparent, case-sensitive manner, except
- if the content attribute is defined to only allow a specific set of
- values. In this latter case, the attribute's value must first be
- <span>converted to lowercase</span><!--XXX xref --> before being
- returned. If the content attribute is absent, the DOM attribute must
- return the default value, if the content attribute has one, or else
- the empty string.</p>
+ attribute whose content attribute is not defined to contain a URI,
+ then the getting and setting must be done in a transparent,
+ case-sensitive manner, except if the content attribute is defined to
+ only allow a specific set of values. In this latter case, the
+ attribute's value must first be <span>converted to
+ lowercase</span><!--XXX xref --> before being returned. If the
+ content attribute is absent, the DOM attribute must return the
+ default value, if the content attribute has one, or else the empty
+ string.</p>
<p>If a reflecting DOM attribute is a boolean attribute, then the
DOM attribute must return true if the attribute is set, and false if
More information about the Commit-Watchers
mailing list