- From: Emily Stark <notifications@github.com>
- Date: Wed, 20 Mar 2019 11:30:07 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 20 March 2019 18:30:34 UTC
estark37 commented on this pull request. > + <li><p>Omit the port if it is a <a>default port</a>. +</ul> + +<h4 id=url-rendering-elision>Elision</h4> + +<p>In a space-constrained display, URLs should be elided carefully to avoid misleading the user when +making a security decision: + +<ul class=brief> + <li><p>Ensure that at least the <a for=host>registrable domain</a> can be shown when the URL is + rendered (to avoid showing, e.g., <code>...examplecorp.com</code> when loading + <code>https://not-really-examplecorp.com/</code>). + + <li><p>When the full <a for=url>host</a> cannot be rendered, elide domain labels starting from the + front. (Note that bidirectional text means that the front of the string may not appear at the + left.) Done -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/434#discussion_r267486540
Received on Wednesday, 20 March 2019 18:30:34 UTC