Commit graph

4860 commits

Author SHA1 Message Date
bors-servo
52b6993dc8 auto merge of #1659 : brunoabinader/servo/dom-document-add-links, r=Ms2ger
This is a sub-task for #1428.
2014-02-10 16:37:46 -05:00
Bruno de Oliveira Abinader
6fde4f82e7 Added refs to Document's DOM spec 2014-02-10 17:17:07 -04:00
bors-servo
6235f9fae1 auto merge of #1653 : SimonSapin/servo/attr-selectors, r=pcwalton
… and not "any namespace" or use the default namespace declaration.
2014-02-10 12:04:43 -05:00
bors-servo
d5c15598cd auto merge of #1656 : brunoabinader/servo/node-add-links, r=metajack
This is a sub-task for #1655.
2014-02-10 11:37:42 -05:00
Bruno de Oliveira Abinader
b46de88a2b Added missing refs to DOM spec
This is a sub-task for #1655.
2014-02-10 11:40:43 -04:00
bors-servo
a36a9850c8 auto merge of #1646 : brunoabinader/servo/node-isequalnode, r=Ms2ger
Spec:
http://dom.spec.whatwg.org/#dom-node-isequalnode

This is a sub-task for #1655. Closes #1645.
2014-02-10 10:04:47 -05:00
Bruno de Oliveira Abinader
4d4495b015 Implement Node.isEqualNode
Spec:
http://dom.spec.whatwg.org/#dom-node-isequalnode

Closes #1645.
2014-02-10 11:01:12 -04:00
Simon Sapin
f72f655312 Fix #1652: Attribute selectors should default to the null namespace
… and not "any namespace" or use the default namespace declaration.
2014-02-10 10:13:34 +00:00
bors-servo
f26cdcf235 auto merge of #1617 : xiongmao86/servo/issue1612, r=larsbergstrom
Rename *.rc to *.rs in components directory, and do some relevant changes in Makefile.in
2014-02-09 22:07:36 -05:00
bors-servo
ccfd595d6e auto merge of #1633 : parkjaeman/servo/pseudo-class-hover, r=larsbergstrom
Fix #790 partially.
I am sure I need to merge with @jdm's event handler for dom.
As son as the event handler is implemented, I will fix.
And this is implement Hover Event. If over element, Currently Full reflow.
After PR, will make partial reflow. 
Thank you!
2014-02-09 21:35:09 -05:00
HyunJune Kim
c8d503898a This is implement Hover Event. If over element, currently full reflow. after PR, will make partial reflow. 2014-02-10 11:16:07 +09:00
HyunJune Kim
d2f8b593a9 compositor can get mouse point from window event 2014-02-10 11:14:29 +09:00
bors-servo
8486ba4325 auto merge of #1649 : mrshu/servo/patch-1, r=larsbergstrom
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 11:37:46 -05:00
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