Marek Šuppa
fff71bb7c1
Updated link to Code of Conduct in CONTRIBUTING.md
...
It seems that the correct link is https://github.com/mozilla/rust/wiki/Note-development-policy#wiki-conduct now whereas it was https://github.com/mozilla/rust/wiki/Note-development-policy#conduct before.
2014-02-09 17:17:59 +01:00
bors-servo
dda62cc97f
auto merge of #1648 : brunoabinader/servo/node-contains, r=Ms2ger
...
Spec:
http://dom.spec.whatwg.org/#dom-node-contains
Closes #1647 .
2014-02-09 10:04:50 -05:00
Bruno de Oliveira Abinader
99b3b144d4
Implement Node.contains
...
Spec:
http://dom.spec.whatwg.org/#dom-node-contains
Closes #1647 .
2014-02-09 10:39:07 -04:00
xiongmao86
a0a2802535
Fix #1612 Rename .rc to .rs, and relevant changes in Makefile.in
2014-02-09 13:56:47 +08:00
bors-servo
9305a95b68
auto merge of #1643 : saneyuki/servo/1641, r=SimonSapin
...
This will fix #1641
r?
2014-02-08 15:43:41 -05:00
Tetsuharu OHZEKI
b6d59a17f0
Rename "get_applicable_declarations" to "push_applicable_declarations".
2014-02-09 05:28:39 +09:00
bors-servo
aae5be557a
auto merge of #1642 : saneyuki/servo/1535, r=SimonSapin
...
this will fix #1535
r?
2014-02-08 15:10:43 -05:00
Tetsuharu OHZEKI
d3cbdd8865
Reduce copying on parse_url() call sites.
2014-02-09 05:03:06 +09:00
bors-servo
77f52c705d
auto merge of #1637 : Ms2ger/servo/get_rootable, r=pcwalton
2014-02-08 09:52:42 -05:00
bors-servo
fe1bb6a325
auto merge of #1608 : SimonSapin/servo/url, r=metajack
...
Align with spec terminology.
2014-02-07 14:31:35 -05:00
Ms2ger
5765de12cd
Remove unused Reflector::get_rootable.
2014-02-07 13:04:31 +01:00
bors-servo
a1e98ada50
auto merge of #1577 : ksh8281/servo/inline_add2, r=larsbergstrom
...
there is a issue when TextRunScanning.
this is for
```
<span style="background:red;font-size:35px;border: black solid 15px">
<span style="background:purple; 20px solid">
<img src="test.jpeg" style="border:blue 30px solid;" />
</span>
</span>
```
this case. left border of "img" is missing
2014-02-06 21:07:38 -05:00
patrick kim
86777d6460
add case of merge inline info & modify ref test
2014-02-07 09:22:56 +09:00
bors-servo
14ee9218e4
auto merge of #1634 : brunoabinader/servo/document-fromnode, r=jdm
...
TSIA.
@jdm mentioned to use ```AbstractDocument::from_box``` internally, though.
2014-02-06 15:46:41 -05:00
Bruno de Oliveira Abinader
b19e31942e
Provide AbstractDocument::from_node(node: AbstractNode)
...
TSIA.
2014-02-06 16:33:16 -04:00
bors-servo
ae6af1c0d1
auto merge of #1622 : brunoabinader/servo/document-createprocessinginstruction, r=Ms2ger
...
PR #1620 adds ProcessingInstruction DOM interface.
Spec:
http://dom.spec.whatwg.org/#dom-document-createprocessinginstruction
This is a sub-task for #1428 .
2014-02-06 15:16:43 -05:00
Bruno de Oliveira Abinader
ac8c659d2b
Implement document.createProcessingInstruction
...
Spec:
http://dom.spec.whatwg.org/#dom-document-createprocessinginstruction
This is a sub-task for #1428 .
2014-02-06 16:11:31 -04:00
bors-servo
799e0ace78
auto merge of #1620 : brunoabinader/servo/dom-processinginstruction, r=Ms2ger
...
Spec:
http://dom.spec.whatwg.org/#interface-processinginstruction
Closes #1619 .
2014-02-06 13:46:58 -05:00
Bruno de Oliveira Abinader
aa4b5bb948
Implement ProcessingInstruction DOM interface
...
Spec:
http://dom.spec.whatwg.org/#interface-processinginstruction
Closes #1619 .
2014-02-06 14:41:55 -04:00
bors-servo
5a7d22c437
auto merge of #1630 : pcwalton/servo/short-circuit-whitespace, r=larsbergstrom
...
be needed.
33% win in flow construction on the rainbow page.
r? @larsbergstrom
2014-02-06 12:37:55 -05:00
Patrick Walton
18c025a8ed
layout: Lazily create boxes for whitespace, speculating that they won't
...
be needed.
33% win in flow construction on the rainbow page.
2014-02-06 09:34:14 -08:00
bors-servo
017eb81bfb
auto merge of #1604 : brunoabinader/servo/document-characterset, r=Ms2ger
...
Spec:
http://dom.spec.whatwg.org/#dom-document-characterset
This is a sub-task for #1428 .
2014-02-06 07:16:54 -05:00
Bruno de Oliveira Abinader
a6c897e445
Implement document.characterSet
...
Spec:
http://dom.spec.whatwg.org/#dom-document-characterset
This is a sub-task for #1428 .
2014-02-06 07:46:24 -04:00
bors-servo
17bc467b83
auto merge of #1626 : kmcallister/servo/flowlist, r=pcwalton
...
r? @pcwalton
Some points of concern:
* Is this really memory-safe? Is there a way to access a stale `Rawlink` that doesn't exist in the normal `DList` code?
* Is it okay to coerce both `~Flow` and `&Flow` to `(uint, uint)` (or the moral equivalent) and compare them? Will a given `Flow` always have the same (obj, vtable) regardless of whether it's obtained through `~Flow` or `&Flow`?
2014-02-05 22:19:43 -05:00
Keegan McAllister
78d2118f47
Eliminate the extra indirection of DList<~Flow>
2014-02-05 14:42:32 -08:00
bors-servo
1dbc73ea1c
auto merge of #1615 : pcwalton/servo/fewer-memmoves, r=larsbergstrom
...
5% perf win, and a net loss in lines of code.
r? @larsbergstrom
2014-02-05 14:43:47 -05:00
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