YUAN LYU
3ea6d87bcc
Add trait DomObjectWrap to provide WRAP function
2020-03-20 22:16:56 -04:00
pylbrecht
588c09b580
Implement CanvasRenderingContext2D.getTransform()
2020-02-12 08:49:18 +01:00
pylbrecht
481ef46167
Make create_pattern() return None for incomplete images
2020-02-10 14:23:38 +01:00
Bailey Blankenship
deae103042
Addresses Issue: Support OffscreenCanvas as CanvasImageSource #24269
...
Added methods to canvas_data to support drawing an offscreen canvas onto another canvas
Bug fix: Swapped OffscreenCanvas width and height parameters to match Mozilla spec
Tests: Updated metadata for 866 tests
2019-12-04 18:23:28 -05:00
Bailey Blankenship
ec2961920b
Addresses issues raised in #24465 ; removes redundancy in set_bitmap_dimensions
...
Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code
2019-11-10 18:37:14 -05:00
Hanif Bin Ariffin
31ff2d43cc
Moved CanvasState out of canvasrenderingcontext
...
Cleaned up imports...
Applied clang-tidy
Moved CanvasState and some other files
Next commit should remove pub modifier from members of CanvasState and use getters/setters instead.
Members of CanvasState are now private and applied test-tidy
Now have getters that return an immutable reference.
Also, I have no idea what to name some_func.rs
Removed need for some_func and made pub(crate)
2019-10-25 02:27:57 -04:00
Rasmus Viitanen
328809aebe
fix getimagedata returns empty pixels
2019-10-16 21:20:46 +02:00
Paul Rouget
3695fb1eb4
Temporary implementation of Canvas.MeasureText
2019-09-25 13:34:48 +02:00
Emilio Cobos Álvarez
3d57c22e9c
Update euclid.
...
There are a few canvas2d-related dependencies that haven't updated, but they
only use euclid internally so that's not blocking landing the rest of the
changes.
Given the size of this patch, I think it's useful to get this landed as-is.
2019-07-23 23:09:55 +02:00
Maharsh
85c20db495
Extract canvas operations for reuse by OffscreenCanvas.
2019-05-22 10:24:54 -04:00
bors-servo
3f30720bba
Auto merge of #23363 - Darkspirit:https, r=jdm
...
More https
* Disabled unused legacy TLS.
It will be disabled for Nightly 72 or 73 in 5-7 months and ride the [trains](https://wiki.mozilla.org/Release_Management/Calendar ).
https://blog.mozilla.org/security/2018/10/15/removing-old-versions-of-tls/
* Updated MPL license in a few files.
It would be nice if a new version of https://pypi.org/project/servo_tidy/ could be released to update WebRender as well.
* Switched servo-deps.s3.amazonaws.com back to https.
This was recently regressed by 10585be25c
and fc28073dfb
.
* Made https the default protocol for address bar on desktop.
Press Ctrl+L on the Glutin port and enter `example.com`:
Servo previously assumed you meant `http://example.com/ `, now it is `https://example.com/ `.
---
- [x] `./mach build --release` does not report any errors
- [x] `./mach test-tidy` does not report any errors
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23363 )
<!-- Reviewable:end -->
2019-05-14 08:21:17 -04:00
Maharsh
cbff66928f
removed comments
2019-05-13 14:17:12 -04:00
Maharsh
65e1f1fb3e
Updated Testcases and Formatting
2019-05-11 21:58:15 -04:00
Jan Andre Ikenmeyer
97deef4e19
Update MPL license to https
2019-05-10 15:03:19 +02:00
Maharsh
1de8ddd89c
Changes for sender reciever
2019-05-09 21:54:48 -04:00
Maharsh
6c6fb676b7
Created CanvasRect fro OffscreenCanvas and Updated Testcases
2019-03-29 15:12:53 -04:00
Maharsh
0f17273276
Initial Steps OffScreenCanvas API
2019-01-15 22:45:34 -05:00