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 21604 - [HTML] editorial: 2.4.5.9: "the first step"
Summary: [HTML] editorial: 2.4.5.9: "the first step"
Status: CLOSED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: All All
: P2 minor
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-06 20:31 UTC by Michael Dyck
Modified: 2013-04-11 01:30 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Dyck 2013-04-06 20:31:18 UTC
In 2.4.5.9 "Durations",
in the algorithm for "parse a duration string",
step 8 says:
    Run the following substeps in a loop,
    until the first step in the loop requires that the loop be broken,
    or until a step requiring the algorithm to fail is reached:

But the substep containing "break the loop" isn't the first, it's the third.

You could just change "first" to "third", but it would be safer to change
"the first step" to "a step". In fact, you could go further and merge the two conditions, e.g.:
    ... until a step is reached that requires the loop be broken
    or the algorithm to fail.