Commit graph

10414 commits

Author SHA1 Message Date
Patrick Walton
d5ca1a18dc layout: Support percentage widths in inline-blocks.
Improves Twitter.
2015-05-19 13:35:02 -07:00
bors-servo
0a737d90f2 Auto merge of #6120 - zmike:cmap, r=larsbergstrom
@larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6120)
<!-- Reviewable:end -->
2015-05-19 13:10:44 -05:00
bors-servo
40dded8b3a Auto merge of #6134 - Ms2ger:fetch, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6134)
<!-- Reviewable:end -->
2015-05-19 12:13:37 -05:00
bors-servo
360c5d8235 Auto merge of #6130 - mbrubeck:float-rtl, r=pcwalton
This fixes panics in RTL pages with floats (#6113) and partially fixes the positioning of RTL floats.  There are some remaining issues with the layout of floats in RTL flows, which I'll file follow-up issues for.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6130)
<!-- Reviewable:end -->
2015-05-19 11:29:34 -05:00
bors-servo
cbc06ef62c Auto merge of #6121 - servo:mbrubeck-readme, r=metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6121)
<!-- Reviewable:end -->
2015-05-19 10:45:31 -05:00
Ms2ger
fa4fe01757 Use snake case in fetch. 2015-05-19 17:41:31 +02:00
Ms2ger
4ca6325bad Remove an unwrap() call in HTTP fetch. 2015-05-19 17:38:56 +02:00
bors-servo
b23f4266ad Auto merge of #6133 - jgraham:servodriver, r=Ms2ger
This runs tests using the WebDriver protocol without restarting
the browser each time, and is currently enabled with
--product servodriver on the command line

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6133)
<!-- Reviewable:end -->
2015-05-19 07:14:24 -05:00
James Graham
413d005bb8 Update wptrunner and enable non-default support for servodriver executor.
This runs tests using the WebDriver protocol without restarting
the browser each time, and is currently enabled with
--product servodriver on the command line
2015-05-19 10:57:51 +01:00
Matt Brubeck
0048b4f2ab Positioning fixes for RTL floats 2015-05-18 17:25:06 -07:00
Matt Brubeck
ec5c333347 Use the correct writing mode for Floats fields
Fixes #6113 (assertion failures caused by floats in mixed-direction pages).
2015-05-18 17:24:43 -07:00
bors-servo
913c5677ab Auto merge of #6118 - Ryman:gh5856, r=pcwalton
Fixes #5856 

This stops the panic, but the empty fragments tend to be non-empty if extended by `info.range_end_including_stripped_whitespace`, so I'm unsure if it's a requirement to include that instead of skipping for correctness? Perhaps there's a testcase needed for this behaviour?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6118)
<!-- Reviewable:end -->
2015-05-18 16:19:34 -05:00
Matt Brubeck
48c2cf4b7e Further clarify README.md 2015-05-18 10:33:41 -07:00
Matt Brubeck
20c8874e88 Clarify how Servo rust snapshots work 2015-05-18 10:21:51 -07:00
Mike Blumenkrantz
5ce23cd36c update glutin repo ref 2015-05-18 12:26:46 -04:00
Kevin Butler
dcf91d9eba Skip empty fragments when justifying inline fragments.
Fixes #5856
2015-05-18 16:03:13 +01:00
bors-servo
90aacf00f8 Auto merge of #5824 - KiChjang:http-fetch-spec, r=jdm
This is a work-in-progress for the implementation of HTTP fetch. Currently, it does not compile, as I haven't figured out how to solve the issues regarding borrows and lifetimes.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5824)
<!-- Reviewable:end -->
2015-05-18 09:23:43 -05:00
Keith Yeung
450931a171 Implemented http fetch (partial #4576) 2015-05-18 10:23:28 -04:00
bors-servo
ab145c43ac Auto merge of #6109 - glennw:android-fix, r=larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6109)
<!-- Reviewable:end -->
2015-05-17 21:37:32 -05:00
bors-servo
c50754961c Auto merge of #6107 - glennw:fonts-readme, r=larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6107)
<!-- Reviewable:end -->
2015-05-17 20:56:44 -05:00
Glenn Watson
711c889d89 Fix android - it now renders the default wikipedia page correctly. 2015-05-18 10:18:56 +10:00
bors-servo
57e3710ba2 Auto merge of #6108 - glennw:android-logs, r=larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6108)
<!-- Reviewable:end -->
2015-05-17 19:18:14 -05:00
Glenn Watson
b38557a7f0 Fix android logging since the rustup 2015-05-18 10:16:03 +10:00
Glenn Watson
de4f5a5bdb Remove ms ttf fonts dependency that is no longer required. Fixes #6080. 2015-05-18 08:28:52 +10:00
bors-servo
0f1f71b56f Auto merge of #6064 - nox:characterdata-overflow, r=Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6064)
<!-- Reviewable:end -->
2015-05-17 13:40:30 -05:00
bors-servo
d6c3ddd8fd Auto merge of #6102 - KiChjang:websocket-open-event-noncancelable, r=Ms2ger
Fixes #6101

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6102)
<!-- Reviewable:end -->
2015-05-17 12:57:58 -05:00
Keith Yeung
ea2bc0023b Made open event in WebScoket not cancelable (fixes #6101) 2015-05-18 00:35:23 +08:00
bors-servo
f15f4a5f47 Auto merge of #6099 - Ms2ger:core, r=Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6099)
<!-- Reviewable:end -->
2015-05-17 08:19:45 -05:00
bors-servo
188b1b5412 Auto merge of #6100 - Ms2ger:wpt_20150517, r=Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6100)
<!-- Reviewable:end -->
2015-05-17 07:37:18 -05:00
Ms2ger
b9a01881f8 Update web-platform-tests to revision 1d3af70cfecdc12d737f50cda0f402b092797201. 2015-05-17 14:28:10 +02:00
Ms2ger
a6a587047b Update the README for the new name of the core fonts package. 2015-05-17 13:50:08 +02:00
bors-servo
5b47db447d Auto merge of #6091 - Ms2ger:2dcontext, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6091)
<!-- Reviewable:end -->
2015-05-16 21:18:59 -05:00
Ms2ger
391417cb44 Submit the remaining 2dcontext reftests to wpt. 2015-05-16 17:14:26 +02:00
bors-servo
3934831da3 Auto merge of #6081 - mbrubeck:table-wrapper-rtl, r=pcwalton
Fixes #6006. r? @pcwalton

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6081)
<!-- Reviewable:end -->
2015-05-15 22:46:35 -05:00
bors-servo
9f2079f6ba Auto merge of #6067 - Jinwoo-Song:backgroundclip, r=pcwalton
This property determines the background painting area, which determines the area
within which the background is painted.

Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-clip

Fixes #6066.

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/6067)
<!-- Reviewable:end -->
2015-05-15 22:05:05 -05:00
Jinwoo Song
a51d5de860 Implement 'background-clip' property in CSS3 Background
This property determines the background painting area, which determines the area
within which the background is painted.

Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-clip

Fixes #6066.
2015-05-16 09:43:46 +09:00
Matt Brubeck
179a70b305 Fix layout of RTL tables in LTR flow
Fixes #6006.
2015-05-15 17:03:51 -07:00
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