Ms2ger
9fbc45ae9c
Introduce HTMLOListElement::new.
2013-11-01 21:56:22 +01:00
Ms2ger
6c217c6872
Introduce HTMLOptionElement::new.
2013-11-01 21:52:43 +01:00
Ms2ger
21be4752a1
Introduce HTMLOptGroupElement::new.
2013-11-01 21:47:25 +01:00
Ms2ger
bc61e0348e
Introduce HTMLOutputElement::new.
2013-11-01 21:39:55 +01:00
bors-servo
bb71ee4541
auto merge of #1166 : SimonSapin/servo/private, r=pcwalton
...
I.e. make every module private by default.
2013-11-01 07:13:19 -07:00
Simon Sapin
7a48cb6815
Only export an explicit public API in the style crate
...
I.e. make every module private by default.
2013-11-01 14:11:13 +00:00
Simon Sapin
23e3757db6
Update rust-cssparser for visibility rules.
2013-11-01 13:32:03 +00:00
Ms2ger
6623c580a3
Implement restrictions on the children of Document nodes.
2013-11-01 12:13:30 +01:00
bors-servo
ddce8b8fa0
auto merge of #1152 : ILyoan/servo/parallel_selector_matching, r=SimonSapin
...
This an attempt to parallelize selector matching.
Approach
* Let the `match_subtree` spawn limited number of tasks.
* Each of them takes a list of nodes that is uniformly distributed
* And then each task does the selector matching for every single node in its list.
(Not sure if this is worthwhile for long term especially considering CSS optimizing techniques such as ancestor filter or style sharing)
Benchmark from my machine (LayoutSelectorMatchCategory) (intel i7 3.4GHz * 8, linux x86_64)
* src/test/demo.html
* original: 0.07ms
* parallel: 0.20ms
* perf-rainbow.html
* original: 485ms
* parallel: 245ms
* A test page with 15000 nodes and 3000 CSS selector(including inline style).
* original: 140ms
* parallel: 60ms
2013-10-31 23:25:26 -07:00
bors-servo
a72d055800
auto merge of #1156 : SimonSapin/servo/logging, r=kmcallister
...
(Ab)using `error!()` because it’s enabled by default.
2013-10-31 17:55:14 -07:00
Simon Sapin
abb1bdefee
Log CSS errors on stderr, with serialized bits of CSS.
2013-11-01 00:30:20 +00:00
bors-servo
352acbb833
auto merge of #1163 : metajack/servo/kmc-rust-upgrade, r=kmcallister
...
Most work courtesy of @kmcallister.
I already reviewed Keegan's work, so just the last two commits need attention.
2013-10-31 16:34:14 -07:00
Jack Moffitt
aaf96b6003
Update submodules.
2013-10-31 14:58:56 -06:00
Jack Moffitt
11dc2ff875
Fix logging to account for lack of Default.
2013-10-31 14:58:55 -06:00
Keegan McAllister
f016ede8b0
Touch rust-auto-clean-trigger
2013-10-31 14:58:55 -06:00
Keegan McAllister
67baffe748
Update reftest runner for new Rust
2013-10-31 14:58:55 -06:00
Keegan McAllister
cbcd04ffa8
Store the Page's final URL before parsing
...
We were parsing URLs like
//bits.wikimedia.org/static-1.22wmf22/skins/vector/images/search-ltr.png?303-4
as local filenames because HTMLImageElement::update_image didn't have a
current_url to pass to make_url().
2013-10-31 14:58:55 -06:00
Keegan McAllister
da6c27c421
Remove unnecessary format!s
2013-10-31 14:58:55 -06:00
Keegan McAllister
b451ff3e15
Other language changes
2013-10-31 14:58:55 -06:00
Keegan McAllister
4d23ce41af
Add a helper for ignoring the EOF condition so we don't crash
2013-10-31 14:58:55 -06:00
Keegan McAllister
e2b7885b73
fmt! -> format!
2013-10-31 14:58:55 -06:00
Keegan McAllister
e7e7eab905
Add default formatters for Au and Range
2013-10-31 14:58:54 -06:00
Keegan McAllister
8010493089
Upgrade submodules
2013-10-31 14:58:28 -06:00
Keegan McAllister
b8d85cc0c0
Upgrade the Rust compiler
2013-10-31 14:58:28 -06:00
Keegan McAllister
f3b2d36018
Remove unused rust-http-client
2013-10-31 14:58:28 -06:00
bors-servo
041f3a8b06
auto merge of #1162 : Ms2ger/servo/new-htmlelement, r=jdm
2013-10-31 13:55:29 -07:00
bors-servo
d54994a400
auto merge of #1161 : jdm/servo/docnode, r=metajack
...
r? @metajack
2013-10-31 13:31:42 -07:00
Ms2ger
78010f96bc
Introduce HTMLParagraphElement::new.
2013-10-31 21:11:00 +01:00
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
bors-servo
87bd99d05f
auto merge of #1149 : pcwalton/servo/store-overflow, r=kmcallister
...
This adds just 4 ms out of ~120 ms on the rainbow page.
r? @kmcallister
2013-10-31 12:10:32 -07: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
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