Commit graph

5232 commits

Author SHA1 Message Date
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
bors-servo
4eb1e88e8f auto merge of #553 : pcwalton/servo/cpu-rendering, r=pcwalton
r? @metajack
2013-10-25 17:01:22 -07:00
Patrick Walton
3d0bfa5040 Implement CPU rendering. Replace texture sharing with native OS surface sharing. 2013-10-25 16:58:30 -07:00
bors-servo
d5bd4bfdb7 auto merge of #1131 : pcwalton/servo/update-dependencies, r=metajack
r? @kmcallister
2013-10-24 17:07:05 -07:00
bors-servo
4301c2f4a4 auto merge of #1130 : kmcallister/servo/contenttest, r=metajack
**This build is expected to fail** at first, because `test_img_width_height` is broken on `master`. It's the simplest way I know to check that with this change, buildbot will indeed catch failing content tests.

After that happens I'll push the commits to fix `test_img_width_height` and request a re-review.
2013-10-24 16:48:54 -07:00
Patrick Walton
74dcb6fccf mk: Update dependencies. 2013-10-24 16:44:05 -07:00
Keegan McAllister
895191c3a6 contenttest: Exit with non-zero status when tests fail
This makes buildbot reject commits with failing contenttests.
2013-10-24 16:16:15 -07:00
bors-servo
0490cc09dd auto merge of #1128 : pcwalton/servo/revert-document-node, r=metajack
This reverts commit 4e47d59165.

Conflicts:

	src/components/script/dom/domparser.rs

r? @metajack
2013-10-24 15:54:50 -07:00
Patrick Walton
baba35adc9 Revert "Make Document a Node." for breaking Acid1
This reverts commit 4e47d59165.

Conflicts:

	src/components/script/dom/domparser.rs
2013-10-24 15:08:09 -07:00
bors-servo
bce5285506 auto merge of #1127 : Ms2ger/servo/DOMParser, r=metajack 2013-10-24 14:27:52 -07:00
Ms2ger
4c69d748bd Cleanup DOMParser binding. 2013-10-24 19:20:03 +02:00
bors-servo
13644ccab1 auto merge of #1079 : jdm/servo/docnode, r=jdm,metajack
The bit I don't like about these changes is that I ended up hiding the document node from the CSS selecting/matching code, so it continues thinking of the document's first child as the root. When I tried to send the full tree including the document node to layout, the layout code refused to create any child flows. When I sent the document's first child without hiding the document, it saw inherited values for properties like font-family, and later tried to treat the document node as an Element when searching for named nodes.
2013-10-24 09:15:55 -07:00
Josh Matthews
4e47d59165 Make Document a Node. 2013-10-24 18:07:46 +02:00
bors-servo
a9e2329939 auto merge of #1126 : Ms2ger/servo/get_scope_and_cx, r=jdm 2013-10-24 08:00:58 -07:00
bors-servo
b1c068b203 auto merge of #1125 : Ms2ger/servo/ClientRectList, r=jdm 2013-10-24 07:42:59 -07:00
Ms2ger
5d1eea5f03 Remove unused get_scope_and_cx functions. 2013-10-24 16:37:56 +02:00