servo/components/script
Brandon Fairchild 1ccab328f9 Support empty strings as the repeat argument (CreatePattern)
According to the third step in the specification [1], createPattern
should let the repetition argument be "repeat" when it is the empty
string.

The code in CanvasRenderingContext2D::CreatePattern did not implement
this step and instead threw a SyntaxError exception when an empty
string was supplied as the repetition argument.

Fixes #9079.

[1] https://html.spec.whatwg.org/multipage/#dom-context-2d-createpattern
2015-12-31 11:48:15 -05:00
..
docs Move the DOM memory management blog post into the tree. 2015-10-29 17:25:00 +01:00
dom Support empty strings as the repeat argument (CreatePattern) 2015-12-31 11:48:15 -05:00
parse Avoid some rooting in parsing. 2015-12-11 09:40:17 -05:00
build.rs Fix build scripts warnings. 2015-03-18 21:53:48 +01:00
Cargo.toml Move LayerKind and ScrollPolicy enums to gfx_traits 2015-12-20 20:43:31 -05:00
clipboard_provider.rs Move ScriptMsg from msg crate into script_traits 2015-12-09 20:50:11 +01:00
cors.rs Fix a logical operator to match the spec 2015-12-18 21:25:04 +09:00
devtools.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
document_loader.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
layout_interface.rs Auto merge of #9051 - bholley:split_style_and_layout_wrappers, r=SimonSapin 2015-12-30 10:04:14 +05:30
lib.rs Auto merge of #8506 - nox:finish-ranges, r=dzbarsky 2015-12-26 04:08:15 +05:30
makefile.cargo Fix spurious rebuilds of the script crate 2015-10-08 21:37:56 -07:00
mem.rs more refactoring 2015-10-30 20:26:29 +09:00
network_listener.rs Make AsyncResponseListener methods take &mut self. 2015-10-15 16:44:39 -07:00
page.rs Auto merge of #8481 - frewsxcv:iterablepage-iter, r=Ms2ger 2015-11-12 18:29:12 +05:30
reporter.rs Add pipeline information to CSS error reporting. 2015-12-14 11:18:30 -05:00
script_task.rs Separate script and layout messages, issue #8843 2015-12-26 12:24:51 -05:00
textinput.rs Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all 2015-12-10 16:49:29 -05:00
timers.rs fix intermittent Option::unwrap in timers 2015-12-04 20:16:43 +05:00
unpremultiplytable.rs add un-premultiply table for GetImageData 2015-10-20 04:51:29 -04:00
webdriver_handlers.rs Removed duplicate webdriver_traits file and added webdriver handler for GetWindowSize, IsSelected and IsEnabled 2015-11-29 15:48:23 -05:00