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 17141 - 2d.pattern.repeat.null is bogus
Summary: 2d.pattern.repeat.null is bogus
Status: NEW
Alias: None
Product: HTML WG
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ms2ger
QA Contact: HTML WG Bugzilla archive list
Keywords: needs-testcase
Depends on:
Reported: 2012-05-21 17:24 UTC by Ms2ger
Modified: 2013-09-14 06:38 UTC (History)
3 users (show)

See Also:


Description Ms2ger 2012-05-21 17:24:30 UTC


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

null is converted into the string "null", so per <> "If an unrecognized value is given, then the user agent must throw a SyntaxError exception.", this should throw.
Comment 1 Ms2ger 2012-06-15 19:11:14 UTC

Please review.
Comment 2 Ian 'Hixie' Hickson 2013-09-14 04:09:40 UTC
I changed the WHATWG spec on this, since the browsers didn't align. r8187 :-(

I blame the W3C fork for this, it caused confusion, as usual.
Comment 3 Michael[tm] Smith 2013-09-14 06:38:43 UTC
Adding "needs-testcase" keyword; needs to be updated. Perhaps that amounts to backing out ?