@@ -539,19 +539,6 @@ Resource Locators: the <<url>> type</h3>
539539 (If written as a normal function containing a string, ordinary string escaping rules apply;
540540 only newlines and the character used to quote the string need to be escaped.)
541541
542- If the value of the ''url()'' is the empty string
543- (like ''url("")'' or ''url()'' ),
544- the url must resolve to an invalid resource
545- (similar to what the url ''about:invalid'' does).
546-
547- Note: This matches the behavior of empty urls for embedded resources elsewhere in the web platform,
548- and avoids excess traffic re-requesting the stylesheet or host document
549- due to editting mistakes leaving the ''url()'' value empty,
550- which are almost certain to be invalid resources for whatever the ''url()'' shows up in.
551- Linking on the web platform <em> does</em> allow empty urls,
552- so if/when CSS gains some functionality to control hyperlinks,
553- this restriction can be relaxed in those contexts.
554-
555542<h4 id="relative-urls">
556543Relative URLs</h4>
557544
@@ -631,6 +618,22 @@ Fragment URLs</h4>
631618 regardless of what its URL is.
632619 </details>
633620
621+ <h4 id="url-empty">
622+ Empty URLs</h4>
623+
624+ If the value of the ''url()'' is the empty string
625+ (like ''url("")'' or ''url()'' ),
626+ the url must resolve to an invalid resource
627+ (similar to what the url ''about:invalid'' does).
628+
629+ Note: This matches the behavior of empty urls for embedded resources elsewhere in the web platform,
630+ and avoids excess traffic re-requesting the stylesheet or host document
631+ due to editting mistakes leaving the ''url()'' value empty,
632+ which are almost certain to be invalid resources for whatever the ''url()'' shows up in.
633+ Linking on the web platform <em> does</em> allow empty urls,
634+ so if/when CSS gains some functionality to control hyperlinks,
635+ this restriction can be relaxed in those contexts.
636+
634637<h4 id='url-modifiers'>
635638URL Modifiers</h4>
636639
@@ -2183,6 +2186,8 @@ Changes</h2>
21832186 <ul>
21842187 <li> Allow zero angles to be represented as ''0'' .
21852188 (Change due to Web-compatibility constraints in transform and gradient syntaxes.)
2189+ <li> Defined an empty <<url>> resolves to an invalid resource.
2190+
21862191 </ul>
21872192
21882193 Changes since the <a href="https://www.w3.org/TR/2013/CR-css3-values-20130730/">30 July 2013 Candidate Recommendation</a> are:
0 commit comments