Commit graph

4860 commits

Author SHA1 Message Date
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
bors-servo
404e3881b6 auto merge of #1121 : kmcallister/servo/client-rect, r=metajack
This broke in ab0d620 and in trying to fix it, it's become clear that I don't understand the intended behavior of `getClientRects()`.  In fact I only see one rect in Firefox even when all three `<div>`s have drawn borders, which confuses me compared to [the spec](http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods).  Let's remove the test for now and someone who understands what's going on (which could be future me!) will re-add it.
2013-10-24 07:22:02 -07:00
bors-servo
ecf741f3ad auto merge of #1119 : Ms2ger/servo/dead-init_wrapper, r=kmcallister 2013-10-24 07:04:07 -07:00
bors-servo
d97249cc8c auto merge of #1118 : Ms2ger/servo/NodeList, r=kmcallister 2013-10-24 06:43:03 -07:00
bors-servo
d222443b38 auto merge of #1117 : Ms2ger/servo/HTMLCollection, r=kmcallister 2013-10-24 06:22:16 -07:00
bors-servo
86ec0a32f5 auto merge of #1116 : Ms2ger/servo/ClientRect, r=kmcallister 2013-10-24 06:01:15 -07:00
bors-servo
21270738ae auto merge of #1102 : Ms2ger/servo/dead-document-code, r=jdm
I don't think it's useful to keep those lying around, in particular because we should never even implement some of those (`mozHidden`, `mozVisibilityState`, …)
2013-10-24 05:40:24 -07:00
bors-servo
5168d4237a auto merge of #1114 : metajack/servo/reftest-sha-fix, r=larsbergstrom
`dirname()` now returns a `&'a [u8]` instead of a `Path`, which was serialized
to `[ 1 2 3 4 5 ]`.
2013-10-24 05:22:26 -07:00
bors-servo
45b7c9eee8 auto merge of #1122 : metajack/servo/fix-hubbub-deps, r=metajack,me
This fixes a parallel build issue where hubbub is built before libparserutils.
2013-10-24 04:37:23 -07:00
Jack Moffitt
493bdec07c Make hubbub depend on libparserutils. 2013-10-24 04:03:04 -06:00
Jack Moffitt
0b8e53f762 Update glfw to fix the build on the mac slave. 2013-10-24 02:33:04 -06:00
Keegan McAllister
20613390f9 Remove broken test_getClientRects.html
This broke in ab0d620 and in trying to fix it, it's become clear that I don't
understand the intended behavior of getClientRects().  In fact I only see one
rect in Firefox even when all three <div>s have drawn borders, which confuses
me.  Let's remove the test for now and someone who understands what's going on
(which could be future me!) will re-add it.
2013-10-23 17:31:06 -07:00
Ms2ger
8a9129abb8 Remove unused init_wrapper functions. 2013-10-23 21:20:36 +02:00
Ms2ger
5ee3bc7450 Cleanup NodeList bindings. 2013-10-23 21:13:18 +02:00
Ms2ger
8cb4976136 Cleanup HTMLCollection binding. 2013-10-23 20:59:14 +02:00
Ms2ger
6af555ab23 Cleanup ClientRectList binding. 2013-10-23 20:44:22 +02:00
Ms2ger
f75568e939 Cleanup ClientRect binding. 2013-10-23 20:15:36 +02:00
Jack Moffitt
b65e3ea86e Fix reftests.
`dirname()` now returns a `&'a [u8]` instead of a `Path`, which was serialized
to `[ 1 2 3 4 5 ]`.
2013-10-23 10:19:28 -06:00
Jack Moffitt
d2b57ba7c1 Update submodules.
Fixes build on 10.9.
2013-10-23 09:51:36 -06:00
bors-servo
1ed87f94b4 auto merge of #1112 : SimonSapin/servo/newnewcss, r=metajack
Following up on #1109. These three commits are independent.
2013-10-23 06:19:03 -07:00
Simon Sapin
ab0d620025 Remove the 'border-width: 0' hack.
This was to work-around a netsurfcss quirk.
2013-10-23 14:47:39 +02:00
Simon Sapin
2045f6a068 Remove (now unused) NetSurf’s libcss and libwapcaplet.
This removes four submodules (two C libraries and their Rust bindings.)
2013-10-23 14:42:29 +02:00
Simon Sapin
86da932927 Attempt to fix incremental layout
I have no idea how to test it,
but this code builds and is close enough to what it was befor #1109.

Review much needed.
2013-10-23 14:23:51 +02:00