Skip to content

Commit

Permalink
Address nits
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Oct 3, 2015
1 parent 5a55085 commit 726ff8b
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -20588,14 +20588,16 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-search">search</code></dt>
<dd>
<p>Returns the hyperlink's URL's query.</p>
<p>Can be set, to change the URL's query.</p>
<p>Returns the hyperlink's URL's query (includes leading "<code data-x"">?</code>" if
non-empty).</p>
<p>Can be set, to change the URL's query (ignores leading "<code data-x"">?</code>").</p>
</dd>

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-hash">hash</code></dt>
<dd>
<p>Returns the hyperlink's URL's fragment.</p>
<p>Can be set, to change the URL's fragment.</p>
<p>Returns the hyperlink's URL's fragment (includes leading "<code data-x"">#</code>" if
non-empty).</p>
<p>Can be set, to change the URL's fragment (ignores leading "<code data-x"">?</code>").</p>

This comment has been minimized.

Copy link
@domenic

domenic Oct 5, 2015

Member

s/?/#

</dd>
</dl>

Expand All @@ -20608,17 +20610,21 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
data-noexport="" data-x="concept-hyperlink-url-set">set the url</dfn> algorithm, which sets this
element's <span data-x="concept-hyperlink-url">url</span> to the <span>resulting parsed URL</span>
of <span data-x="resolve a url">resolving</span> this element's <code
data-x="attr-hyperlink-href">href</code> content attribute value relative to element. If <span
data-x="resolve a url">resolving</span> was aborted with an error, set this element's <span
data-x="attr-hyperlink-href">href</code> content attribute value relative to this element. If
<span data-x="resolve a url">resolving</span> was aborted with an error, set this element's <span
data-x="concept-hyperlink-url">url</span> to null.</p>

<p>When elements implementing the <code>HTMLHyperlinkElementUtils</code> mixin are created, and
whenever those elements have their <code data-x="attr-hyperlink-href">href</code> content
attribute set, changed, or removed, the user agent must <span
data-x="concept-hyperlink-url-set">set the url</span>.</p>

<p class="note">This is only observable for "<code data-x="">blob</code>" <span

This comment has been minimized.

Copy link
@domenic

domenic Oct 5, 2015

Member

Elsewhere in the spec it's marked up as blob: URLs instead of "blob" URLs. Since URL Standard uses the latter, maybe just fix that other part of the spec ("For example, scripts can be external files with the same scheme...").

data-x="url">URLs</span> as <span data-x="url parser">parsing</span> them involves the
<span>structured clone</span> algorithm.</p>

<p>An element implementing the <code>HTMLHyperlinkElementUtils</code> mixin has an associated <dfn
data-noexport="">reinitialise url</dfn>, which runs these steps:</p>
data-noexport="">reinitialise url</dfn> algorithm, which runs these steps:</p>

<ol>
<li><p>If element's <span data-x="concept-hyperlink-url">url</span> is null or its
Expand Down

0 comments on commit 726ff8b

Please sign in to comment.