Anthony Urena
ba86131cd5
Refactor Error enum usage to consistently be qualified
2015-10-06 05:43:52 -04:00
Anthony Ramine
709d347872
Make the traits for the IDL interfaces take &self
2015-08-27 22:27:43 +02:00
João Oliveira
fd87c8cb3e
make dom_struct derive HeapSizeOf,
...
closes #7357
2015-08-27 01:17:48 +01:00
Bogdan Cuza
45145108da
Measure heap memory usage for more types. Fixes #6951
2015-08-13 21:44:41 +03:00
David Zbarsky
7315b50973
CanvasGradient#addColorStop should throw for invalid colors and offsets
2015-08-09 23:19:56 -04:00
David Winslow
4cf46bff2d
Refactor #[jstraceable] to #[derive(JSTraceable)]
...
fixes #6524
2015-07-01 18:27:06 -04:00
Michael Wu
675267b782
Upgrade to SM 39
2015-06-19 18:42:48 -04:00
Hyowon Kim
5bbfb42e90
Replace fill_color and stroke_color with fill_style and stroke_style in CanvasContextState.
...
The fillStyle and strokeStyle attributes can be either
strings(color), CanvasGradients, or CanvasPatterns.
2015-06-06 16:15:11 +09:00
ecoal95
3350522306
Layerize canvas
...
Note that this keeps using readback right now, `NativeSurface` painting
will be implemented soon.
Also see https://github.com/servo/servo/issues/6142
2015-05-20 19:10:50 +02:00
Anthony Ramine
e8e7357e99
Fix CanvasGradient.addColorStop()
...
The argument should be a double.
2015-04-27 19:42:48 +02:00
Corey Farwell
cc4a64e1fe
Add/update comments with links to spec
...
Extracted out of #5649
* add more hyperlinks to associated specification for structs/methods
* follow redirects and update links
* replace broken links
* removal of WHATWG multipage page name since the page name is not
guaranteed to be stable
2015-04-14 18:03:13 -04:00
Corey Farwell
d838fcce30
Remove some unnecessary uses of as_slice
...
For the majority of these cases, `as_slice` can be removed due to
`Deref`. In particular, `Deref` for:
* `String` -> `str`
* `Atom` -> `str`
The latter of those two requires, a bump of the locked `string-cache`
library
2015-03-29 14:42:19 -04:00
Tetsuharu OHZEKI
05c6d046dd
Enable unrestricted
types for CanvasRenderingContext2D
.
2015-03-25 15:13:33 +09:00
Mátyás Mustoha
d3199aef74
Implement gradient fill styles for canvas.
2015-03-19 15:59:08 +01:00
Patrick Walton
55a0ee6ec7
script: Implement enough 2D canvas support to render basic SVGs such as the tiger.
2015-02-22 22:29:58 -05:00