Commit graph

3647 commits

Author SHA1 Message Date
Brian Anderson
42c6a53148 Implement getters and setters for img width and height properties 2013-09-11 22:08:44 -07:00
bors-servo
2372a84149 auto merge of #908 : jdm/servo/gccrash, r=metajack 2013-09-11 16:00:56 -07:00
bors-servo
39252b25f7 auto merge of #900 : jdm/servo/sandbox, r=metajack
The rust-mozjs change is just updating it to tip; do not be alarmed.
2013-09-11 12:22:59 -07:00
Josh Matthews
636c30affe Add trace hooks for Window and Document, and remove explicit rooting for the root DOM node. Fixes #901. 2013-09-11 12:18:23 -07:00
Josh Matthews
9640324721 Make sandboxed iframes run with different script tasks. 2013-09-11 11:57:40 -07:00
aydin.kim
d907bad78c update android port for language changes 2013-09-11 16:32:48 +09:00
Ilyong Cho
e5615705ab More accurate margin collapsing 2013-09-11 14:04:54 +09:00
bors-servo
6289e069d4 auto merge of #902 : metajack/servo/parallel-all-the-builds, r=jdm
The bugs are believed to be worked out. From a `make clean`, `make` took 8:41
and `make -j6` took 4:43.
2013-09-10 18:03:52 -07:00
Jack Moffitt
e9e46a67d4 Turn on parallel builds.
The bugs are believed to be worked out. From a `make clean`, `make` took 8:41
and `make -j6` took 4:43.
2013-09-10 18:55:14 -06:00
bors-servo
25a3d4a93f auto merge of #899 : metajack/servo/create-element, r=jdm
This re-uses the parser's node creation code. That could probably be put
somewhere nicer. Suggestions welcome!
2013-09-10 15:27:42 -07:00
Jack Moffitt
227bb95213 Add document.createElement and document.createTextNode.
This re-uses the parser's node creation code. That could probably be put
somewhere nicer. Suggestions welcome!
2013-09-10 16:21:58 -06:00
bors-servo
7b7fd475ee auto merge of #897 : metajack/servo/non-ic-typarams, r=pcwalton 2013-09-10 14:09:42 -07:00
Jack Moffitt
7fb96c1574 Remove old lint mode annotation. 2013-09-10 15:03:32 -06:00
bors-servo
2d556303ca auto merge of #811 : sammykim/servo/border-style, r=metajack
As I commented in codes, there are some issues to render some border-styles. I can't figure out why this code doesn't show what I expect. I compare this result with firefox. And when I tested it with CSSBorderStyleDashed, It looks almost same with firefox.
But CSSBorderStyleSolid and CSSBorderStyleDotted don't show right result.
I guess the first problem is processing JoinCap with CSSBorderStyleSolid. It might be problems in Azure or somewhere I don't know exactly.
I suspect the second problem is processing DashPattern with CSSBorderDotted. It is also somewhere in Azure or another modules.
So I sent this PR and expect someone can help me to figure out what the problem makes this issues.
If you can't catch what the problem is exactly, I will leave an issue and look it more after this merged.

PS. I referred to firefox code for border style codes.
URL : http://mxr.mozilla.org/mozilla-central/source/layout/base/nsCSSRenderingBorders.cpp#1080
2013-09-10 09:43:50 -07:00
bors-servo
62f0d19fab auto merge of #880 : ILyoan/servo/appendChild, r=jdm 2013-09-09 22:09:44 -07:00
Sangeun Kim
f96a0ac8b4 Add more test codes for border-style. And remove a file for same test 2013-09-10 13:54:50 +09:00
Sangeun Kim
160753ee27 Update submodules 2013-09-10 13:54:50 +09:00
Sangeun Kim
09f1192fa5 Add apply_border_style to apply each CSSBorderStyle 2013-09-10 13:54:40 +09:00
Ilyong Cho
0d4cfd0eb9 Add node.appendChild 2013-09-10 12:39:58 +09:00
Ilyong Cho
47c5279e31 Add AncestorIterator by jgraham 2013-09-10 11:35:31 +09:00
Ilyong Cho
bcd7c0b8c6 Add node.removeChild 2013-09-10 11:35:31 +09:00
Ilyong Cho
995e4fdd11 Add some dom node tree implementations 2013-09-10 11:35:31 +09:00
bors-servo
ae0d531dd6 auto merge of #882 : sammykim/servo/infinite-loop, r=metajack
To reproduce:

