Skip to content

Commit

Permalink
Add domintro
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Oct 2, 2015
1 parent 796b4b9 commit 5a55085
Showing 1 changed file with 75 additions and 3 deletions.
78 changes: 75 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -20527,6 +20527,80 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
attribute USVString <span data-x="dom-hyperlink-hash">hash</span>;
};</pre>

<dl class="domintro">

<dt><var>hyperlink</var> . <code data-x="">toString()</code></dt>
<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-href">href</code></dt>
<dd>
<p>Returns the hyperlink's URL.</p>
<p>Can be set, to change the URL.</p>
</dd>

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-origin">origin</code></dt>
<dd>
<p>Returns the hyperlink's URL's origin.</p>
</dd>

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-protocol">protocol</code></dt>
<dd>
<p>Returns the hyperlink's URL's scheme.</p>
<p>Can be set, to change the URL's scheme.</p>
</dd>

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-username">username</code></dt>
<dd>
<p>Returns the hyperlink's URL's username.</p>
<p>Can be set, to change the URL's username.</p>
</dd>
<!-- This feature is technically non-conforming -->

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-password">password</code></dt>
<dd>
<p>Returns the hyperlink's URL's password.</p>
<p>Can be set, to change the URL's password.</p>
</dd>
<!-- This feature is technically non-conforming -->

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-host">host</code></dt>
<dd>
<p>Returns the hyperlink's URL's host and port (if different from the default port for the
scheme).</p>
<p>Can be set, to change the URL's host and port.</p>
</dd>

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-hostname">hostname</code></dt>
<dd>
<p>Returns the hyperlink's URL's host.</p>
<p>Can be set, to change the URL's host.</p>
</dd>

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-port">port</code></dt>
<dd>
<p>Returns the hyperlink's URL's port.</p>
<p>Can be set, to change the URL's port.</p>
</dd>

<dt><var>hyperlink</var> . <code subdfn data-x="dom-hyperlink-pathname">pathname</code></dt>
<dd>
<p>Returns the hyperlink's URL's path.</p>
<p>Can be set, to change the URL's path.</p>
</dd>

<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>
</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>
</dd>
</dl>

<div w-nodev>

<p>An element implementing the <code>HTMLHyperlinkElementUtils</code> mixin has an associated <dfn
data-x="concept-hyperlink-url">url</dfn> (null or a <span>URL</span>). It is initially null.

Expand All @@ -20536,7 +20610,7 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
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="concept-hyperlink-url">url</span> to null.</p></li>
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
Expand Down Expand Up @@ -20944,8 +21018,6 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
</ol>


<div w-nodev>

<h4>Following hyperlinks</h4>

<p>When a user <dfn data-x="following hyperlinks">follows a hyperlink</dfn> created by an element
Expand Down

0 comments on commit 5a55085

Please sign in to comment.