- From: Timothy Gu <notifications@github.com>
- Date: Tue, 05 Sep 2017 01:09:55 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 5 September 2017 08:10:28 UTC
> Note also that `?` is not part of the `pathname` getter. Oops, an off-by-one. > In particular different schemes That does indeed sound like a nice idea. > You also omitted the origin field I did so intentionally, as it's not a concept intrinsically related to URL parsing, but rather more about Web apps/security. And because it's hard. ---- I did a table version with a few variants. The first is a straight translation of the SVG graph. The second is closer to the version in the Node.js doc. The third is the same as the second but has `origin`, mainly there to show how ugly it is. The forth is a URN for fun. I do like the fact that you can link to the spec for that exact attribute, but with some coloring I still think the SVG one is a bit prettier. ![screenshot from 2017-09-05 16-07-49](https://user-images.githubusercontent.com/1538624/30051381-646ac596-9254-11e7-9e24-4b9e53fd4fd7.png) -- 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/issues/337#issuecomment-327103388
Received on Tuesday, 5 September 2017 08:10:28 UTC