bors-servo
9b25df1968
auto merge of #1109 : sanxiyn/servo/new-style, r=SimonSapin
...
Regressions are:
* Incremental layout is broken
* `:link` is broken
* Source URL is not passed to CSS parser
* `text-decoration` propagation for block containers establishing an inline formatting context is not handled
This also does not remove NetSurf libcss from the build. That can be done in a followup.
This was a team effort. Credits to Deokjin Kim, Ilyong Cho, Jaeman Park, Junyoung Cho, Ryan Choi, Sangeun Kim, Yongjin Kim, Youngmin Yoo, Youngsoo Son.
2013-10-23 03:57:55 -07:00
bors-servo
71a43dd219
auto merge of #1101 : Ms2ger/servo/vs-eager, r=jdm
2013-10-23 02:04:01 -07:00
bors-servo
c2116c3aa1
auto merge of #1110 : ILyoan/servo/parentNode, r=jdm
...
In this implemantation `GetParentNode()` just returns `self.parent_node`.
But according to MDN(https://developer.mozilla.org/en-US/docs/Web/API/Node.parentNode ), it says.
"parentNode returns null for the following node types: Attr, Document, DocumentFragment, Entity, and Notation."
should this be checked?
r? @jdm
2013-10-23 01:43:05 -07:00
Ilyong Cho
a4aa8b05f7
Implementation of node.parentNode/parentElement
2013-10-23 17:04:57 +09:00
Seo Sanghyeon
b2431912d3
Use the new style system
...
Credits to:
Deokjin Kim
Ilyong Cho
Jaeman Park
Junyoung Cho
Ryan Choi
Sangeun Kim
Yongjin Kim
Youngmin Yoo
Youngsoo Son
2013-10-23 16:49:35 +09:00
Ms2ger
66a76961cc
Wrap ValidityState eagerly.
2013-10-23 09:05:06 +02:00
bors-servo
f3f6e62f7f
auto merge of #1104 : ibnc/servo/script_dev, r=jdm
...
Fixes #845
2013-10-22 16:07:34 -07:00
Isabelle Carter
0e94eb5720
Implemented HTMLScriptElement.Src
2013-10-22 17:27:40 -05:00
bors-servo
f4df246f9d
auto merge of #1092 : kmcallister/servo/headless, r=metajack
2013-10-22 13:52:14 -07:00
Keegan McAllister
67c35ef625
Simplify opts.rs
2013-10-22 13:35:09 -07:00
Keegan McAllister
dcc697c8b1
Use headless mode for content tests
2013-10-22 13:35:09 -07:00
Keegan McAllister
1b785f150c
Add a headless null compositor
...
We also have to disable rendering in headless mode because it uses OpenGL calls
for now.
Fixes #471 .
2013-10-22 13:35:09 -07:00
Keegan McAllister
ecc3db7b1f
Split out the part of the compositor which makes OpenGL calls
2013-10-22 13:35:09 -07:00
bors-servo
14d34e73b9
auto merge of #1103 : kmcallister/servo/eager-wrap, r=jdm
2013-10-22 13:13:14 -07:00
Keegan McAllister
65a8546fc4
Fix Event and MouseEvent contenttests
2013-10-22 12:52:04 -07:00
Keegan McAllister
5a5223d24e
Eagerly reflect {,UI,Mouse}Event
2013-10-22 12:52:04 -07:00
Keegan McAllister
30a9fb2f45
Factor out a helper for eagerly creating JS wrappers
2013-10-22 12:52:04 -07:00
bors-servo
797143a1d3
auto merge of #1067 : metajack/servo/rust-up-20131014, r=jdm
...
This upgrades to this morning's master. We have unfortunately broken the Android build, but I will update that in a second pull request as I think it's more than a single upgrade behind.
2013-10-22 09:16:17 -07:00
Jack Moffitt
2558c723c9
Disable contenttest on linux because it doesn't work anyway.
2013-10-22 10:07:38 -06:00
Jack Moffitt
641fa2d968
Run one contenttest at a time.
2013-10-22 06:50:45 -06:00
Jack Moffitt
39f119ddd3
Renderer might have exited before compositor knows its gone.
...
This works around the problem, which will need a more detailed fix when it
gets revamped.
2013-10-22 04:30:31 -06:00
Jack Moffitt
94202661c0
Update to latest Rust.
2013-10-21 17:38:34 -06:00
Jack Moffitt
8b47221ff8
Small bugfixes in sub.mk.
2013-10-21 17:11:14 -06:00
Jack Moffitt
5b131ef165
Don't build package by default.
2013-10-21 17:11:13 -06:00
Ms2ger
e418e4d830
Remove no-op implementations from Document and HTMLDocument.
2013-10-21 19:51:12 +02:00
bors-servo
4d8f7fd056
auto merge of #1099 : Ms2ger/servo/abstract-borrowed-pointers, r=jdm
2013-10-21 09:37:03 -07:00
Ms2ger
b90766404c
Replace Document::{with_base, with_mut_base} by Document::{document, mut_document}.
2013-10-21 17:57:44 +02:00
bors-servo
f274106029
auto merge of #1093 : larsbergstrom/servo/shutdown_window_destruction, r=metajack
...
We were removing the Window from TLS and thus destroying it after terminating the windowing system, which caused an error due to calling a glfw function when it was not inititalized.
2013-10-21 08:46:01 -07:00
Ms2ger
364256e359
Replace Node::{with_base, with_mut_base} by Node::{node, mut_node}.
2013-10-21 15:58:16 +02:00
bors-servo
accec9c113
auto merge of #1098 : jdm/servo/borrow-fix, r=metajack
...
Needed for #1067 .
2013-10-21 05:57:59 -07:00
bors-servo
16eb557978
auto merge of #1095 : Ms2ger/servo/FormData, r=metajack
2013-10-21 05:07:03 -07:00
Josh Matthews
fda77aa36b
Eagerly reflect the navigator object. Fixes #1042 .
2013-10-21 12:11:14 +02:00
Ms2ger
9f84c90754
Create FormData reflectors eagerly.
2013-10-19 22:34:25 +02:00
bors-servo
5c725b31af
auto merge of #1025 : saneyuki/servo/attr, r=metajack
2013-10-18 20:43:03 -07:00
bors-servo
8dd462c38c
auto merge of #1091 : marcoscaceres/servo/master, r=jdm
2013-10-18 19:22:08 -07:00
bors-servo
2e1cc08413
auto merge of #1090 : Ms2ger/servo/blob-eager-binding, r=jdm
2013-10-18 18:55:13 -07:00
Lars Bergstrom
8e669a3ed5
We were removing the Window from TLS and thus destroying it after terminating the
...
windowing system, which caused an error due to calling a glfw function when it
was not inititalized.
2013-10-18 20:23:33 -05:00
bors-servo
8f7f70cb5c
auto merge of #1087 : SimonSapin/servo/newnewcss, r=kmcallister
...
This is still not the big switch yet, but preparatory changes contained to the 'style' crate.
The current status of the actual port can be seen here: https://github.com/SimonSapin/servo/compare/newnewcss...break-all-the-things (moving as I push and rebase stuff.)
2013-10-18 14:25:34 -07:00
Marcos Caceres
faf53fd05c
Implemention of HTMLMainElement
2013-10-18 22:03:58 +01:00
Simon Sapin
ec711dac78
CSS: fix tests.
2013-10-18 20:57:16 +01:00
Ms2ger
40fde80e1a
Implement the no-argument Blob constructor.
2013-10-18 19:30:32 +02:00
Ms2ger
9046085506
Make Blob create its binding eagerly.
2013-10-18 19:28:21 +02:00
Simon Sapin
168261074c
CSS: Make sure computed values implement Eq and Clone.
2013-10-18 18:06:51 +01:00
Simon Sapin
6178451ce0
CSS: Add a ComputedValues::resolve_color() helper, for currentColor.
2013-10-18 17:23:22 +01:00
Simon Sapin
acb11343ce
Remove @pointers from Stylesheet to make it Sendable
...
… at the cost some extra copying.
This fixes #1081 .
2013-10-18 17:22:42 +01:00
bors-servo
284ad5ee8e
auto merge of #1086 : Ms2ger/servo/GetParentObject, r=jdm
2013-10-18 08:13:05 -07:00
Ms2ger
321e0373fa
Merge BindingObject and Reflectable.
2013-10-18 17:02:16 +02:00
Tetsuharu OHZEKI
41dda86557
Enable to update Element's attributes.
2013-10-19 00:00:43 +09:00
Tetsuharu OHZEKI
ecc68a5001
Add the test about Element attributes.
2013-10-19 00:00:43 +09:00
bors-servo
19c1b023e0
auto merge of #1085 : Ms2ger/servo/wrap_shared, r=jdm
2013-10-18 07:19:10 -07:00