Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
correct some definition links (#1269)
Browse files Browse the repository at this point in the history
correct some definition links in browsers.html

see #1215
  • Loading branch information
chaals authored Mar 1, 2018
1 parent 810f213 commit f52e406
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sections/browsers.include
Original file line number Diff line number Diff line change
Expand Up @@ -2012,15 +2012,15 @@
A string <var>hostSuffixString</var>
<dfn data-lt="is a registrable domain suffix of or is equal to|
is not a registrable domain suffix of and is not equal to">is a registrable domain suffix of, or is equal to</dfn> a
<a data-lt="concept-host">host</a> <var>originalHost</var> if the following algorithm returns <code>true</code>:
<a data-lt="origin host">host</a> <var>originalHost</var> if the following algorithm returns <code>true</code>:

1. If <var>hostSuffixString</var> is the empty string, then return <code>false</code>.
1. Let <var>host</var> be the result of <span data-x="host parser">parsing</span> <var>hostSuffixString</var>.
1. If <var>host</var> is failure, then return <code>false</code>.
1. If <var>host</var> is <em>not</em> <span data-x="host equals">equal</span> to <var>originalHost</var>,
run these substeps:
1. If <var>host</var> or <var>originalHost</var> is not a <a data-lt="concept-domain">domain</a>, return <code>false</code>.
<p class="note">I.e exclude IPv4 and IPv6 addresses as <a data-lt="concept-host">hosts</a>.</p>
1. If <var>host</var> or <var>originalHost</var> is not a <a data-lt="origin domain">domain</a>, return <code>false</code>.
<p class="note">I.e exclude IPv4 and IPv6 addresses as <a data-lt="origin host">hosts</a>.</p>
1. If <var>host</var>, prefixed by a U+002E FULL STOP (.), does not exactly match the end of <var>originalHost</var>,
return <code>false</code>.
1. If <var>host</var> matches a suffix in the Public Suffix List, or, if <var>host</var>,
Expand Down

0 comments on commit f52e406

Please sign in to comment.