Keith Yeung
ea2bc0023b
Made open event in WebScoket not cancelable ( fixes #6101 )
2015-05-18 00:35:23 +08:00
Ms2ger
b9a01881f8
Update web-platform-tests to revision 1d3af70cfecdc12d737f50cda0f402b092797201.
2015-05-17 14:28:10 +02: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
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
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
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
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
Anthony Ramine
0e8bd5dd98
Partially implement getter of Document
2015-05-14 18:28:43 +02:00
Anthony Ramine
b86672af0c
Implement HTMLAppletElement.name
2015-05-14 18:28:39 +02: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
James Graham
a884237f9f
Update web-platform-tests expected data to revision 41a7d8732d8e5c65728c153d29a34fe9d5192b29
2015-05-14 13:45:29 +01: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
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
Jinwoo Song
945adabd48
Add support for 'padding-box' value for 'box-sizing' property ( fixes #6032 )
...
Spec: http://dev.w3.org/csswg/css-ui/#valdef-box-sizing-padding-box
Currently, only Firefox is supporting this value.
2015-05-14 09:11:43 +09:00
Jinwoo Song
7283f75679
Position the background image on the padding box.
...
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 .
2015-05-14 08:44:33 +09:00
James Graham
bc1c545170
Provide a UI to select commits when upstreaming web-platform-tests.
2015-05-13 22:17:25 +01:00
James Graham
e963093416
Support binary changes when upstreaming web-platform-tests.
2015-05-13 22:17:22 +01:00
Patrick Walton
1f0b5889da
layout: Allow inline elements to be containing blocks for
...
absolutely-positioned elements.
This also implements a little bit of the infrastructure needed to
support for fragmentation via support for multiple positioned fragments
in one flow.
Improves Google.
2015-05-13 12:00:53 -07:00
Patrick Walton
87a620e1b3
layout: Draw elements with position: relative; z-index: auto
over
...
ordinary content per CSS 2.1 Appendix E.
Improves Talking Points Memo.
2015-05-12 17:32:59 -07:00
Simon Sapin
8292f5749e
Upgrade to Hyper 0.4.0
2015-05-12 16:48:21 +02:00
Jinwoo Song
656a8ee3c8
Implement HTMLSelectElement.{multiple, name, size} ( fixes #6017 )
2015-05-12 16:22:36 +09:00
bors-servo
10d8200a54
Auto merge of #6005 - Jinwoo-Song:button_name_value, r=jdm
...
Implemented getter and setter of the attributes.
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/6005 )
<!-- Reviewable:end -->
2015-05-11 21:27:10 -05:00
Jinwoo Song
94c3077edc
Implement name and value attributes of HTMLButtonElement ( fixes #6003 )
...
Implemented getter and setter of the attributes.
2015-05-12 09:52:25 +09:00
Patrick Walton
3875c9db4a
layout: Support block-direction margins for inline-blocks.
...
Improves linux.com.
2015-05-11 17:49:12 -07:00
bors-servo
5a13cae064
Auto merge of #5991 - pcwalton:float-overflow-area, r=glennw
...
Makes qz.com visible.
In order to work around a compiler bug involving Sized, this patch moves
`store_overflow` to be a virtual method.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5991 )
<!-- Reviewable:end -->
2015-05-11 16:08:46 -05:00
bors-servo
c1e15e827e
Auto merge of #5980 - pcwalton:table-width-and-center, r=mbrubeck
...
Improves Hacker News.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5980 )
<!-- Reviewable:end -->
2015-05-11 15:25:42 -05:00
Patrick Walton
b026a8ecf6
layout: Store overflow for flows impacted by floats.
...
Makes qz.com visible.
In order to work around a compiler bug involving Sized, this patch moves
`store_overflow` to be a virtual method.
2015-05-11 12:59:55 -07:00
Patrick Walton
4b9cd4e65d
layout: Implement <table width>
and <center>
.
...
Improves Hacker News.
2015-05-11 12:53:45 -07:00
bors-servo
2baa69595e
Auto merge of #5804 - jdm:docloader, r=Ms2ger
...
This implements a simple load-tracking system and tracks stylesheet loads as an example of how it fits together. This is a simplified and rebased version of #3714 ; I do not believe that the main thrust of hsivonen's comments (related to tracking navigation in browsing contexts) affect this part of the work.
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5804 )
<!-- Reviewable:end -->
2015-05-11 14:35:33 -05:00
Josh Matthews
a1ae53a230
Delay stylesheet load in test to increase confidence.
2015-05-11 15:35:10 -04:00
Josh Matthews
f3cdba6b8b
Make link elements fire a load event.
2015-05-11 13:41:52 -04:00
bors-servo
844ac2915e
Auto merge of #5997 - mbrubeck:table-direction, r=pcwalton
...
Table columns should be layed out according to the 'direction' property of the
table flow, regardless of the 'direction' property of any table-row,
table-rowgroup, etc. flows.
This fixes a number of the `direction-applies-to-*` tests in the CSS2.1 test
suite.
This also simplifies `propagate_column_inline_sizes_to_child` by separating
the code used for table cells from the code for non-cell flows.
r? @pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5997 )
<!-- Reviewable:end -->
2015-05-11 07:50:09 -05:00
Matt Brubeck
e36a498cfb
Fix direction of columns in mixed LTR/RTL tables.
...
Table columns should be layed out according to the 'direction' property of the
table flow, regardless of the 'direction' property of any table-row,
table-rowgroup, etc. flows.
This fixes a number of the `direction-applies-to-*` tests in the CSS2.1 test
suite.
This also simplifies `propagate_column_inline_sizes_to_child` by separating
the code used for table cells from the code for non-cell flows.
r? @pcwalton
2015-05-08 21:29:02 -07:00
Patrick Walton
614c877527
layout: Support vertical-align
for inline-blocks.
...
Improves Twitter.
2015-05-08 17:59:01 -07:00
Patrick Walton
7b92b99c6d
layout: Take the width
attribute of <img>
into account when
...
computing the intrinsic widths of the associated fragment.
Fixes sites that use spacer gifs for table layout, such as the comments
page on Hacker News.
2015-05-08 13:30:27 -07:00
Patrick Walton
b17b90c8df
layout: Implement inline margins.
...
Improves the Google SERPs.
We mark `html/rendering/replaced-elements/images/space.html` as failing.
This test tested whether `<img hspace>` and inline margins do the same
thing. Since this was trivially the case before (since we implemented
neither) and now is not, this test now fails.
2015-05-07 16:25:05 -07:00
bors-servo
d9cc36ac22
Auto merge of #5946 - mmatyas:canvas_mxreset, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5946 )
<!-- Reviewable:end -->
2015-05-06 16:51:02 -05:00
bors-servo
5cb1356e9e
Auto merge of #5800 - aweinstock314:x11-clipboard, r=jdm
...
...ed test_clipboard_paste to the "test-unit" suite.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5800 )
<!-- Reviewable:end -->
2015-05-06 16:09:37 -05:00
Avi Weinstock
d054946f7d
Fix test_clipboard_paste to pass on Mac OS.
2015-05-06 15:30:29 -04:00
bors-servo
19744984da
Auto merge of #5923 - nox:limited-unsigned-long, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5923 )
<!-- Reviewable:end -->
2015-05-06 14:22:45 -05:00
Mátyás Mustoha
9302aaab96
Canvas: implement transformation matrix reset.
2015-05-06 20:37:14 +02:00