bors-servo
4bcdbe6d56
Auto merge of #8932 - rilut:add-elementfrompoint, r=nox
...
Implement Document#elementFromPoint
Related to #8666 . I haven't implemented elementsFromPoint, because from my past discussion with jdm, [it's not good yet](dbfa25214b (commitcomment-14668959) ) to implement elementsFromPoint because it may cause GC hazards.
By the way, I also have to include the test for this, right? I've found this [1]. So, is all I have to do is just to put this into `tests/wpt/web-platform-tests/cssom-view/elementFromPoint.html`?
[1] http://test.csswg.org/suites/cssom-view-1_dev/nightly-unstable/html/elementFromPosition.htm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8932 )
<!-- Reviewable:end -->
2016-03-01 03:01:50 +05:30
Rizky Luthfianto
76678bbdae
Implement Document#elementFromPoint
2016-03-01 02:23:07 +07:00
Ms2ger
62a9bebeef
Update web-platform-tests to revision 7ed49cff4d031720f829c01df837ed7a09ad5c60
2016-02-24 11:04:43 +01:00
Josh Matthews
e9b98ad5fa
Make iframes block the enclosing document's load event. Fixes #6663 .
2016-02-10 09:20:00 -05:00
Ms2ger
73bc5cf1b8
Update web-platform-tests to revision 7f2f85a88f434798e9d643427b34b05fab8278c6
2016-02-01 17:25:22 +01:00
Ms2ger
1f5d8fedd4
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
2016-01-18 13:24:36 +01:00
David Zbarsky
84ec9c4266
Handle toDataURL with no context
2015-12-24 11:48:04 -08:00
David Zbarsky
b8e9064fe6
Add origin-clean flag tracking for canvas
2015-12-17 11:40:38 -08:00
Ms2ger
cd00f312a3
Update web-platform-tests to revision 0bb3d73f26aa5a21326b6c1c7aaf35029222223f
2015-12-16 16:58:03 +01:00
Eli Friedman
930b4bb7b7
Remove a couple of dead .ini files.
...
The directories in question no longer exist.
2015-11-23 19:32:36 -08:00
David Zbarsky
d95ca55f26
Allow retrieving width/height for non-positioned elements
2015-11-03 20:13:09 -08:00
David Zbarsky
a63c98c24a
Implement HTMLCanvasElement#toDataURL
2015-10-26 21:24:21 -07:00
Anthony Ramine
a7476a758e
Bump html5ever to 0.2.4, <template> support!
...
The failing <img> test comes from the now-correct parsing of <font face> elements
in SVG.
2015-09-08 10:28:21 +02:00
Ms2ger
509b050712
Disable html tests in __dir__.ini rather than include.ini.
...
This ensures those tests are skipped when running ./mach test-wpt html.
2015-09-03 17:02:06 +02:00
Ms2ger
88ea7c4291
Update web-platform-tests to revision 58133dd71b16037669a0aa011b2afd448b52d434.
2015-08-12 08:21:50 +02:00
Glenn Watson
2e08f42ae4
Update stb-image to get JPEG progressive support.
2015-08-06 12:48:59 +10:00
Josh Matthews
b2cf27ba5d
Use an actual byte string when defining the prototype of named constructors. Fixes #6730 .
2015-07-29 12:39:26 -04:00
Ms2ger
5b2ca4d132
Update web-platform-tests to revision 12d3e15e5ecae695e1216c358d613705fbff6b68
2015-07-27 16:31:27 +02:00
Josh Matthews
65785e2c44
Disable two tests that do not yield reliable output in release builds.
2015-07-24 18:28:43 -04:00
Matt Brubeck
859f99d5e8
Update WPT test expectations for --release builds
2015-07-23 22:57:54 -07:00
Ms2ger
bfb96b9448
Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e.
2015-07-14 10:38:54 +02:00
Ms2ger
c66c6af0ba
Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572
2015-06-28 22:52:24 +02:00
Hyowon Kim
0e8491fb8c
Create pattern from HTMLCanvasElement or CanvasRenderingContext2D.
2015-06-24 09:56:28 +09:00
Josh Matthews
a1ae53a230
Delay stylesheet load in test to increase confidence.
2015-05-11 15:35:10 -04:00
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04:00
Ms2ger
93b883e1db
Update web-platform-tests to revision acdb8bf3e4714528b6b5f9ff038dc80ee4fb7dcf
2015-04-27 18:48:44 +02:00
James Graham
291ac06c01
Update web-platform-tests expected data to revision 2a9fd810bb18610b422dbc3998ab74aa1bffae95
2015-04-24 18:31:05 +01:00
Glenn Watson
d8aef7208e
Refactored image cache task - details below.
...
* Simpler image cache API for clients to use.
* Significantly fewer threads.
* One thread for image cache task (multiplexes commands, decoder threads and async resource requests).
* 4 threads for decoder worker tasks.
* Removed ReflowEvent hacks in script and layout tasks.
* Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe.
* Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow.
* Add reflow batching for when multiple images load quickly.
* Reduces the number of paints loading wikipedia from ~95 to ~35.
* Reasonably simple to add proper prefetch support in a follow up PR.
* Async loaded images always construct Image fragments now, instead of generic.
* Image fragments support the image not being present.
* Simpler implementation of synchronous image loading for reftests.
* Removed image holder.
* image.onload support.
* image NaturalWidth and NaturalHeight support.
* Updated WPT expectations.
2015-04-23 09:40:24 +10:00
Mátyás Mustoha
6fd6eefb35
Canvas: add clipping path support.
2015-04-22 16:25:02 +02:00
Ms2ger
71008d816d
Update web-platform-tests.
2015-04-09 14:38:04 +02:00
Mátyás Mustoha
d3199aef74
Implement gradient fill styles for canvas.
2015-03-19 15:59:08 +01:00
Ms2ger
a8553c3606
Update web-platform-tests.
2015-03-17 22:02:43 +01:00
Josh Matthews
9a3d58032d
Update WPT expectations.
2015-03-03 16:25:40 -05:00
Ms2ger
7c146861aa
Update web-platform-tests.
2015-02-24 21:19:35 +01:00
bors-servo
2e1adb3fa6
auto merge of #5016 : jdm/servo/canvas-for-svg, r=jdm
...
the tiger.
Rebased from #4623 .
2015-02-22 20:33:45 -07: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
bors-servo
0ea9dafa63
auto merge of #5019 : jdm/servo/serializerfix, r=Ms2ger
2015-02-22 13:51:45 -07:00
Josh Matthews
4c67acfb4a
The HTML serializer depth can change on each iteration.
2015-02-22 15:02:20 -05:00
Edit Balint
325400dce4
Implement Canvas pixel manipulation
2015-02-22 13:41:58 -05:00
Simon Sapin
d5dd1d658e
Upgrade to rustc ba2f13ef0 2015-02-04
2015-02-11 14:48:34 -08:00
Glenn Watson
980b1efb72
Dispatch a load event at iframes. Fixes #4350 .
2015-02-11 09:07:05 +10:00
Ms2ger
29e250d4ac
Update web-platform-tests and wptrunner.
2015-01-14 15:20:41 +01:00
Ms2ger
139e91e398
Update web-platform-tests.
2014-12-28 10:39:11 +01:00
Bruno de Oliveira Abinader
57c520d8cf
Implement HTMLElement.dataset ( fixes #2974 ).
2014-12-23 14:24:06 +01:00
Ms2ger
801c7a35be
Update web-platform-tests.
2014-11-05 10:30:59 +01:00
Keegan McAllister
3fbb25cc43
Update test expectations
...
The hubbub bindings set document.characterSet but we don't use it for anything.
html5ever doesn't parse charsets from <meta> tags yet, and I'd rather add that
as part of adding actual support for other encodings (which Servo never had
with hubbub).
Switching to html5ever also changes attribute parsing slightly (bringing it in
line with the current spec) and this breaks some of the <img srcset> tests. We
don't support this feature at all.
Some other things change due to bugs in hubbub not present in html5ever.
2014-10-16 13:06:04 -07:00
Manish Goregaokar
ca2d5d328d
Update wpt expectations
2014-10-11 16:10:02 +05:30
Ms2ger
5e59a27dd4
Update web-platform-tests.
2014-10-07 09:38:57 +02:00
Ms2ger
e3496be9dd
Update web-platform-tests.
2014-09-22 12:13:52 +02:00
Jack Moffitt
c6ab60dbfc
Cargoify servo
2014-09-08 20:21:42 -06:00