Josh Matthews
8ae725146c
Make Window store an @Page instead of a *Page and remove a bunch of unsafe code.
2013-09-12 14:45:47 -07:00
Josh Matthews
a31d950695
Remove unused old bindings helpers.
2013-09-12 14:41:03 -07:00
Josh Matthews
a410651fba
Make Element.set_attr require an AbstractNode so we can always downcast.
2013-09-12 14:40:00 -07:00
Lars Bergstrom
969a4e30fb
Remove code duplication in finding FrameTrees with a given pipeline id.
2013-09-12 13:55:18 -07:00
Lars Bergstrom
08b3902bbb
Fix formatting issues.
2013-09-12 13:55:18 -07:00
Lars Bergstrom
d6231a18ef
Transitioned to about:failure instead of having the URL in
...
Constellation.
2013-09-12 13:55:18 -07:00
Lars Bergstrom
26ec02226e
Pipeline create is now wrapped in a task that supervises the tasks
...
created by script, rendering, and layout. When any of those fail,
the pipeline is removed from the FrameTree and a new one is created
with a failure HTML file.
Additionally, the top-level Makefile is changed to store debug info.
2013-09-12 13:55:18 -07:00
bors-servo
72b6978b24
auto merge of #918 : brson/servo/longcat, r=metajack
...
This fixes layout under Firefox and increases the frame rate for smoother animation.
2013-09-12 13:39:59 -07:00
Brian Anderson
0db96944e6
Longcat improvements
...
This fixes layout under Firefox and increases the frame rate for smoother animation.
2013-09-12 13:12:51 -07:00
bors-servo
4cf80cd49c
auto merge of #915 : jdm/servo/pinglayout, r=metajack
...
...Fixes #907 .
2013-09-12 11:43:00 -07:00
bors-servo
b4ffe3c3c2
auto merge of #904 : aydinkim/servo/PR, r=metajack
...
servo-android has been broken after newer rust included.
fixed.
2013-09-12 11:07:30 -07:00
Josh Matthews
4ec428b9d6
Trigger a reflow when nodes are appended and removed from the document. Fixes #907 .
2013-09-12 10:17:00 -07:00
bors-servo
5aa207a7f7
auto merge of #912 : brson/servo/longcat, r=jdm
...
This also comes with a longcat demo, including about 35k of images that I don't know the copyright status of.
2013-09-11 23:49:02 -07:00
Brian Anderson
db38639c17
Longcat demo
2013-09-11 22:08:53 -07:00
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