Commit graph

5232 commits

Author SHA1 Message Date
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
Keegan McAllister
8f74a3122c sub.mk: Remove CFLAGS_mozjs
Seems to have no effect.
2013-09-04 17:39:33 -07:00
bors-servo
264408a44b auto merge of #870 : brson/servo/http, r=metajack
We don't need to repeatedly read the headers, and need to send the Done message.
2013-09-04 16:24:50 -07:00
bors-servo
94a1231b64 auto merge of #869 : Ms2ger/servo/inline-script, r=jdm
This follows the approach of external scripts in executing tests all together after parsing finishes.
2013-09-04 12:42:50 -07:00
Brian Anderson
e10d3889b7 Fix logic in http_loader
We don't need to repeatedly read the headers, and need to send the Done message.
2013-09-04 12:40:56 -07:00
Ms2ger
916d0253b3 Issue #561 - Execute inline JS.
This follows the approach of external scripts in executing tests all together after parsing finishes.
2013-09-04 21:38:35 +02:00
bors-servo
3afcddcc67 auto merge of #820 : jdm/servo/tracehook, r=metajack 2013-09-04 10:33:50 -07:00
Josh Matthews
329f92a41d Add trace hooks for all generated derivatives of Node. 2013-09-04 13:13:03 -04:00
bors-servo
df2906fc29 auto merge of #831 : SimonSapin/servo/newnewcss, r=metajack
I started this in a [separate repository](https://github.com/SimonSapin/servo-style), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) into `servo/src/components/script/style` after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
2013-09-04 10:00:52 -07:00
Simon Sapin
1912b82bfa Add missing license header in src/components/script/style/mod.rs 2013-09-04 17:42:28 +01:00
bors-servo
b5dcbd287d auto merge of #864 : jdm/servo/displaylist, r=metajack 2013-09-04 08:21:58 -07:00
Josh Matthews
79444596d1 Make querying layout for content boxes an infallible operation. 2013-09-04 11:07:11 -04:00
bors-servo
a567eb007d auto merge of #863 : brson/servo/http, r=metajack
This adds rust-http as a submodule and wires it into the resource loader for http urls. It *does not* do DNS resolution yet, sadly, since Rust doesn't support it yet. That's what I'll be working on next.
2013-09-03 22:18:59 -07:00
Brian Anderson
c94d601ebf Update rust-http 2013-09-03 22:14:45 -07:00
Brian Anderson
7d23834795 Use https for rust-http submodule 2013-09-03 20:37:25 -07:00
bors-servo
1cdd513c04 auto merge of #862 : kmcallister/servo/embed-layout-data, r=jdm 2013-09-03 19:47:07 -07:00