<?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>17141</bug_id>
          
          <creation_ts>2012-05-21 17:24:30 +0000</creation_ts>
          <short_desc>2d.pattern.repeat.null is bogus</short_desc>
          <delta_ts>2013-09-14 06:38:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>testsuite</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needs-testcase</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Ms2ger">Ms2ger</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67977</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-05-21 17:24:30 +0000</bug_when>
    <thetext>http://www.w3c-test.org/html/tests/submission/PhilipTaylor/canvas/2d.pattern.repeat.null.html

has

var pattern = ctx.createPattern(img, null);

null is converted into the string &quot;null&quot;, so per &lt;http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-createpattern&gt; &quot;If an unrecognized value is given, then the user agent must throw a SyntaxError exception.&quot;, this should throw.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69103</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-06-15 19:11:14 +0000</bug_when>
    <thetext>Fixed:

https://dvcs.w3.org/hg/html/rev/4e230b0f13dd

Please review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93377</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-09-14 04:09:40 +0000</bug_when>
    <thetext>I changed the WHATWG spec on this, since the browsers didn&apos;t align. r8187 :-(

I blame the W3C fork for this, it caused confusion, as usual.
https://bugzilla.mozilla.org/show_bug.cgi?id=784809</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93381</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-09-14 06:38:43 +0000</bug_when>
    <thetext>Adding &quot;needs-testcase&quot; keyword; http://w3c-test.org/testrunner/2dcontext/fill-and-stroke-styles/2d.pattern.repeat.null.html needs to be updated. Perhaps that amounts to backing out https://github.com/w3c/web-platform-tests/commit/398c348ab9827a450a2e6a3e15e9676ee8b6892a ?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>