bors-servo
dea36f9816
auto merge of #4891 : mmatyas/servo/canvas_gradient, r=jdm
...
Based on [ebalint](https://github.com/ebalint )'s original patch, this commit implements the linear and radial gradients for the canvas. The PR also includes test cases.
Depends on #4623 and servo/rust-azure#136 .
2015-03-20 03:12:47 -06:00
Maciej Skrzypkowski
7da356cd05
Added document.activeElement attribute.
2015-03-19 23:00:13 +01:00
Mátyás Mustoha
d3199aef74
Implement gradient fill styles for canvas.
2015-03-19 15:59:08 +01:00
Chris Paris
99286e4b4f
Implement Element.innerHTML setter
2015-03-18 11:20:47 -10:00
Ms2ger
5f15eb5fbf
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
2015-03-18 13:18:31 -04:00
Ms2ger
a8553c3606
Update web-platform-tests.
2015-03-17 22:02:43 +01:00
Mátyás Mustoha
2817f2e066
Canvas: implement quadraticCurveTo().
2015-03-17 16:05:36 +01:00
bors-servo
7bd6cb0091
auto merge of #5219 : doublec/servo/view_source_protocol_and_plain_text, r=jdm
...
Implements view-source protocol by having a view-source handler, and modifying the content type to be text/plain if that is used.
Implements text/plain handling. This allows view-source content to display as plain text.
Example usage:
./mach run http://cd.pn/x.txt
./mach run view-source:http://tinyvid.tv/
This fixes issue #4181 . Issue #3649 includes "support text/plain" so this possibly fixes some of that issue as well.
2015-03-17 07:18:51 -06:00
Chris Double
618142fac7
Implement displaying of text/plain documents
...
This is done by detecting the content type as text/plain
and following the requirements from:
https://html.spec.whatwg.org/multipage/browsers.html#read-text
2015-03-17 18:11:33 +13:00
Zack Slayton
323baf92db
localStorage shim, fixes #5195
2015-03-16 13:33:55 -07:00
bors-servo
e8f1a046c6
auto merge of #5185 : mmatyas/servo/canvas_arc, r=pcwalton
...
This patch enables the use of `arc()` on the canvas.
I couldn't add reftest this time, as it involves some antialiasing issues, and so the reference doesn't match.
2015-03-10 09:45:49 -06:00
Patrick Walton
8703cd9747
Update WPT expectations
2015-03-09 20:54:13 -07:00
Mátyás Mustoha
c98bca6130
Canvas: added arc().
2015-03-09 21:55:40 +01:00
Ms2ger
8343eb0b8a
Disable intermittently failing canvas_transformations_scale_001.htm.
2015-03-09 18:16:08 +01:00
Josh Matthews
9a3d58032d
Update WPT expectations.
2015-03-03 16:25:40 -05:00
Simon Sapin
e1b5acb56c
Revert "Remove expected failure markers on a couple of WPT reftests that now pass."
...
This reverts commit 4c8bde5736
.
2015-03-03 21:15:49 +01:00
Simon Sapin
4c8bde5736
Remove expected failure markers on a couple of WPT reftests that now pass.
2015-03-03 18:24:33 +01:00
Mátyás Mustoha
774cc4a93a
Canvas: added lineTo().
2015-03-02 21:00:50 +01:00
bors-servo
55f7636549
auto merge of #4928 : yodalee/servo/issue4906-fix-characterdata-substringdata, r=jdm
...
issue #4906
Fix substringData function, and add a test case for all function in characterdata.
2015-02-27 19:39:58 -07:00
yodalee
0e29eabb87
fix function on utf8 string, pass two tests
...
dom/nodes/Node-properties.html
detachedForeignComment.length]
detachedXmlComment.length]
2015-02-28 10:21:36 +08:00
James Gilbertson
5f5d1246ef
Implement Document.currentScript
2015-02-27 11:11:02 -07:00
bors-servo
c1645bd10c
auto merge of #5070 : luniv/servo/script-before-after-events, r=Ms2ger
...
Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block , sections 2.b.2 & 2.b.9
2015-02-26 01:06:51 -07:00
Glenn Watson
f8ca60e74e
Update WPT expectations for reftest-wait change.
2015-02-26 13:30:53 +10:00
James Gilbertson
0b085df1bc
Implement 'beforescriptexecute' and 'afterscriptexecute' events.
...
Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block , sections 2.b.2 & 2.b.9
2015-02-25 15:37:54 -07:00
Ms2ger
7c146861aa
Update web-platform-tests.
2015-02-24 21:19:35 +01:00
bors-servo
99617557d4
auto merge of #4996 : jdm/servo/reportpending, r=Ms2ger
...
I believe this problem was introduced with the mozjs error reporting changes, since we don't see errors reported from `<script>` blocks any more.
2015-02-23 20:30:48 -07:00
Josh Matthews
880c7189b3
Eagerly report errors when evaluating JS on a global scope. Fixes #4966 .
2015-02-23 22:28:06 -05:00
Ms2ger
fdfcd7590a
Enable 2dcontext tests.
2015-02-23 13:50:34 +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
bors-servo
e39e75865b
auto merge of #4865 : psdh/servo/prepscript, r=Ms2ger
...
#4176
2015-02-20 17:03:53 -07:00
Prabhjyot Singh Sodhi
44e2e2747c
implementing step 12 of 'prepare a script' algorithm
2015-02-21 04:58:27 +05:30
bors-servo
db644245b7
auto merge of #4980 : Ms2ger/servo/DOMEvents, r=jdm
2015-02-20 13:51:59 -07:00
bors-servo
172db80703
auto merge of #4882 : chmanchester/servo/stringifiers, r=Ms2ger
2015-02-20 13:01:02 -07:00
Chris Manchester
00f863b4fe
Add stringifier method support to CodegenRust.py ( fixes #1986 )
...
Add a stringifier to URLUtils (Location). (fixes #4605 )
wpt metadata updates for #4605
2015-02-20 11:35:16 -08:00
Ms2ger
0401dcd438
Enable DOMEvents tests.
2015-02-20 20:14:03 +01:00
Tetsuharu OHZEKI
abd591b96e
XMLHttpRequestEventTarget should not be [NoInterfaceObject].
2015-02-18 02:38:23 +09:00
Ms2ger
92a7fee296
Update web-platform-tests.
2015-02-16 19:57:47 +01: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
Glenn Watson
1e0e98b63c
Implement window.frameElement, change window.parent to make use of it.
2015-02-07 06:46:29 +10:00
Keith Yeung
75e5c6fcdb
Implemented Location.assign
2015-02-06 13:24:20 +08:00
Glenn Watson
0873e5c8ca
Implement window.parent for iframes.
2015-02-05 07:04:04 +10:00
Josh Matthews
0557f8592c
Update WPT expectations.
2015-02-04 18:51:48 +00:00
Josh Matthews
6fd31cdf0f
Fix WPT interface tests.
2015-02-04 13:37:01 +00:00
Josh Matthews
d2444dd370
Implement document.cookies.
2015-02-04 13:35:05 +00:00
yodalee
67ff27293a
remove expected FAIL but now PASS in test ini
2015-02-04 01:02:36 +08:00