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 20213 - Spaces in candidates
Summary: Spaces in candidates
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on: 20177
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-03 15:32 UTC by Marcos Caceres
Modified: 2012-12-07 23:13 UTC (History)
4 users (show)

See Also:


Attachments

Description Marcos Caceres 2012-12-03 15:32:30 UTC
+++ This bug was initially created as a clone of Bug #20177 +++

The img src attribute and srcset behaves different when presented with spaces: for example,  "Screenshot 10.2.2012 100 1x 2x Funny Cat.jpeg" in @srcset results in "Screenshot" as the candidate. However, when fed to img@src, the resource name is parsed as expected. 

Confirmed by: http://responsiveimagescg.github.com/picture-refimp/demo/?srcset=Screenshot+10.2.2012+100+1x+2x+Funny+Cat.jpeg
Comment 1 Ian 'Hixie' Hickson 2012-12-07 23:13:45 UTC
Yeah, but there's not much we can do about it. In any case, they're non-conforming in both cases, so it's not really a big deal.