bors-servo
820291bcb7
auto merge of #1623 : larsbergstrom/servo/inline_border_reftest, r=metajack
...
r? @metajack
These are all commits you've previously reviewed, but without the image_border change madness. We're seeing some intermittent reftest failures, so I'd like to separately land these.
2014-02-05 13:37:54 -05:00
bors-servo
8165703e72
auto merge of #1621 : abustany/servo/fix-insert-before, r=Ms2ger
...
Closes issue #1572
2014-02-05 12:40:55 -05:00
Adrien Bustany
6443318347
tests: Add missing finish() and a title in insertBefore content test
2014-02-05 18:35:46 +01:00
Lars Bergstrom
11f261471c
Update to rust-png with fix for truncation
2014-02-05 11:27:08 -06:00
Lars Bergstrom
0c6b381bbb
Use synchronous image loading for ref test baseline writing
2014-02-05 11:27:08 -06:00
Lars Bergstrom
308df9e9ef
Give up and set the initial size to be the same as the default size for reftests
2014-02-05 11:27:08 -06:00
Adrien Bustany
2b541a9a13
Add a test file for insertBefore
2014-02-05 16:27:55 +01:00
Adrien Bustany
2254a9e923
script: Pass the correct parent node to pre_insert in insertBefore
...
Closes #1572 .
2014-02-05 16:27:22 +01:00
Patrick Walton
d34ebf521d
layout: Refactor flow construction to move around large structs less.
...
5% perf win, and a net loss in lines of code.
2014-02-04 23:09:14 -08:00
bors-servo
48e9b8f752
auto merge of #1613 : ksh8281/servo/pos_rel, r=larsbergstrom
...
implement position:relative
this pr implement #792
it gives same result with firefox in "src/test/ref/position_relative_a.html"
r? @larsbergstrom
2014-02-04 16:43:33 -08:00
patrick kim
a90c2e3a26
implement position:relative
2014-02-05 09:39:44 +09:00
bors-servo
7bfa185dca
auto merge of #1606 : Ms2ger/servo/unused-import, r=jdm
2014-02-04 15:22:38 -08:00
bors-servo
5b93bc7b21
auto merge of #1578 : pradeep90/servo/stacking-context, r=larsbergstrom,larsbergstrom
...
For ScannedTextBox and ImageBox, the ClipDisplayItem's child_list is
currently always empty.
ClipDisplayItem is used to implement overflow hidden and should only be
created for block containers, as per
http://www.w3.org/TR/CSS2/visufx.html#propdef-overflow
2014-02-04 14:52:39 -08:00
S Pradeep Kumar
35a869d3d6
Remove unnecessary ClipDisplayItems in box_.rs
...
For ScannedTextBox and ImageBox, the ClipDisplayItem's child_list is
currently always empty.
ClipDisplayItem is used to implement overflow hidden and should only be
created for block containers, as per
http://www.w3.org/TR/CSS2/visufx.html#propdef-overflow
Take care of the case when a BlockFlow has no children display items -
like an ImageBox with "display: block".
2014-02-04 10:04:25 +09:00
S Pradeep Kumar
73d0ceac54
Add more documentation for layout.
...
+ Annotate functions with CSS Reference sections.
+ Clean up comments and whitespace.
2014-02-03 10:40:48 +09:00
Simon Sapin
33f8ef618b
Rename make_url/current_url to parse_url/base_url, to align with spec terminology.
2014-02-01 17:51:15 +01:00
Simon Sapin
39e781bcc7
Remove some dead code.
2014-02-01 17:39:09 +01:00
Ms2ger
5de886b31d
Remove duplicate imports from render_task.rs.
2014-02-01 10:16:44 +01:00
bors-servo
301a057da6
auto merge of #1605 : pcwalton/servo/harden-layout-more, r=metajack
...
Closes #1584 .
r? @metajack
2014-01-31 18:22:36 -08:00
Patrick Walton
17eea6bb45
layout: Enforce that flow construction is thread-safe.
...
Closes #1584 .
2014-01-31 17:54:13 -08:00
bors-servo
584c9718a7
auto merge of #1603 : xiongmao86/servo/master, r=larsbergstrom
...
I failed at make check, and find the problem in check.mk
2014-01-31 06:19:20 -08:00
bors-servo
1bf44289b1
auto merge of #1599 : brunoabinader/servo/document-compatmode, r=Ms2ger
...
Spec:
http://dom.spec.whatwg.org/#dom-document-compatmode
This is a sub-task for #1428 .
2014-01-31 01:22:18 -08:00
xiongmao86
d5dbac88a5
Failed to link -lpng while make reftest is fixed.
2014-01-31 17:16:26 +08:00
Patrick Walton
a0fbc04ba5
script: Inline some hot functions used in flow constructions.
...
9% improvement in style recalc on the rainbow page.
2014-01-30 18:05:12 -08:00
bors-servo
e2e848c6ad
auto merge of #1600 : pcwalton/servo/use-concurrent-hash-map, r=larsbergstrom
...
64% improvement in style recalc.
r? @larsbergstrom
2014-01-30 16:28:18 -08:00
bors-servo
31442fe856
auto merge of #1598 : pcwalton/servo/sequential-mirrors-parallel, r=larsbergstrom
...
in the parallel path.
r? @larsbergstrom
2014-01-30 16:01:24 -08:00
Patrick Walton
939f1a28a3
layout: Consolidate passes in the sequential path that were consolidated
...
in the parallel path.
2014-01-30 15:25:25 -08:00
bors-servo
9352e1db00
auto merge of #1579 : ibnc/servo/multiple_display_lists, r=larsbergstrom
...
Fixes : #1538
Still needs to be rebased.
2014-01-30 15:22:33 -08:00
Bruno de Oliveira Abinader
56572a2814
Implement document.compatMode
...
Spec:
http://dom.spec.whatwg.org/#dom-document-compatmode
This is a sub-task for #1428 .
2014-01-30 19:12:19 -04:00
Patrick Walton
a8e35fbeac
layout: Use the concurrent hash map for the leaf sets.
...
64% improvement in style recalc.
2014-01-30 15:11:35 -08:00
Isabelle Carter
0892fada74
Multiple display list support
2014-01-30 17:11:17 -06:00
bors-servo
0dd37d9cd3
auto merge of #1592 : pcwalton/servo/concurrent-hash-map, r=larsbergstrom
...
This will be used for leaf sets and interned strings.
r? @larsbergstrom
2014-01-30 14:43:18 -08:00
Patrick Walton
8690c8f87f
util: Implement a Doug Lea-style concurrent hash table.
...
This will be used for leaf sets and interned strings.
2014-01-30 14:34:16 -08:00
bors-servo
34746359f0
auto merge of #1590 : pcwalton/servo/thread-safe-flow-construction, r=metajack
...
non-element children during the cascade.
Fetching them from the parent isn't thread-safe.
r? @metajack
2014-01-30 14:04:18 -08:00
bors-servo
ad2d1e9d87
auto merge of #1585 : pcwalton/servo/parallel-aux-init, r=metajack
...
Brings aux initialization time down to essentially zero (!)
r? @metajack
2014-01-30 13:40:28 -08:00
Patrick Walton
94ab4f5086
layout: Perform aux initialization in parallel.
...
Brings aux initialization time down to essentially zero (!)
2014-01-30 13:13:56 -08:00
Patrick Walton
0e20ec02c5
layout: Make box building thread safe by pushing down styles into
...
non-element children during the cascade.
Fetching them from the parent isn't thread-safe.
Adds a test for anonymous block box inheritance.
2014-01-30 13:09:01 -08:00
bors-servo
e9a0c8184f
auto merge of #1597 : larsbergstrom/servo/add_page_loaded, r=pcwalton
...
Add a LoadComplete message so that script informs the constellation, which can then inform the compositor (and anyone else, later) about the completion of loading a page. This is important for ref tests, which should not emit a PNG until load has completed, even if we perform a composite before then.
Note that we must *also* wait for the `ready_state` to indicate that additionally layout has completed any associated reflow with the page, otherwise we could get the `LoadComplete` while the final reflow is still in progress and thus would write out the `n-1`'th reflow result.
r? @pcwalton
2014-01-30 12:49:28 -08:00
bors-servo
6c2e48f04d
auto merge of #1593 : pcwalton/servo/dom-leaf-set, r=metajack
...
construction.
This will be very slow until we have the concurrent hash table, but we
might as well get it in.
r? @metajack
2014-01-30 12:10:35 -08:00
Patrick Walton
e94b3d140c
update per comment
2014-01-30 12:07:35 -08:00
Lars Bergstrom
f41c39b3dd
Add a LoadComplete message so that script informs the constellation,
...
which can then inform the compositor (and anyone else, later) about
the completion of loading a page. This is important for ref tests,
which should not emit a PNG until load has completed, even if we
perform a composite before then.
2014-01-30 13:48:22 -06:00
bors-servo
60b8d47b0e
auto merge of #1595 : brunoabinader/servo/patch-1, r=larsbergstrom
...
TSIA.
2014-01-30 10:43:33 -08:00
Bruno de Oliveira Abinader
48f0e12237
Added link to GitHub & Critic PR handling 101
...
TSIA.
2014-01-30 13:40:18 -05:00
bors-servo
3256cfb78c
auto merge of #1564 : pcwalton/servo/small-vector, r=larsbergstrom
...
12% improvement on style recalc for the rainbow page.
r? @larsbergstrom
2014-01-30 10:13:32 -08:00
bors-servo
572959c3e6
auto merge of #1583 : brunoabinader/servo/document-url, r=Ms2ger
...
Specs:
http://dom.spec.whatwg.org/#dom-document-url
http://dom.spec.whatwg.org/#dom-document-documenturi
This is a sub-task for #1428 .
2014-01-30 08:58:40 -08:00
Patrick Walton
61b030552e
layout: Small vector optimize CSS selector matching
2014-01-30 08:43:24 -08:00
Patrick Walton
beb9b9bd92
util: Implement a small vector type.
...
This will be upstreamed to the Rust library once it bakes.
2014-01-30 08:43:02 -08:00
bors-servo
74562b43f3
auto merge of #1580 : brunoabinader/servo/dom-exception, r=Ms2ger
...
Spec:
http://dom.spec.whatwg.org/#domexception
This is a subtask for #1542 .
2014-01-30 07:28:38 -08:00
Bruno de Oliveira Abinader
43416ef91f
Implement document.URL & document.documentURI
...
Specs:
http://dom.spec.whatwg.org/#dom-document-url
http://dom.spec.whatwg.org/#dom-document-documenturi
This is a sub-task for #1428 .
2014-01-30 10:41:24 -04:00
bors-servo
0777f211df
auto merge of #1567 : pcwalton/servo/quicksort-selector-matching, r=larsbergstrom
...
17% improvement in selector matching on the rainbow page.
r? @larsbergstrom
2014-01-30 04:01:44 -08:00