Skip to content

Commit

Permalink
[e] (0) it's not the DOM attributes that contain the URIs, it's the c…
Browse files Browse the repository at this point in the history
…ontent attributes.

git-svn-id: http://svn.whatwg.org/webapps@834 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 22, 2007
1 parent 8be7e69 commit 032cc0b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 28 deletions.
29 changes: 15 additions & 14 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<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.
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
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
Expand Down
30 changes: 16 additions & 14 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 032cc0b

Please sign in to comment.