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 26167 - rename the "Start" state label in the srcset parsing algorithm
Summary: rename the "Start" state label in the srcset parsing algorithm
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Simon Pieters
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-22 04:16 UTC by Michael[tm] Smith
Modified: 2015-09-16 12:44 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael[tm] Smith 2014-06-22 04:16:48 UTC
Please re-name the "Start" state label in the srcset parsing algorithm to something less generic and more descriptive and specific; for example, "Collecting descriptors" or "Collecting descriptor tokens" or "Descriptor start" or "In descriptors" or "Token start" or something.

I think the name "Start" on its own in this context is slightly misleading, because it's not actually the start of parsing of an individual image candidate string nor even the start of parsing of the descriptors part of the image candidate string. "Start" makes it sound like a point—and it's not a point but a state (and it's even state the the parsing algorithm actually *finishes* in for each image-candidate string).

I realize the state names could all really just be opaque strings—so this is just a nit—but if you're going to the trouble of giving them descriptive names to begin with, they at least shouldn't be potentially misleading to implementors.