Skip to content
Permalink
Browse files

[e] (0) More tweaks to the profile='' attribute.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7484

git-svn-id: http://svn.whatwg.org/webapps@3966 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 22, 2009
1 parent 9662b9b commit 92091d5b28426b45c08bb0ada55e3594bed9ffad
Showing with 15 additions and 14 deletions.
  1. +7 −7 index
  2. +8 −7 source
14 index
<p>User agents should ignore the <code title=attr-head-profile><a href=#attr-head-profile>profile</a></code> content attribute on
<code><a href=#the-head-element-0>head</a></code> elements.</p>

<p>When the attribute would be used as a list of globally unique
names, the user agent should instead always assume that all known
profiles apply to all pages, and should therefore apply the
conventions of all known metadata profiles to the document, ignoring
the value of the attribute.</p>
<p>When the attribute would be used as a list of <a href=#url title=URL>URLs</a> identifying metadata profiles, the user
agent should instead always assume that all known profiles apply to
all pages, and should therefore apply the conventions of all known
metadata profiles to the document, ignoring the value of the
attribute.</p>

<p>When the attribute's value would be handled as a list of <a href=#url title=URL>URLs</a> to be dereferenced, the user agent must use
the following steps:</p>

<ol><li><p><a href=#split-a-string-on-spaces title="split a string on spaces">Split on
spaces</a> the value of the <code title=attr-meta-profile>profile</code> attribute.</li>
spaces</a> the value of the <code title=attr-head-profile><a href=#attr-head-profile>profile</a></code> attribute.</li>

<li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> each resulting
token relative to the <code><a href=#meta>meta</a></code> element.</li>
token relative to the <code><a href=#the-head-element-0>head</a></code> element.</li>

<li><p>For each token that is successfully resolved,
<a href=#fetch>fetch</a> the resulting <a href=#absolute-url>absolute URL</a> and
15 source
title="attr-head-profile">profile</code> content attribute on
<code>head</code> elements.</p>

<p>When the attribute would be used as a list of globally unique
names, the user agent should instead always assume that all known
profiles apply to all pages, and should therefore apply the
conventions of all known metadata profiles to the document, ignoring
the value of the attribute.</p>
<p>When the attribute would be used as a list of <span
title="URL">URLs</span> identifying metadata profiles, the user
agent should instead always assume that all known profiles apply to
all pages, and should therefore apply the conventions of all known
metadata profiles to the document, ignoring the value of the
attribute.</p>

<p>When the attribute's value would be handled as a list of <span
title="URL">URLs</span> to be dereferenced, the user agent must use

<li><p><span title="split a string on spaces">Split on
spaces</span> the value of the <code
title="attr-meta-profile">profile</code> attribute.</p></li>
title="attr-head-profile">profile</code> attribute.</p></li>

<li><p><span title="resolve a url">Resolve</span> each resulting
token relative to the <code>meta</code> element.</p></li>
token relative to the <code>head</code> element.</p></li>

<li><p>For each token that is successfully resolved,
<span>fetch</span> the resulting <span>absolute URL</span> and

0 comments on commit 92091d5

Please sign in to comment.
You can’t perform that action at this time.