Skip to content

Commit 5e2138c

Browse files
committed
[css-values-4] Formally provide <url()> and <src()> productions. Spec the <url-token> behavior in the grammar. w3c/fxtf-drafts#508
1 parent d2de302 commit 5e2138c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

css-values-4/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -849,8 +849,10 @@ Resource Locators: the <<url>> type</h3>
849849
The syntax of <<url>> is:
850850

851851
<pre class="prod">
852-
<dfn id="url-value">&lt;url></dfn> = url( <<string>> <<url-modifier>>* ) |
853-
src( <<string>> <<url-modifier>>* )
852+
<dfn id="url-value">&lt;url></dfn> = <<url()>> | <<src()>>
853+
854+
&lt;url()> = url( <<string>> <<url-modifier>>* ) | <<url-token>>
855+
&lt;src()> = src( <<string>> <<url-modifier>>* )
854856
</pre>
855857

856858
<div class="example">

0 commit comments

Comments
 (0)