```html
<span style="font-size: 128px">abc</span>
```
2013-09-09 18:42:51 -07:00
Sangeun Kim
03fb29e066 Add style field to render them in RenderContext 2013-09-10 10:35:44 +09:00
Sangeun Kim
0b0755b970 Add css module to use border-style 2013-09-10 10:35:44 +09:00
bors-servo
0dd90c75d8 auto merge of #883 : jdm/servo/newglobal, r=kmcallister
Requires https://github.com/mozilla-servo/rust-mozjs/pull/34.
2013-09-09 17:06:53 -07:00
bors-servo
255819bb9a auto merge of #759 : ILyoan/servo/collapsing, r=metajack
A part of implementation for CSS 8.3.1 Collapsing margins.
2013-09-09 16:16:00 -07:00
Josh Matthews
da599c6ccf Make the global object be the Window object. Fixes #833. 2013-09-09 10:25:39 -07:00
bors-servo
bfaa5bedf3 auto merge of #891 : Ms2ger/servo/unused-import-warnings, r=jdm 2013-09-09 08:37:01 -07:00
bors-servo
150f03e677 auto merge of #890 : Ms2ger/servo/textcontent-getter-bug, r=jdm
I confused Doctype and DocumentFragment nodes when implementing.
2013-09-09 08:07:03 -07:00
Ms2ger
c9470d5dda Fix unused import warnings. 2013-09-09 13:11:23 +02:00
Ms2ger
fe46fb231a Handle doctype.textContent correctly.
I confused Doctype and DocumentFragment nodes when implementing.
2013-09-09 13:02:20 +02:00
bors-servo
2d3a4d7e1d auto merge of #887 : brson/servo/master, r=metajack 2013-09-06 18:54:55 -07:00
Brian Anderson
afb2eedbcf Resolve host names 2013-09-06 17:37:53 -07:00
bors-servo
af1e951a16 auto merge of #885 : brson/servo/master, r=brson,metajack
This is to pick up DNS support, though it's not enabled in this PR. The big change here is in the compositor. GLFW uses owned closures now and we're sharing the Window object with them via TLS.
2013-09-06 17:03:56 -07:00
Brian Anderson
57e7bc75e7 Update rust-core-foundation 2013-09-06 17:40:02 -07:00
Brian Anderson
531140b85c Touch rust-auto-clean-trigger 2013-09-06 15:26:53 -07:00
Brian Anderson
13a3865e4e Update rust 2013-09-06 15:14:22 -07:00
bors-servo
da4cede500 auto merge of #878 : evilpie/servo/navigator, r=metajack 2013-09-06 11:13:08 -07:00
bors-servo
21cef446f1 auto merge of #881 : Ms2ger/servo/CharacterData-data, r=jdm 2013-09-06 09:58:01 -07:00
Tom Schuster
dee71e6d64 Add finish() call 2013-09-06 12:55:15 -04:00
Sangeun Kim
7a1493a5d4 Fix infinite loop bug. 2013-09-06 18:00:48 +09:00
Ms2ger
efff6be86c Make CharacterData store a ~str rather than a DOMString, because its data can never be null. 2013-09-06 09:45:16 +02:00
Tom Schuster
e81fed7b58 Implement Navigator 2013-09-05 19:09:10 -04:00
bors-servo
9073329737 auto merge of #876 : Ms2ger/servo/textcontent, r=jdm
The setter is a little more work, so I left that for another day.
2013-09-05 12:30:48 -07:00
Ms2ger
be2df5d024 Issue #852 - Implement the Node.textContent getter. 2013-09-05 21:20:36 +02:00
bors-servo
0e351d9f50 auto merge of #872 : brson/servo/http, r=metajack
It was a silly mistake.
2013-09-04 19:03:47 -07:00
Brian Anderson
8f2906b09e Remove unreachable code from http_loader 2013-09-04 18:33:58 -07:00
bors-servo
21307ebc2a auto merge of #871 : kmcallister/servo/debug-build, r=metajack 2013-09-04 18:30:52 -07:00
Keegan McAllister
db0bffe0a0 Add SpiderMonkey debug build fix 2013-09-04 17:39:33 -07:00