Bobby Holley
afa3834f3b
Rename ThreadSafeLayoutFoo to ServoThreadSafeLayoutFoo and TThreadSafeLayoutFoo to ThreadSafeLayoutFoo.
2015-11-21 11:26:49 -08:00
Bobby Holley
a85ae24c51
Hoist exported ThreadSafeLayoutFoo functionality into traits.
2015-11-21 11:25:20 -08:00
Bobby Holley
05db7b3652
Use associated types instead of wrapper types.
2015-11-21 10:18:02 -08:00
Bobby Holley
516619b230
Make the LayoutElement trait implement TElementAttributes.
2015-11-21 10:18:01 -08:00
bors-servo
ea690a2dff
Auto merge of #8622 - frewsxcv:url-plugin, r=SimonSapin
...
Implement 'url!(..)' macro
https://github.com/servo/rust-url/issues/136
https://github.com/servo/rust-url/pull/137
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8622 )
<!-- Reviewable:end -->
2015-11-21 21:10:52 +05:30
bors-servo
ec3437f4e3
Auto merge of #8611 - alex:default-ciphers, r=jvehent
...
Fixed #8594 -- use a more modern default cipher suite list by default
Fixes #8594 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8611 )
<!-- Reviewable:end -->
2015-11-21 20:42:11 +05:30
bors-servo
f2fe1171d2
Auto merge of #8601 - mfeckie:feature/manifest-diff-ci-check, r=jdm
...
Check if MANIFEST.json changes as per #8587
Adds a script which checks if either of the MANIFEST.json files change in `test/wpt` in response to #8587
- Addresses currently incorrect MANIFEST.json
- Adds checking script
PR for saltfs to add to CI checks to follow (https://github.com/servo/saltfs/pull/163 )
https://reviewable.io/reviews/servo/servo/8601
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8601 )
<!-- Reviewable:end -->
2015-11-21 20:13:10 +05:30
bors-servo
b8586025d2
Auto merge of #8636 - jdm:disableintermittent, r=Manishearth
...
Disable Document-createElement-namespace.html while #8614 is still a …
…problem.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8636 )
<!-- Reviewable:end -->
2015-11-21 19:44:19 +05:30
Josh Matthews
29731070b7
Disable Document-createElement-namespace.html while #8614 is still a problem.
2015-11-21 09:01:30 -05:00
Corey Farwell
f34da4120d
Implement 'url!(..)' macro
...
https://github.com/servo/rust-url/issues/136
https://github.com/servo/rust-url/pull/137
2015-11-21 08:15:56 -05:00
bors-servo
3eef814c4d
Auto merge of #8635 - Ms2ger:test-ref, r=nox
...
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/8635 )
<!-- Reviewable:end -->
2015-11-21 16:51:37 +05:30
bors-servo
28582bb9f5
Auto merge of #8633 - rilut:remove-node-is-anchor-element, r=nox
...
Remove 'Node::is_anchor_element'
Should fixes #8631 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8633 )
<!-- Reviewable:end -->
2015-11-21 16:01:37 +05:30
bors-servo
7ccdc42a66
Auto merge of #8627 - rilut:refactor-script, r=Ms2ger
...
Move SetDOMProxyInformation() call from script_task.rs to script/lib.rs
Actually, I'm not sure whether to move `unsafe extern "C" fn shadow_check_callback` from script_task.rs to lib.rs or to keep it there. cc: @wenderen
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8627 )
<!-- Reviewable:end -->
2015-11-21 15:26:38 +05:30
Ms2ger
bd25225cd2
Move viewport_meta.html and viewport_rule.html to wpt reftests.
2015-11-21 10:21:02 +01:00
Ms2ger
544568b16f
Move text_decoration_underline_subpx_a.html to wpt reftests.
2015-11-21 10:21:01 +01:00
Ms2ger
9a8ac63fdc
Move text_decoration_smoke_a.html to wpt reftests.
2015-11-21 10:21:00 +01:00
Ms2ger
3d5e1130d5
Move root_display_inline_a.html and root_display_without_style_a.html to wpt reftests.
2015-11-21 10:08:32 +01:00
Ms2ger
ba62957368
Move position_fixed_tile_edge.html, position_fixed_tile_edge_2.html, and position_fixed_tile_edge_3.html to wpt reftests.
2015-11-21 10:05:38 +01:00
bors-servo
585d2d5c8c
Auto merge of #8621 - jgraham:webdriver_css, r=jdm
...
Add support for getting an element's computed style through WebDriver.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8621 )
<!-- Reviewable:end -->
2015-11-21 11:09:50 +05:30
Martin Feckie
80721a64d0
Add to manifest checks to .travis.yml
2015-11-21 15:45:49 +11:00
Rizky Luthfianto
d3c852ed85
Remove 'Node::is_anchor_element'
2015-11-21 11:44:10 +07:00
bors-servo
18ee6bc30a
Auto merge of #8617 - Ms2ger:unused-as, r=jdm
...
Remove an unused trait.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8617 )
<!-- Reviewable:end -->
2015-11-21 06:21:02 +05:30
Martin Feckie
7fafc6c1f6
Also run checks for test-css MANIFEST.json
2015-11-21 10:33:39 +11:00
bors-servo
8b6bfb615a
Auto merge of #8628 - mrobinson:damage-bits, r=pcwalton
...
Clean up restyle damage after it no longer applies
BUBBLE_ISIZES and REPAINT can become "stuck" on in the default Servo
configuration once they are activated. This is solved by removing these
damage bits after they no longer apply. There isn't a good way to test
this, other than noting that it doesn't break any existing CSS tests.
This will become more important in the future as the REPAINT bit is used
to implement display list patching.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8628 )
<!-- Reviewable:end -->
2015-11-21 04:44:28 +05:30
Martin Feckie
a024c1c296
Only use single * and ignore mach output
2015-11-21 09:58:22 +11:00
Martin Feckie
9c5e9dc96c
Run manifest-update without running tests prior to checking diff
2015-11-21 09:35:43 +11:00
bors-servo
c19b01c2f4
Auto merge of #8559 - glennw:transform-layers, r=pcwalton
...
Include transform changes in list that cause incremental reflows.
Also ensure that 3d translations get layers.
Fixes #8329 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8559 )
<!-- Reviewable:end -->
2015-11-21 02:28:18 +05:30
bors-servo
fc54534898
Auto merge of #8624 - Ms2ger:node, r=pcwalton
...
Pass ServoLayoutNode to query functions.
This means we only deal with TrustedNodeAddress in LayoutTask::handle_reflow,
which is where the safety of this usage is guaranteed (by the ScriptReflow
destructor).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8624 )
<!-- Reviewable:end -->
2015-11-21 01:39:11 +05:30
Martin Robinson
90e2f7bfbf
Clean up restyle damage after it no longer applies
...
BUBBLE_ISIZES and REPAINT can become "stuck" on in the default Servo
configuration once they are activated. This is solved by removing these
damage bits after they no longer apply. There isn't a good way to test
this, other than noting that it doesn't break any existing CSS tests.
This will become more important in the future as the REPAINT bit is used
to implement display list patching.
2015-11-20 11:57:58 -08:00
Rizky Luthfianto
1c9ce04320
refactor(script): move SetDOMProxyInformation() call to lib.rs
2015-11-21 01:46:10 +07:00
Alex Gaynor
008d99663f
Fixed #8594 -- use a more modern default cipher suite list by default
2015-11-20 11:40:07 -05:00
Ms2ger
b77576f34b
Pass ServoLayoutNode to query functions.
...
This means we only deal with TrustedNodeAddress in LayoutTask::handle_reflow,
which is where the safety of this usage is guaranteed (by the ScriptReflow
destructor).
2015-11-20 14:34:10 +01:00
bors-servo
cb443b49ef
Auto merge of #8619 - 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/8619 )
<!-- Reviewable:end -->
2015-11-20 18:59:28 +05:30
James Graham
f7258e4fcc
Add support for getting an element's computed style through WebDriver.
2015-11-20 13:23:38 +00:00
Ms2ger
068a584241
Move overflow_auto.html, overflow_scroll.html and overflow_simple_a.html to wpt reftests.
2015-11-20 12:19:40 +01:00
Ms2ger
22656dc39d
Move ol_japanese_iroha_a.html and ol_japanese_iroha_bullet_styles.html to wpt reftests.
2015-11-20 12:10:31 +01:00
Ms2ger
d6a7794f41
Move octicons_a.html to wpt reftests.
2015-11-20 12:07:03 +01:00
Ms2ger
6a862fc747
Move noteq_attr_exists_selector.html to wpt reftests.
2015-11-20 12:02:47 +01:00
Ms2ger
07d1f3f546
Move marker_block_direction_placement_a.html to wpt reftests.
2015-11-20 11:58:34 +01:00
Ms2ger
1a55b4a5fe
Move margin_a.html to wpt reftests.
2015-11-20 11:56:42 +01:00
Ms2ger
872334a364
Move list_style_type_a.html to wpt reftests.
2015-11-20 11:54:11 +01:00
Ms2ger
964c8355b7
Remove an unused trait.
2015-11-20 11:39:03 +01:00
Ms2ger
6a2cbfc9d9
Move list_style_position_a.html to wpt reftests.
2015-11-20 10:21:04 +01:00
bors-servo
0146751bb2
Auto merge of #8615 - Ms2ger:unusued-import, r=SimonSapin
...
Remove unused import.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8615 )
<!-- Reviewable:end -->
2015-11-20 13:26:18 +05:30
Ms2ger
b40c629aac
Remove unused import.
2015-11-20 08:55:41 +01:00
bors-servo
8b39b9afed
Auto merge of #8599 - jdm:e10s-redux, r=metajack
...
compositing: Split Servo up into multiple sandboxed processes.
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
Rebase of #6884 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599 )
<!-- Reviewable:end -->
2015-11-20 03:59:48 +05:30
Patrick Walton
1c130819ca
compositing: Split Servo up into multiple sandboxed processes.
...
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
2015-11-19 16:38:04 -05:00
bors-servo
e5c9b48598
Auto merge of #8589 - vegayours:8360_reduce_node_unique_id_size, r=eefriedman
...
Reduce node.unique_id size
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8589 )
<!-- Reviewable:end -->
2015-11-20 01:44:19 +05:30
bors-servo
ff4171170d
Auto merge of #8606 - rilut:refactor-layout-task, r=Ms2ger
...
refactor(layout_task.rs): move some functions to query.rs
Should fixes #8470
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8606 )
<!-- Reviewable:end -->
2015-11-19 23:48:17 +05:30
bors-servo
7f95693288
Auto merge of #8564 - jgraham:webdriver_attr, r=Ms2ger
...
Implement Get Element Attribute WebDriver command
This intentionally doesn't implement the special handling for boolean
attributes yet, since that requires some kind of exhaustive list of all
such attributes
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8564 )
<!-- Reviewable:end -->
2015-11-19 23:16:25 +05:30