bors-servo
0898620902
Auto merge of #6070 - Ms2ger:clone, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6070 )
<!-- Reviewable:end -->
2015-05-15 12:15:39 -05:00
Ms2ger
0067cb2101
Remove some clones.
2015-05-15 17:52:53 +02:00
bors-servo
24635a4bca
Auto merge of #6068 - mbrubeck:run-d, r=jdm
...
(And the same for `rr-record`.) For consistency with `mach build`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6068 )
<!-- Reviewable:end -->
2015-05-15 10:25:29 -05:00
Matt Brubeck
4f65720f19
Make "mach run -d" an alias for "mach run --dev"
...
(And the same for `rr-record`.) For consistency with `mach build`.
2015-05-15 07:59:45 -07:00
bors-servo
68d135e671
Auto merge of #6033 - Jinwoo-Song:boxsizing_paddingbox, r=pcwalton
...
Spec: http://dev.w3.org/csswg/css-ui/#valdef-box-sizing-padding-box
Currently, only Firefox is supporting this value.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6033 )
<!-- Reviewable:end -->
2015-05-15 09:42:18 -05:00
bors-servo
f554ab1c4d
Auto merge of #6036 - jgraham:wpt_upstream_binary, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6036 )
<!-- Reviewable:end -->
2015-05-15 04:17:38 -05:00
bors-servo
65c30224a1
Auto merge of #6043 - mukilan:get_root_element, r=Ms2ger
...
The [current implementation](http://mxr.mozilla.org/servo/source/components/script/dom/element.rs#666 ) is wrong as it always tries to cast the furthest ancestor into an element.
When the method is invoked on an element that is in the document tree, this will be the `Document` node, which is not an element. The ```last().map(ElementCast::to_temporary)``` returns Some(None) hence the method will return ```None```, while the correct behaviour is to return the ```html``` node.
This PR interprets the line ```"furthest ancestor element node of whatever node is being discussed"``` in the spec to mean ```"find the furthest ancestor that is an element node"```.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6043 )
<!-- Reviewable:end -->
2015-05-15 03:35:37 -05:00
bors-servo
09f5648153
Auto merge of #6059 - glennw:warnings-police, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6059 )
<!-- Reviewable:end -->
2015-05-14 22:53:17 -05:00
Glenn Watson
676c59cc18
Fix a few warnings in cef build
2015-05-15 13:48:03 +10:00
bors-servo
8c40272824
Auto merge of #6046 - Jinwoo-Song:background_origin, r=pcwalton
...
This property determines the background positioning area, that is the position of
the origin of an image specified using the 'background-image' CSS property.
'background-origin' is ignored when background-attachment is fixed.
Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-origin
Fixes #6045 .
r? @pcwalton
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6046 )
<!-- Reviewable:end -->
2015-05-14 20:53:02 -05:00
bors-servo
a97f81b83d
Auto merge of #6016 - zmike:embedding-windowing, r=larsbergstrom
...
Depends on glutin PR #21
@glennw @larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6016 )
<!-- Reviewable:end -->
2015-05-14 20:06:04 -05:00
Jinwoo Song
b1b22c0c53
Implement 'background-origin' property in CSS3 Background
...
This property determines the background positioning area, that is the position of
the origin of an image specified using the 'background-image' CSS property.
'background-origin' is ignored when background-attachment is fixed.
Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-origin
Fixes #6045 .
2015-05-15 10:02:58 +09:00
Mike Blumenkrantz
6f6945aafc
try fixing macos embedding build
2015-05-14 21:00:42 -04:00
Anthony Ramine
d0f62c7b73
Fix overflow in CharacterData
2015-05-15 01:59:59 +02:00
bors-servo
74ef5d6aa8
Auto merge of #6055 - pcwalton:paint-flashing, r=mbrubeck
...
r? @mbrubeck (or whoever)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6055 )
<!-- Reviewable:end -->
2015-05-14 18:00:52 -05:00
Patrick Walton
a0980091cf
gfx: Implement paint flashing, which will be useful for debugging
...
invalidation.
2015-05-14 15:45:41 -07:00
bors-servo
5bdf20e94e
Auto merge of #6054 - larsbergstrom:android_refixup, r=mbrubeck
...
It appears that https://github.com/servo/servo/pull/6012 reverted our attempts to update the android submodule - probably a bad rebase. This re-fixes it and also updates the debugging code to modern Rust.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6054 )
<!-- Reviewable:end -->
2015-05-14 16:56:25 -05:00
Lars Bergstrom
da88ac3744
Re-update the android-rs-glue submodule
2015-05-14 16:52:17 -05:00
Lars Bergstrom
2521bc551b
Update the environment variable debug code for new Rust
2015-05-14 16:51:47 -05:00
bors-servo
7040453358
Auto merge of #6052 - jinankjain:Bug#6048, r=mbrubeck
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6052 )
<!-- Reviewable:end -->
2015-05-14 15:51:45 -05:00
Jinank Jain
8af4e10086
Fixed #6048
2015-05-14 21:52:23 +02:00
bors-servo
8faa9f877d
Auto merge of #5902 - nox:length, r=jdm
...
Blocked by https://github.com/w3c/testharness.js/pull/124 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5902 )
<!-- Reviewable:end -->
2015-05-14 13:37:10 -05:00
bors-servo
5a737bae1a
Auto merge of #6049 - mbrubeck:position-rtl, r=pcwalton
...
`BaseFlow::position` is relative to the parent flow's margin box in the inline direction. We need to use the parent's `position` as the container size when translating it to physical coordinates, or we get incorrect results for non-LTR content.
r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6049 )
<!-- Reviewable:end -->
2015-05-14 12:52:27 -05:00
Anthony Ramine
d9619853e2
Fix length value of interface methods
2015-05-14 19:11:10 +02:00
bors-servo
a635a8f953
Auto merge of #5921 - nox:document-getter, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5921 )
<!-- Reviewable:end -->
2015-05-14 12:09:18 -05:00
Anthony Ramine
0e8bd5dd98
Partially implement getter of Document
2015-05-14 18:28:43 +02:00
Anthony Ramine
69220dfc10
Make HTMLFormElement name attribute use an atom
2015-05-14 18:28:42 +02:00
Anthony Ramine
70e67d5e11
Make HTMLImageElement name attribute use an atom
2015-05-14 18:28:40 +02:00
Anthony Ramine
b86672af0c
Implement HTMLAppletElement.name
2015-05-14 18:28:39 +02:00
Anthony Ramine
2176aab642
Import string_cache::Atom into the attributes' macros
2015-05-14 18:28:38 +02:00
bors-servo
c0d8488b71
Auto merge of #6038 - mbrubeck:jinankjain-Bug#5933, r=mbrubeck
...
Require either `--dev` or `--release`, unless a default build.mode is set in `.servobuild`. This is @jinankjain's patch from #5965 , rebased onto master. It is already reviewed, and only waiting for servo/saltfs#28 to be deployed.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6038 )
<!-- Reviewable:end -->
2015-05-14 11:26:18 -05:00
Matt Brubeck
dc19806b15
Fix positioning of RTL blocks with margins.
...
`BaseFlow::position` is relative to the parent flow's margin box in the inline
direction. We need to use the parent's `position` as the container size when
translating it to physical coordinates, or we get incorrect results for
non-LTR content.
2015-05-14 09:23:15 -07:00
bors-servo
8979d77e77
Auto merge of #6037 - jgraham:wpt_update, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6037 )
<!-- Reviewable:end -->
2015-05-14 09:00:09 -05:00
Mukilan Thiyagarajan
3c56c58e38
Fix implementation of Element::get_root_element
2015-05-14 18:22:28 +05:30
James Graham
a884237f9f
Update web-platform-tests expected data to revision 41a7d8732d8e5c65728c153d29a34fe9d5192b29
2015-05-14 13:45:29 +01:00
bors-servo
7bda431e61
Auto merge of #6044 - Ms2ger:cleanup, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6044 )
<!-- Reviewable:end -->
2015-05-14 07:16:42 -05:00
James Graham
5e8b92f3de
Update web-platform-tests to revision 41a7d8732d8e5c65728c153d29a34fe9d5192b29
2015-05-14 13:03:25 +01:00
Ms2ger
d84c3e7a30
Fix some overlong lines.
2015-05-14 13:26:13 +02:00
Ms2ger
40a91d6227
Use HTMLDataListElementCast in HTMLFormElement.
2015-05-14 13:11:49 +02:00
Ms2ger
db61c54858
Remove an unused import.
2015-05-14 13:10:56 +02:00
Ms2ger
422b6bd223
Fix comments in devtools.
...
In particular, use the right kind of documentation comments.
2015-05-14 13:10:40 +02:00
Ms2ger
5c4d2d7928
Move handling of CanvasWebGLMsgs into WebGLPaintTask::handle_webgl_message.
...
This clarifies the code flow in WebGLPaintTask::start a bit, and as a bonus,
reduces the line lengths.
2015-05-14 13:09:13 +02:00
bors-servo
b05c3fc0c0
Auto merge of #6022 - jgraham:webdriver_execute_async_script, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6022 )
<!-- Reviewable:end -->
2015-05-14 05:02:27 -05:00
James Graham
50f59c8255
Add support for timing out scripts
2015-05-14 10:59:20 +01:00
James Graham
8d10fa1f2d
Add basic support for executeAsyncScript.
...
This relies on a global webdriverCallback function, which is visible to content.
Obviously that's not a long term solution for a number of reasons, but it allows
us to experiment for now
2015-05-14 10:59:17 +01:00
James Graham
98cb65ca0a
Wait for the root pipeline to become ready before running webdriver commands.
2015-05-14 10:59:16 +01:00
James Graham
28ac0abf6a
Make WebDriver Get() command wait on pages loading before returning.
...
This makes using WebDriver significantly less racy. Also
refactors the message structure a little
2015-05-14 10:59:10 +01:00
bors-servo
7e022b25a8
Auto merge of #5890 - glennw:iframe-cleanup, r=jdm
...
This allows most of the jquery test suite to run without exhausting thread resources.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5890 )
<!-- Reviewable:end -->
2015-05-13 22:34:59 -05:00
Glenn Watson
2b3737d34e
Various fixes for cleaning up iframes, compositor layers, pipelines and threads.
...
This allows most of the jquery test suite to run without exhausting thread resources.
2015-05-14 11:42:54 +10:00
bors-servo
e25444c263
Auto merge of #6035 - Jinwoo-Song:fix_background_image_position, r=pcwalton
...
According to CSS2.1 spec, background image should be positioned on padding box.
Spec: http://www.w3.org/TR/CSS21/colors.html#propdef-background-position
Fixes #6034 .
r? @jdm
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6035 )
<!-- Reviewable:end -->
2015-05-13 20:40:33 -05:00