<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>21441</bug_id>
          
          <creation_ts>2013-03-30 05:01:30 +0000</creation_ts>
          <short_desc>[HTML] editorial: switch conditions</short_desc>
          <delta_ts>2013-04-15 04:31:33 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85166</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2013-03-30 05:01:30 +0000</bug_when>
    <thetext>In 4.8.4 &quot;The object element&quot;,
in the big algorithm,
step 4.7.6 says:
    Run the approprate set of steps from the following list:
       o The resource has associated Content-Type metadata
             ....
       o The resource does not have associated Content-Type metadata
             ....

1) Change &quot;approprate&quot; to &quot;appropriate&quot;.

2) For consistency, the two &quot;switch conditions&quot; should start with &quot;If&quot;.

3) The second condition could just be &quot;Otherwise&quot;.

----------

In 4.10.22.6 &quot;URL-encoded form data&quot;,
in the application/x-www-form-urlencoded encoding algorithm,
step 4.5 says:
    For each byte in the entry&apos;s name and value, apply the appropriate
    subsubsteps from the following list:

      o The byte is 0x20 (U+0020 SPACE if interpreted as ASCII)
           ...
      o If the byte is in the range ...
           ...
      o Otherwise
           ...

For consistency, start the first switch condition with &quot;If&quot;.

---------

In 4.12.5.1 &apos;Link type &quot;alternate&quot;&apos;,
the second switch condition is:
    The alternate keyword is used with the type  attribute set to the
    value application/rss+xml or the value application/atom+xml

For consistency, start with &quot;If&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85167</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2013-03-30 05:35:06 +0000</bug_when>
    <thetext>Also, in 4.11.3 &quot;The menu element&quot;,
in the &quot;construct and show a menu&quot; algorithm,
step 2 has 4 switch conditions of the form:
    If the child is a foo element ...
and then the last is:
    Any other node

That should maybe be:
    If the child is any other node
or just:
    Otherwise</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85299</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-04-01 19:07:43 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7789.
Check-in comment: Fix some typos or copypasta.
http://html5.org/tools/web-apps-tracker?from=7788&amp;to=7789</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>