Ms2ger
a84055d8fe
Return the result from process_node_geometry_request.
2015-10-26 10:41:50 +01:00
Ms2ger
9754bfc330
Return the result from process_resolved_style_request.
2015-10-26 10:41:49 +01:00
Ms2ger
16b6e812a2
Return the result from process_offset_parent_query.
2015-10-26 10:41:48 +01:00
bors-servo
4e015b5378
Auto merge of #8203 - Ms2ger:unsafe-impl-baseflow, r=nox
...
Remove manual implementations of Send and Sync for BaseFlow.
They don't appear to be necessary.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8203 )
<!-- Reviewable:end -->
2015-10-26 03:48:19 -05:00
bors-servo
83b72e8669
Auto merge of #8204 - Ms2ger:privatize-FlowConstructionUtils, r=nox
...
Privatize FlowConstructionUtils.
This makes it match the documentation.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8204 )
<!-- Reviewable:end -->
2015-10-26 03:04:24 -05:00
Ms2ger
28f9302b38
Privatize FlowConstructionUtils.
...
This makes it match the documentation.
2015-10-26 08:52:52 +01:00
Ms2ger
c8ad7c750e
Remove manual implementations of Send and Sync for BaseFlow.
...
They don't appear to be necessary.
2015-10-26 08:47:57 +01:00
bors-servo
ec691904cc
Auto merge of #8165 - paulrouget:hackingQuickstart, r=Manishearth
...
hacking quickstart documentation
Please someone review this (content and english).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8165 )
<!-- Reviewable:end -->
2015-10-26 00:33:41 -05:00
bors-servo
64cae0c590
Auto merge of #8196 - Ms2ger:clone-font-cache-task, r=nox
...
Remove a pointless clone() from add_font_face_rules.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8196 )
<!-- Reviewable:end -->
2015-10-25 17:58:11 -05:00
Ms2ger
4cac3f4f97
Remove a pointless clone() from add_font_face_rules.
2015-10-25 22:46:34 +01:00
bors-servo
1982ae38e3
Auto merge of #8195 - Ms2ger:update-js, r=jdm
...
Update js.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8195 )
<!-- Reviewable:end -->
2015-10-25 14:23:57 -05:00
Ms2ger
54d3462fa5
Use the new define_methods and define_properties functions from js.
2015-10-25 19:50:10 +01:00
Ms2ger
5da7af0b14
Update js.
2015-10-25 19:49:34 +01:00
bors-servo
41df37cf1b
Auto merge of #8070 - badboy:inline-block-for-button, r=jdm
...
Move inline-block styling to user-agent and add button
First Servo PR for me. \o/
Fixes #8064
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8070 )
<!-- Reviewable:end -->
2015-10-25 12:43:00 -05:00
Jan-Erik Rediger
4153291361
Update test manifest
2015-10-25 18:38:44 +01:00
Jan-Erik Rediger
c5ecd65fec
Add reftest for css button width
2015-10-25 18:35:42 +01:00
Jan-Erik Rediger
dbe43237cc
Move inline-block styling to user-agent and add button
...
Fixes #8064
2015-10-25 18:35:42 +01:00
bors-servo
662ff9b8c2
Auto merge of #8185 - Ms2ger:white-space, r=frewsxcv
...
Correct the match urls for the white-space tests.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8185 )
<!-- Reviewable:end -->
2015-10-25 10:12:20 -05:00
bors-servo
47f6eb744f
Auto merge of #8188 - servo:jdm-patch-1, r=frewsxcv
...
Remove bad advice from WPT docs.
I misunderstood the purpose of `--no-run`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8188 )
<!-- Reviewable:end -->
2015-10-25 09:29:32 -05:00
Josh Matthews
e843135be0
Remove bad advice from WPT docs.
...
I misunderstood the purpose of `--no-run`.
2015-10-25 09:48:35 -04:00
bors-servo
4b5bc4f9a9
Auto merge of #8186 - Ms2ger:rm-clone, r=nox
...
Remove an unnecessary Atom::clone() call.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8186 )
<!-- Reviewable:end -->
2015-10-25 05:09:11 -05:00
Ms2ger
c86141c55a
Remove an unnecessary Atom::clone() call.
2015-10-25 11:08:15 +01:00
Ms2ger
f59ef17921
Correct the match urls for the white-space tests.
2015-10-25 10:37:30 +01:00
bors-servo
47a8256c2c
Auto merge of #8183 - saneyuki:matches, r=nox
...
script: Element.webkitMatchesSelector()
spec:
- 9ac9c15486
- https://github.com/whatwg/compat/issues/3
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8183 )
<!-- Reviewable:end -->
2015-10-25 02:47:30 -05:00
Tetsuharu OHZEKI
04967ed97e
script: Element.webkitMatchesSelector()
...
spec:
9ac9c15486
2015-10-25 15:27:20 +09:00
bors-servo
bb88832c07
Auto merge of #8073 - eefriedman:root-lint, r=Manishearth
...
Make unrooted_must_root a bit more aggressive.
Basically, instead of trying to check for specific kinds of statements,
just check the types of all local variables.
Also included are some commented-out proposals for some slightly more
aggressive lints which might be useful (but trigger a little too
frequently at the moment).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8073 )
<!-- Reviewable:end -->
2015-10-24 20:20:04 -05:00
bors-servo
3b50f21963
Auto merge of #8181 - frewsxcv:no-alloc-get-element-by-id, r=nox
...
Remove unnecessary allocation with getElementById
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8181 )
<!-- Reviewable:end -->
2015-10-24 17:25:09 -05:00
Corey Farwell
48ea5959c7
Remove unnecessary allocation with getElementById
2015-10-24 17:50:42 -04:00
bors-servo
354e75a447
Auto merge of #8171 - Ms2ger:reflector, r=jdm
...
Remove the default implementation of Reflectable::init_reflector.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8171 )
<!-- Reviewable:end -->
2015-10-23 17:49:28 -05:00
bors-servo
22a6884a67
Auto merge of #8140 - mrobinson:canvas, r=pcwalton
...
Integrate Canvas into the DisplayList
Canvas is currently given a layer at the stacking context level.
Instead it's DisplayItem should be given a layer directly. This fixes
painting order issues where canvases are painted on top of other
positioned content that is later in tree order. It always simplifies
the code a bit.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8140 )
<!-- Reviewable:end -->
2015-10-23 17:17:12 -05:00
Eli Friedman
a9ef40c716
Don't allow unrooted values in function arguments.
2015-10-23 14:44:19 -07:00
Eli Friedman
81ecf7824c
Make unrooted_must_root a bit more aggressive.
...
Basically, instead of trying to check for specific kinds of statements,
just check the types of all local variables.
Also included are some commented-out proposals for some slightly more
aggressive lints which might be useful (but trigger a little too
frequently at the moment).
2015-10-23 14:43:44 -07:00
bors-servo
ff2c7bb47b
Auto merge of #8137 - romankl:gh/8126, r=nox
...
Remove unnecessary rooting from `CSSStyleDeclaration`
This commit will replace calls to `self.owner.root()` with `self.owner` to avoid unnecessary rooting of JS elements objects.
Ref.- Issue: #8126
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8137 )
<!-- Reviewable:end -->
2015-10-23 16:38:24 -05:00
bors-servo
e3bcf7bab7
Auto merge of #8091 - nox:cleanup-range, r=eefriedman
...
Remove Rc<T> usage from Range
I initially used this to correctly handle ranges when their respective containers
are mutated, to get weak references of Range objects. I now realise that the weak
references should be handled at a lower level, closer to the JS-managed object.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8091 )
<!-- Reviewable:end -->
2015-10-23 16:00:00 -05:00
Roman Klauke
fe2401c566
Remove unnecessary rooting from CSSStyleDeclaration
...
This commit will replace calls to `self.owner.root()` with `self.owner`
to avoid unnecessary rooting of JS elements objects.
Ref.- Issue: #8126
2015-10-23 20:27:15 +02:00
bors-servo
ac8097b5d2
Auto merge of #8170 - Ms2ger:cleanup-canvas, r=frewsxcv
...
Cleanup some code in htmlcanvaselement.rs.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8170 )
<!-- Reviewable:end -->
2015-10-23 09:34:28 -06:00
Ms2ger
970b8aa8bc
Remove the unused default implementation of Reflectable::init_reflector.
2015-10-23 17:21:04 +02:00
Ms2ger
9be52dc41a
Implement GlobalRef::reflector as an inherent method.
...
Reflectable is meant for actual DOM objects, not for references to them.
2015-10-23 17:20:17 +02:00
Ms2ger
8361d54a6e
Cleanup some code in htmlcanvaselement.rs.
2015-10-23 16:55:12 +02:00
bors-servo
6f59acdd0a
Auto merge of #8152 - frewsxcv:reftests, r=jdm
...
Use wptrunner for some old-style reftests.
Part of #5618
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8152 )
<!-- Reviewable:end -->
2015-10-23 08:51:29 -06:00
Corey Farwell
40caa2aee0
Move box_shadow_bg.html to wpt reftests.
2015-10-23 10:27:38 -04:00
Corey Farwell
4c6a9625bf
Move border_spacing_empty_table.html to wpt reftests.
2015-10-23 10:27:37 -04:00
Corey Farwell
890e1d93e2
Move border_style_none_a.html to wpt reftests.
2015-10-23 10:27:36 -04:00
Corey Farwell
62ef402f90
Move acid1_a.html to wpt reftests.
2015-10-23 10:27:34 -04:00
Corey Farwell
ecb5a1f7c6
Move case-insensitive-font-family.html to wpt reftests.
2015-10-23 10:27:33 -04:00
Corey Farwell
6034364552
Move float_clearance_intrinsic_width_a.html to wpt reftests.
2015-10-23 10:27:31 -04:00
Corey Farwell
fc958d4d2d
Move box_shadow_border_box_a.html to wpt reftests.
2015-10-23 10:27:30 -04:00
Corey Farwell
4116aa5e18
Move box_shadow_inset_bg.html to wpt reftests.
2015-10-23 10:27:29 -04:00
Corey Farwell
8cb1aa0d67
Move empty_cells_a.html to wpt reftests.
2015-10-23 10:27:27 -04:00
Corey Farwell
02a35f5540
Move filter_opacity_a.html to wpt reftests.
2015-10-23 10:27:26 -04:00