<?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>22617</bug_id>
          
          <creation_ts>2013-07-09 15:45:47 +0000</creation_ts>
          <short_desc>NamedFlowCollection item and namedItem should return null</short_desc>
          <delta_ts>2013-07-11 19:02:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Regions</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Erik Arvidsson">erik.arvidsson</reporter>
          <assigned_to name="Alan Stearns">stearns</assigned_to>
          <cc>eoconnor</cc>
    
    <cc>stearns</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>90486</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">erik.arvidsson</who>
    <bug_when>2013-07-09 15:45:47 +0000</bug_when>
    <thetext>For consistency with all other dom collections.

Maybe you were confused by the following asserts which passes for all dom collections?

assert(collection.item(42) === null);
assert(collection.namedItem(&apos;foobar&apos;) === null);
assert(collection[42] === undefined);
assert(collection[&apos;foobar&apos;] === undefined);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90505</commentid>
    <comment_count>1</comment_count>
    <who name="Alan Stearns">stearns</who>
    <bug_when>2013-07-09 19:51:52 +0000</bug_when>
    <thetext>I previously changed from null to undefined based on Boris Zbarsky&apos;s recommendation:

http://lists.w3.org/Archives/Public/www-style/2012Aug/0871.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90642</commentid>
    <comment_count>2</comment_count>
    <who name="Alan Stearns">stearns</who>
    <bug_when>2013-07-11 19:02:49 +0000</bug_when>
    <thetext>Undid the undefined change. Now the collection methods return null on a miss.

https://dvcs.w3.org/hg/csswg/rev/5c1cbb9d3749</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>