Ms2ger
facee849c2
Move link_style_dynamic_addition.html to wpt reftests.
2015-11-29 10:57:15 +01:00
Ms2ger
27e3ca61ec
Move linebreak_simple_a.html to wpt reftests.
2015-11-29 10:57:14 +01:00
Ms2ger
7641d5b1e3
Remove inline_border_a.html.
...
It compares to a screenshot that doesn't match.
2015-11-29 10:57:13 +01:00
Ms2ger
51af73d872
Fix the metadata file for size_attributes_vertical_writing_mode.html.
2015-11-29 10:57:12 +01:00
bors-servo
b737e4e0fa
Auto merge of #8735 - echochamber:OnErrorEventHandlerNonNull-return-any, r=KiChjang
...
Make OnErrorEventHandlerNonNull return 'any' instead of 'boolean'.
PR to fix #8710
> I think the specification must have changed since this was first added to Servo: https://html.spec.whatwg.org/multipage/webappapis.html#onerroreventhandler
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8735 )
<!-- Reviewable:end -->
2015-11-29 15:00:19 +05:30
Jason Schein
ccb8d070ad
Make OnErrorEventHandlerNonNull return 'any' instead of 'boolean'.
2015-11-29 00:10:32 -08:00
bors-servo
2d164f2beb
Auto merge of #8729 - dzbarsky:canvas_webidl, r=dzbarsky
...
Update Canvas webIDL to spec
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8729 )
<!-- Reviewable:end -->
2015-11-29 09:32:28 +05:30
David Zbarsky
ee3f7ad451
Update Canvas webIDL to spec
2015-11-28 20:03:48 -08:00
bors-servo
1f732cfbb4
Auto merge of #8669 - bholley:generalize_layout, r=pcwalton
...
Generalize layout to operate on arbitrary DOMs
This gets us to where we need to be in order to write a Gecko implementation of the layout wrapper and have things Just Work.
Note that this is somewhat more than we need for just running the style system. But there wasn't a clean place to cut, and I thought it was a good idea to just do a complete job on it now, which may save us effort and mismatches in the long run.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8669 )
<!-- Reviewable:end -->
2015-11-29 07:47:33 +05:30
Bobby Holley
cf33f00018
Generalize the rest of layout to operate on generic Layout*.
...
There wasn't a good way to split this up, unfortunately.
With this change, the only remaining usage of the Servo-specific structures is
in layout_task, where the root node is received from the script task. \o/
2015-11-28 18:01:02 -08:00
Bobby Holley
77a8091996
Generalize css/matching.rs to operate on generic Layout*.
2015-11-28 18:01:02 -08:00
Bobby Holley
3aeaff35de
Switch ChildrenIterator to be an associated type.
...
If we use ThreadsafeLayoutNodeChildrenIterator directly as the return type of children(),
we need to export the DangerousThreadSafeLayoutNode which the iterator implementation
relies upon.
2015-11-28 18:01:02 -08:00
Bobby Holley
2cfe4de09b
Constrain the ConcreteLayoutFoo associated types to provide full tri-ality among the types.
...
Otherwise we end up with this problem: http://is.gd/ACBLAU
2015-11-28 18:01:02 -08:00
bors-servo
2dab0e1584
Auto merge of #8722 - frewsxcv:tracking-issues, r=nox
...
Add tracking issues for body/document attributes
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8722 )
<!-- Reviewable:end -->
2015-11-29 04:36:17 +05:30
Corey Farwell
feb16463ef
Add tracking issues for body/document attributes
2015-11-28 17:53:59 -05:00
bors-servo
d48d8b3ea1
Auto merge of #8713 - GuillaumeGomez:features, r=Manishearth
...
Remove stabilized features
Fixes #8706 .
cc @KiChjang
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8713 )
<!-- Reviewable:end -->
2015-11-28 21:58:43 +05:30
bors-servo
eadaf30af3
Auto merge of #8703 - eefriedman:dom-getter-setter-atom, r=frewsxcv
...
Compute attribute name atoms at compile-time.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8703 )
<!-- Reviewable:end -->
2015-11-28 20:40:07 +05:30
bors-servo
dbff1ab336
Auto merge of #8692 - GuillaumeGomez:patch-1, r=Wafflespeanut
...
Ensure crate are alphabetically sorted
cc @nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8692 )
<!-- Reviewable:end -->
2015-11-28 19:34:11 +05:30
bors-servo
9f3d6e77b8
Auto merge of #8708 - Ms2ger:stray-ini, r=jdm
...
Remove an expectation file for a test that doesn't exist.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8708 )
<!-- Reviewable:end -->
2015-11-28 18:31:00 +05:30
Ms2ger
0eee538826
Remove an expectation file for a test that doesn't exist.
2015-11-28 10:43:54 +01:00
bors-servo
b4213e6d8e
Auto merge of #8698 - servo:rustup_2015-11-26, r=Manishearth
...
Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8698 )
<!-- Reviewable:end -->
2015-11-28 12:11:52 +05:30
Guillaume Gomez
e1e2b61049
Remove stabilized features
2015-11-28 05:48:03 +01:00
bors-servo
d50b87edec
Auto merge of #8702 - mrobinson:fragments, r=pcwalton
...
Build Fragments without the RECONSTRUCT_FLOW bit
The RECONSTRUCT_FLOW restyle damage bit shouldn't apply to newly
constructed flow tree elements. It is explicitly removed for Flows, but
not for Fragments. This causes RECONSTRUCT_FLOW to bubble up to Flows
that contain any Fragments at all. Instead explicitly remove the
RECONSTRUCT_FLOW bit when creating a new Fragment.
There isn't a good way to test this currently, but all tests should
continue to pass.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8702 )
<!-- Reviewable:end -->
2015-11-28 10:04:28 +05:30
Guillaume Gomez
6e7de62b38
Add check up on extern crate order and sort extern crates alphabetically
2015-11-28 03:11:08 +01:00
bors-servo
fa7e1d07ff
Auto merge of #8688 - Ms2ger:compositing, r=pcwalton
...
Some compositing cleanup.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8688 )
<!-- Reviewable:end -->
2015-11-28 07:26:14 +05:30
bors-servo
c0be03f2af
Auto merge of #8701 - nerith:attribute, r=jdm
...
Remove `#[allow(raw_pointer_derive)]` attributes
The attributes are unused.
Fixes #8699 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8701 )
<!-- Reviewable:end -->
2015-11-28 06:07:46 +05:30
Eli Friedman
c02c0576c8
Compute attribute name atoms at compile-time.
2015-11-27 15:42:34 -08:00
Martin Robinson
12db4594dd
Build Fragments without the RECONSTRUCT_FLOW bit
...
The RECONSTRUCT_FLOW restyle damage bit shouldn't apply to newly
constructed flow tree elements. It is explicitly removed for Flows, but
not for Fragments. This causes RECONSTRUCT_FLOW to bubble up to Flows
that contain any Fragments at all. Instead explicitly remove the
RECONSTRUCT_FLOW bit when creating a new Fragment.
There isn't a good way to test this currently, but all tests should
continue to pass.
2015-11-27 22:27:21 +01:00
Brandon Fairchild
341e66f66d
Remove #[allow(raw_pointer_derive)]
attributes
...
The attributes are unused.
Fixes #8699 .
2015-11-27 14:32:57 -05:00
bors-servo
99223656fb
Auto merge of #8675 - GuillaumeGomez:master, r=nox
...
Add XMLDocument object
Fixes #8000
(Still working on it)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8675 )
<!-- Reviewable:end -->
2015-11-27 19:29:04 +05:30
Guillaume Gomez
adf8b359bb
Add XMLDocument object
2015-11-27 14:55:41 +01:00
Simon Sapin
8d7d132c93
Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)
2015-11-27 14:33:29 +01:00
bors-servo
3720e4d5ef
Auto merge of #8696 - KiChjang:change-parser-state, r=KiChjang
...
Use set_plaintext_state instead of plaintext tag
I don't know whether there's an issue reported for for this one.
r? @SimonSapin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8696 )
<!-- Reviewable:end -->
2015-11-27 15:23:46 +05:30
Keith Yeung
14ce62478d
Remove failing expectation
2015-11-27 01:46:56 -08:00
bors-servo
d552674ba2
Auto merge of #8697 - Ms2ger:docs, r=SimonSapin
...
Ensure the bootstrap-rust-docs and doc mach commands agree on the location of the Rust documentation.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8697 )
<!-- Reviewable:end -->
2015-11-27 14:49:01 +05:30
Ms2ger
21f532758b
Ensure the bootstrap-rust-docs and doc mach commands agree on the location of the Rust documentation.
2015-11-27 09:47:38 +01:00
Keith Yeung
d426dd29d1
Use set_plaintext_state instead of plaintext tag
2015-11-27 00:45:34 -08:00
bors-servo
a515fe320b
Auto merge of #8516 - KiChjang:http-fetch-refactor, r=jdm
...
Refactor http_fetch to reflect the new standard
Partial #4576 . The spec is really getting funky now - it's depending more and more on the DOM objects (e.g. prompting the user for authentication using a `Window` object). I think we can just pass in username and password as properties of the `Request` struct though.
I've also added in the async version for http_request.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8516 )
<!-- Reviewable:end -->
2015-11-27 11:39:32 +05:30
bors-servo
f13c72d68e
Auto merge of #8446 - servo:rustup_20151110, r=SimonSapin+Ms2ger+jdm+Manishearth
...
Rust upgrade to rustc 1.6.0-nightly (5b4986fa5 2015-11-08)
<s>DO NOT r+ or try+ this</s>
<s>It causes an OOM (https://github.com/rust-lang/rust/issues/29740 ) and can crash the OS. Probably will set our CI on fire. </s>
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8446 )
<!-- Reviewable:end -->
2015-11-27 10:47:00 +05:30
Manish Goregaokar
dc0e467945
Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
...
… and libc 0.2 and many other dependencies
2015-11-27 00:15:29 -05:00
bors-servo
bc618b0d53
Auto merge of #8689 - jdm:deps, r=frewsxcv
...
Remove remaining version-conflict exceptions in tidy.py.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8689 )
<!-- Reviewable:end -->
2015-11-27 09:17:54 +05:30
bors-servo
243bc8b6dd
Auto merge of #8687 - Ms2ger:ref-21, r=jdm
...
Remove the css21 tests from test-ref.
These are already running and passing in test-css.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8687 )
<!-- Reviewable:end -->
2015-11-27 07:19:16 +05:30
Keith Yeung
7d3eb72a26
Refactor http_fetch to reflect the new standard
2015-11-26 17:12:19 -08:00
bors-servo
4e8c9c9811
Auto merge of #8686 - Ms2ger:test-ref, r=frewsxcv
...
Use wptrunner for some old-style reftests.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8686 )
<!-- Reviewable:end -->
2015-11-27 06:35:15 +05:30
bors-servo
f96e8ce9e8
Auto merge of #8685 - jmr0:master, r=Ms2ger
...
tidy rule to warn against use of &String and refactoring
Fixes #8681
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8685 )
<!-- Reviewable:end -->
2015-11-27 04:48:38 +05:30
bors-servo
f5ef2f4f75
Auto merge of #8682 - jdm:css-error-reporter, r=jdm
...
Defined new trait ParseErrorReporter and added error_reporter member …
…to ParserContext.
Rebase of #8210 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8682 )
<!-- Reviewable:end -->
2015-11-27 03:56:08 +05:30
bors-servo
3614ed74d9
Auto merge of #8679 - jdm:rmprintln, r=larsbergstrom
...
Fix #8502 by not printing the message which is known to be repeated m…
…illions of times.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8679 )
<!-- Reviewable:end -->
2015-11-27 03:26:35 +05:30
bors-servo
86f1ea8a7b
Auto merge of #8690 - jdm:disablecanvas, r=SimonSapin
...
Disable canvas_over_area.html due to frequent timeouts, pending furth…
…er investigation for #8311 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8690 )
<!-- Reviewable:end -->
2015-11-27 02:48:12 +05:30
bors-servo
36e60959f4
Auto merge of #8638 - tirkarthi:master, r=Ms2ger
...
Clarify servo as parallel browser engine
In the repo title it says servo is a "parallel browser engine" whereas readme says its a "parallel browser". It will be helpful to add a more clear title.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8638 )
<!-- Reviewable:end -->
2015-11-27 01:48:21 +05:30
Josh Matthews
ca882762fc
Disable canvas_over_area.html due to frequent timeouts, pending further investigation for #8311 .
2015-11-26 13:23:38 -05:00