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 24936 - [HTML] editorial: 8.4.2: odd control structure
Summary: [HTML] editorial: 8.4.2: odd control structure
Status: CLOSED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 00:23 UTC by Michael Dyck
Modified: 2014-03-05 23:57 UTC (History)
2 users (show)

See Also:


Attachments

Description Michael Dyck 2014-03-05 00:23:04 UTC
In 8.4.2 "Data model",
in the algorithm for 'focus chain',
steps 4 and 5 have the structure:

    4. If A, append ...

       Otherwise, if B, append ...

    5. Otherwise, if C, ...

       Otherwise, if D, ...

       Otherwise, if E, ...

I'm concerned about the "Otherwise" that begins step 5.

It's unclear if it means:
    if A is not true
or instead:
    if A is not true and B is not true
Both interpretations are odd, for different reasons.

I wonder if it shouldn't be there at all. That is, should step 5 begin with
    5. If current object is a dialog object ...
?
Comment 1 contributor 2014-03-05 23:20:07 UTC
Checked in as WHATWG revision r8524.
Check-in comment: Remove an extraneous 'Otherwise' in the focus chain definition
http://html5.org/tools/web-apps-tracker?from=8523&to=8524
Comment 2 Ian 'Hixie' Hickson 2014-03-05 23:20:22 UTC
Yeah, that first "Otherwise" in step 5 is bogus. Good catch.