Commit graph

3647 commits

Author SHA1 Message Date
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
Patrick Walton
5327c9c44f Implement basic overflow computation. Closes #1148.
This adds just 4 ms out of ~120 ms on the rainbow page.
2013-10-31 10:41:47 -07:00
Josh Matthews
99a36cbeb6 Make Document a Node. 2013-10-31 13:34:44 -04: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
bors-servo
cc76a2188e auto merge of #1160 : saneyuki/servo/dir, r=jdm
@Ms2ger?
2013-10-31 07:04:34 -07:00
Tetsuharu OHZEKI
98c77a86c4 HTMLDirectoryElement should be 'dir'. Fix #1159 2013-10-31 22:55:08 +09:00
bors-servo
6225347462 auto merge of #1136 : Ms2ger/servo/insertBefore, r=jdm 2013-10-31 02:16:26 -07:00
Ilyong Cho
901dfc45e5 parallel selector matching 2013-10-31 11:33:40 +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
bors-servo
1a7e9e5e2c auto merge of #1151 : guersam/servo/patch-1, r=metajack
Just a trivial fix.
2013-10-29 21:16:09 -07:00
guersam
37cfc4d023 Fix some typos in error messages 2013-10-30 12:29:12 +09:00
bors-servo
69699600e4 auto merge of #1147 : SimonSapin/servo/refactor-selector-parsing, r=pcwalton 2013-10-29 16:57:55 -07: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
Simon Sapin
fb9bd7fb0d Fix #1139: refactor return types in selector parsing code. 2013-10-29 17:04:00 +00:00
bors-servo
d4744fe089 auto merge of #1146 : SimonSapin/servo/less-at-pointers, r=jdm 2013-10-29 09:22:19 -07:00
Simon Sapin
8eb2bbb81a Remove some at-pointers that are not actually needed. (Selector matching) 2013-10-29 16:16:45 +00:00
bors-servo
071ad13ac7 auto merge of #1143 : SimonSapin/servo/selector-parsing+first-child, r=SimonSapin
Fixes #1133, fixes #1134.

This is a rebase and clean-up of these two pull requests that have been reviewed individually. Additionally, 5c59699 disables parsing of `display: list-item` which is not supported yet and may have been the cause of the hangs when testing #1134.
2013-10-29 08:02:18 -07:00
Jaeman Park
6dba191efe Implementation of pseudo class 'first-child'. 2013-10-29 14:53:39 +00:00
Simon Sapin
572ba98ac9 Move CSS21 pseudo-elements parsing out of parse_simple_pseudo_class 2013-10-29 14:39:11 +00:00
Simon Sapin
b9d964bcf1 Fix selector parsing. 2013-10-29 14:39:11 +00:00
Simon Sapin
de06249408 Use Au::scale_by instead of duplicating it. 2013-10-29 14:39:11 +00:00
Simon Sapin
5c59699e4c Move special cases of CSS 'display' the property to computed value, per spec. 2013-10-29 14:39:11 +00:00
Patrick Walton
90431a1907 Add rainbow perf test case 2013-10-28 18:47:58 -07:00
Patrick Walton
fd29749529 submodule: Update rust-http to a fixed version 2013-10-28 18:47:57 -07:00
Patrick Walton
8ed29ea8bb submodules: Update submodules. 2013-10-28 15:38:12 -07:00
bors-servo
3cd4ce3b47 auto merge of #1132 : pcwalton/servo/optimize-reflow, r=larsbergstrom
r? @metajack
2013-10-28 13:31:44 -07:00
Patrick Walton
42092921c1 Optimize reflow by changing enums to traits and inlining more 2013-10-28 13:22:26 -07:00
bors-servo
f88869301a auto merge of #1140 : SimonSapin/servo/unused-imports, r=metajack 2013-10-28 13:07:27 -07:00
bors-servo
81f5ba7d05 auto merge of #1137 : SimonSapin/servo/fix-stylesheet-iterator, r=metajack 2013-10-28 12:49:20 -07:00
Simon Sapin
b9fddb951e Fix unused import warnings. 2013-10-28 15:50:28 +00:00
Simon Sapin
eab2f06c5d Fix the out-of-bound failure in stylesheet iterator.
Rewrite the iterator as internal instead of external.
This is much easier for recursive tree traversal.
2013-10-28 15:31:43 +00:00
Ms2ger
49b8c7c9b7 Implement HTMLUnknownElement::new. 2013-10-26 13:24:56 +02:00