Commit graph

109 commits

Author SHA1 Message Date
Keegan McAllister
f73e48b32f Extract content type and character set from HTTP response headers
We don't use this information anywhere, yet.
2013-10-10 18:18:39 -07:00
Keegan McAllister
48af4e53a9 Refactor resource loader protocol to send metadata first 2013-10-10 18:18:39 -07:00
Ms2ger
04319fdb68 Issue #888 - Node's owner document should never be None. 2013-10-10 10:57:38 +02:00
Ms2ger
388f685549 Cleanup some code. 2013-10-07 16:30:34 +02:00
Keegan McAllister
1c6de361b7 Handle HTTP 3xx redirects
Fixes #973.
2013-09-23 14:50:50 -07:00
Keegan McAllister
9bd0e2a3ac Remove an unneeded helper function 2013-09-23 14:50:50 -07:00
Keegan McAllister
69473b6c9c Make some debug prints more useful 2013-09-23 14:50:50 -07:00
Luis de Bethencourt
2dbd065d91 Rename the element field of the DOM Node hierarchy
Renamed htmlelement, and element

Fixes #924
2013-09-19 19:39:38 -04:00
Keegan McAllister
68ddc6b4ab Make DOMString an alias for Option<~str>
Fixes #898.
2013-09-18 14:46:42 -07:00
Josh Matthews
21b0fc35b6 Allow image prefetching to occur during parsing when no window or document is present. Fixes #939. 2013-09-13 23:10:31 -07:00
Patrick Walton
76d288fe62 script: Implement image source setting from script and write a demo for this. 2013-09-12 18:03:11 -07:00
Josh Matthews
a410651fba Make Element.set_attr require an AbstractNode so we can always downcast. 2013-09-12 14:40:00 -07:00
Josh Matthews
9640324721 Make sandboxed iframes run with different script tasks. 2013-09-11 11:57:40 -07:00
Jack Moffitt
227bb95213 Add document.createElement and document.createTextNode.
This re-uses the parser's node creation code. That could probably be put
somewhere nicer. Suggestions welcome!
2013-09-10 16:21:58 -06:00
Ms2ger
916d0253b3 Issue #561 - Execute inline JS.
This follows the approach of external scripts in executing tests all together after parsing finishes.
2013-09-04 21:38:35 +02:00
bors-servo
4cfcad0a0e auto merge of #837 : saneyuki/servo/webidl, r=jdm 2013-09-03 10:46:00 -07:00
Tom Schuster
a0d900e1f6 Pass the javscript file url to the evaluate function 2013-08-31 20:07:08 -04:00
Tetsuharu OHZEKI
17e888bfea Generate bindings for HTMLAudioElement, HTMLVideoElement. 2013-09-01 06:51:33 +09:00
Tetsuharu OHZEKI
d3108a898d Generate bindings for HTMLTrackElement. 2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
9919bae897 Generate bindings for HTMLLabelElement. 2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
f7bc8beb18 Generate bindings for HTMLLegendElement. 2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
e55b3d6b86 Generate bindings for HTMLPreElement. 2013-08-31 20:00:25 +09:00
Tetsuharu OHZEKI
22e02b573d Generate bindings for HTMLTemplateElement. 2013-08-31 20:00:25 +09:00
Yusuke Suzuki
93fba253a2 Implement IDL based HTMLSmallElement binding 2013-08-31 01:00:05 +09:00
Josh Matthews
8070f02e39 Generate bindings for Comment and DocumentType. 2013-08-28 20:31:30 -04:00
Josh Matthews
1eb5eeb630 Generate bindings for HTMLUnknownElement. 2013-08-28 19:51:07 -04:00
Josh Matthews
e26a541eb2 Generate bindings for HTMLParamElement. 2013-08-28 17:53:36 -04:00
Josh Matthews
8693459b28 Generate bindings for HTMLOutputElement. 2013-08-28 17:47:29 -04:00
Josh Matthews
4e3b948a37 Generate bindings for HTMLOptGroupElement. 2013-08-28 17:25:37 -04:00
Josh Matthews
a2739fd196 Generate bindings for HTMLObjectElement. 2013-08-28 09:22:08 -04:00
Josh Matthews
4c92810291 Generate bindings for HTMLModElement. 2013-08-28 01:39:38 -04:00
Josh Matthews
35a5565f51 Remove more unnecessary lists of imports. 2013-08-28 01:28:50 -04:00
Josh Matthews
0fae7afa54 Generate bindings for HTMLMeterElement. 2013-08-28 01:24:44 -04:00
Josh Matthews
d31e308d3f Remove many long ugly lists of imports of HTML element types. They can now be obtained via dom::types::*, which is autogenerated. 2013-08-27 17:38:27 -04:00
Josh Matthews
48ce912757 Generate bindings for HTMLMapElement. 2013-08-26 17:25:10 -04:00
Josh Matthews
39772f0bf4 Generate bindings for HTMLHeadingElement. 2013-08-26 17:09:24 -04:00
Josh Matthews
e71b3e67a4 Generate bindings for HTMLFrameSetElement. 2013-08-26 16:36:24 -04:00
Josh Matthews
e552cfd4ce Generate bindings for HTMLFrameElement. 2013-08-26 16:25:02 -04:00
Josh Matthews
1b5f48abe1 Generate bindings for HTMLFieldSetElement. 2013-08-26 15:51:19 -04:00
Josh Matthews
7e9caddb39 Generate bindings for HTMLDirectoryElement and HTMLEmbedElement 2013-08-26 15:14:35 -04:00
Josh Matthews
f68639755d Generate bindings for HTMLDataListElement. 2013-08-26 12:52:37 -04:00
Josh Matthews
b36ae3b0df Generate bindings for HTMLButtonElement. 2013-08-26 12:29:07 -04:00
Tetsuharu OHZEKI
4fc2f74139 Generate bindings for HTMLProgressElement. 2013-08-24 10:16:42 +09:00
Tetsuharu OHZEKI
6b764440d7 Generate bindings for HTMLLIElement. 2013-08-24 00:43:44 +09:00
Tetsuharu OHZEKI
cd1e3a19e3 Rename HTMLListItemElement to HTMLLIElement. 2013-08-24 00:30:00 +09:00
Tetsuharu OHZEKI
14bdd21ed8 Generate bindings for HTMLInputElement. 2013-08-24 00:25:26 +09:00
Tetsuharu OHZEKI
c2391fe5ff Generate bindings for HTMLTableColElement. 2013-08-24 00:25:17 +09:00
Tetsuharu OHZEKI
d86d38c584 Generate bindings for HTMLTableCellElement. 2013-08-24 00:25:06 +09:00
Tetsuharu OHZEKI
2878f44416 Generate bindings for HTMLQuoteElement. 2013-08-24 00:24:45 +09:00
Youngmin Yoo
75ccbdb612 Generate bindings for HTMLLinkElement 2013-08-22 22:36:06 -04:00