This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25176 - Serialization of <url> values is broken
Summary: Serialization of <url> values is broken
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 14:46 UTC by Boris Zbarsky
Modified: 2014-03-27 16:55 UTC (History)
0 users

See Also:


Attachments

Description Boris Zbarsky 2014-03-27 14:46:50 UTC
First of all, it's <url>, not <uri>.

Second, and more important, it needs to include the string "url(" somewhere.  And perhaps quotes, or some other form of escaping?
Comment 1 Simon Pieters 2014-03-27 15:52:03 UTC
What the spec says...

[[
<uri>
The absolute URL URL escaped.
]]
where "URL escaped" is 
http://dev.w3.org/csswg/cssom/#serialize-a-url
which in turn uses
http://dev.w3.org/csswg/cssom/#serialize-a-string

So "url(" and quotes and ")" are included AFAICT.

Keeping open for uri->url
Comment 2 Boris Zbarsky 2014-03-27 16:55:54 UTC
Can we make the wording clearer, perhaps?  Like:

  The absolute URL, serialized according to the "serialize a URL" rules.

with "serialize a URL" a link?