W3C home > Mailing lists > Public > www-style@w3.org > June 2016

Re: [css-values] Readibility Poll

From: Florian Rivoal <florian@rivoal.net>
Date: Thu, 9 Jun 2016 12:32:15 +0900
Cc: "www-style@w3.org" <www-style@w3.org>
Message-Id: <4DA4346E-C689-4E48-8D8E-3E85AACC7972@rivoal.net>
To: fantasai <fantasai.lists@inkedblade.net>

> On Jun 9, 2016, at 08:56, fantasai <fantasai.lists@inkedblade.net> wrote:
> 
> Wrt resolution in https://lists.w3.org/Archives/Public/www-style/2016May/0209.html
> Preferences on wording?
> 
> Version A:
> 
>  If a ''url()''’s value starts with a U+0023 NUMBER SIGN (<code>#</code>),
>  parse and compute it as described above for relative URLs,
>  but always resolve that fragment against the currently-active base URL.
>  This reference must always be treated as same-document
>  (rather than cross-document).
>  Additionally, when serializing such a ''url()'',
>  serialize just the fragment.
> 
> Version B:
> 
>  If a ''url()''’s value starts with a U+0023 NUMBER SIGN (<code>#</code>),
>  parse it as per normal for URLs,
>  but additionally set the “local url flag” of the ''url()''.
> 
>  When matching a ''url()'' with the <a>local url flag</a> set,
>  ignore everything but the URL's fragment,
>  and resolve that fragment against the current document
>  that relative URLs are resolved against.
>  This reference must always be treated as same-document
>  (rather than cross-document).
> 
>  When serializing a ''url()'' with the <a>local url flag</a> set,
>  it must serialize as just the fragment.


I find B clearer and easier to follow.

 - Florian
Received on Thursday, 9 June 2016 03:32:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:47 UTC