Commit graph

151 commits

Author SHA1 Message Date
Ms2ger
09b840c7ed Introduce HTMLParamElement::new. 2013-10-31 21:06:37 +01:00
Ms2ger
ec2fd955aa Introduce HTMLPreElement::new. 2013-10-31 21:00:19 +01:00
Ms2ger
d4d9395c90 Introduce HTMLProgressElement::new. 2013-10-31 20:47:57 +01:00
Ms2ger
e3ac4c9e00 Introduce HTMLQuoteElement::new. 2013-10-31 20:24:27 +01:00
Ms2ger
152f44db52 Introduce HTMLScriptElement::new. 2013-10-31 20:18:09 +01:00
Ms2ger
9cf5bbbfec Introduce HTMLSelectElement::new. 2013-10-31 20:11:52 +01:00
Ms2ger
c32ec7bf65 Introduce HTMLSourceElement::new. 2013-10-31 20:08:10 +01:00
Ms2ger
64de428d79 Introduce HTMLSpanElement::new. 2013-10-31 20:03:14 +01:00
Ms2ger
8cba205c82 Introduce HTMLStyleElement::new. 2013-10-31 19:58:42 +01:00
Ms2ger
bee5f1be11 Introduce HTMLTableElement::new. 2013-10-31 19:53:52 +01:00
Ms2ger
a54e8046bb Introduce HTMLTableCaptionElement::new. 2013-10-31 19:49:11 +01:00
Ms2ger
e578642278 Introduce HTMLTableColElement::new. 2013-10-31 19:20:37 +01:00
Ms2ger
3a6d6b9a71 Introduce HTMLTableSectionElement::new. 2013-10-31 17:02:13 +01:00
Ms2ger
e48a8d1e30 Introduce HTMLTemplateElement::new. 2013-10-31 16:57:36 +01:00
Ms2ger
8f2b9ac413 Introduce HTMLTextAreaElement::new. 2013-10-31 16:44:47 +01:00
Ms2ger
90fed8e53d Introduce HTMLTimeElement::new. 2013-10-31 16:40:02 +01:00
Ms2ger
9518754fae Introduce HTMLTitleElement::new. 2013-10-31 16:32:50 +01:00
Ms2ger
53562090dc Introduce HTMLTableRowElement::new. 2013-10-31 16:29:17 +01:00
Ms2ger
5f0e8471e3 Introduce HTMLTrackElement::new. 2013-10-31 16:11:27 +01:00
Ms2ger
82e3f71750 Introduce HTMLUListElement::new. 2013-10-31 16:09:50 +01:00
Ms2ger
c9bc5f6409 Introduce HTMLImageElement::new. 2013-10-31 16:01:54 +01:00
Ms2ger
7c17970c21 Introduce HTMLIFrameElement::new. 2013-10-31 15:53:43 +01:00
Ms2ger
8e5cd9f3a8 Introduce HTMLHeadingElement::new. 2013-10-31 15:41:35 +01:00
Ms2ger
a972c470a7 Introduce HTMLTable{Data,Header}CellElement::new. 2013-10-31 15:41:35 +01:00
Ms2ger
618447445f Introduce HTML{Audio,Video}Element::new. 2013-10-31 15:41:30 +01:00
Tetsuharu OHZEKI
98c77a86c4 HTMLDirectoryElement should be 'dir'. Fix #1159 2013-10-31 22:55:08 +09:00
Ms2ger
801348270c Address review comments and replace add_to_doc with node_removed and node_inserted functions. 2013-10-30 11:13:58 +01:00
Ms2ger
2ca1eede9a Implement insertBefore and reimplement appendChild. 2013-10-29 21:48:28 +01:00
bors-servo
2c3d5ec79f auto merge of #1138 : Ms2ger/servo/reflect-HTMLUnknownElement, r=jdm
@jdm: I think we should move nodes more in line with the rest of the DOM. How do you feel about something like this?
2013-10-29 12:17:44 -07:00
Patrick Walton
42092921c1 Optimize reflow by changing enums to traits and inlining more 2013-10-28 13:22:26 -07:00
Ms2ger
49b8c7c9b7 Implement HTMLUnknownElement::new. 2013-10-26 13:24:56 +02:00
Seo Sanghyeon
b2431912d3 Use the new style system
Credits to:
    Deokjin Kim
    Ilyong Cho
    Jaeman Park
    Junyoung Cho
    Ryan Choi
    Sangeun Kim
    Yongjin Kim
    Youngmin Yoo
    Youngsoo Son
2013-10-23 16:49:35 +09:00
Jack Moffitt
94202661c0 Update to latest Rust. 2013-10-21 17:38:34 -06:00
Marcos Caceres
faf53fd05c Implemention of HTMLMainElement 2013-10-18 22:03:58 +01:00
Keegan McAllister
5b1fede394 Factor out a convenience function load_whole_resource
Also remove an unnecessary spawn in js_script_listener, and remember the final
script URL after redirects.
2013-10-17 19:28:43 -07:00
bors-servo
ebe1c1353c auto merge of #1077 : kmcallister/servo/jsstr, r=jdm
This doesn't resolve the big questions of how Servo will represent strings; it's just about doing the conversion correctly for our existing types.
2013-10-17 16:34:30 -07:00
bors-servo
6db57e6f72 auto merge of #1075 : SimonSapin/servo/newnewcss, r=kmcallister
I believe this is all the preparatory work discussed in #1006 and #1057: The new 'style' crate implements the whole style system (including parsing, matching and cascading) and only depends on cssparser and util, so that gfx, script and main can all depend on it.

Next: porting the layout code to this. (Really, this time! I think.)
2013-10-16 15:37:42 -07:00
Keegan McAllister
279ae53b7b Pass scripts as ~str to support non-ASCII string literals etc.
Of course scripts on the Web are not always encoded as UTF-8 and we will have
to deal with that at some point.
2013-10-16 14:59:05 -07:00
Simon Sapin
62f1f03c16 Move Element::get_attr to a trait defined in util::tree
… and add a get_local_name() method to that trait.
2013-10-16 18:10:39 +01:00
Tetsuharu OHZEKI
320f7985b0 Clean up macros to handle html tags. 2013-10-16 20:38:59 +09:00
Tetsuharu OHZEKI
776ab67905 Rename the element field of the DOM Node hierarchy.
See #924
2013-10-16 00:20:20 +09:00
Tetsuharu OHZEKI
0de35fdc2f Implement HTMLTableDataCellElement & HTMLTableHeaderCellElement. 2013-10-15 22:37:06 +09:00
Tetsuharu OHZEKI
31b873789b Handle th tag as HTMLTableCellElement. #1060 2013-10-15 20:22:32 +09:00
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