Mike Blumenkrantz
d2133b2467
bump glutin version for cargo
2015-05-13 13:25:00 -04:00
Mike Blumenkrantz
16a9712ab7
add parent window setting when creating windows with glutin
...
needed for embedding api usage
2015-05-13 13:24:56 -04:00
bors-servo
e7db42f931
Auto merge of #6027 - Adenilson:unusedOpts01, r=jdm
...
Seems to be a left over from quite some time ago.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6027 )
<!-- Reviewable:end -->
2015-05-12 21:25:58 -05:00
bors-servo
606ab1df44
Auto merge of #6013 - glennw:compositor-race, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6013 )
<!-- Reviewable:end -->
2015-05-12 20:44:19 -05: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
Adenilson Cavalcanti
37b6eeddff
Removing unused start up parameter.
...
Seems to be a left over from quite some time ago.
2015-05-12 14:41:08 -07:00
bors-servo
398e7f07fe
Auto merge of #6019 - Ms2ger:preshint-border, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6019 )
<!-- Reviewable:end -->
2015-05-12 14:47:49 -05:00
bors-servo
76225bdccb
Auto merge of #5992 - zmike:random-fixups, r=larsbergstrom
...
Attempt to not panic as much if the resources/ dir is not where it's expected to be.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5992 )
<!-- Reviewable:end -->
2015-05-12 13:26:22 -05:00
Mike Blumenkrantz
ac6aa9b8b7
when finding resource_dir, try exe launch directory
...
external apps using servo may just have the resources/ in the same place
2015-05-12 13:45:49 -04:00
Mike Blumenkrantz
082479344f
fix Stylist::add_quirks_mode_stylesheet() to not panic when resources cannot be loaded
2015-05-12 13:45:48 -04:00
Mike Blumenkrantz
1cf5dd212c
fix Stylist::new() to not panic when resources cannot be loaded
2015-05-12 13:45:47 -04:00
Simon Sapin
8292f5749e
Upgrade to Hyper 0.4.0
2015-05-12 16:48:21 +02:00
Ms2ger
69f92596ca
Move table border to the new infrastructure.
2015-05-12 14:18:58 +02:00
bors-servo
f4381a6f1e
Auto merge of #6018 - Jinwoo-Song:select_attributes, r=Ms2ger
...
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/6018 )
<!-- Reviewable:end -->
2015-05-12 06:15:56 -05:00
Ms2ger
52afa1dc34
Stop using get_unsigned_integer_attribute_for_layout in has_nonzero_border.
2015-05-12 13:03:15 +02:00
Ms2ger
1b99fd7ecb
Implement get_attr_for_layout that returns an AttrValue.
2015-05-12 13:02:50 +02:00
Ms2ger
9951e0b4d6
Parse table border.
2015-05-12 12:08:18 +02:00
bors-servo
ca9c703bf5
Auto merge of #6010 - brson:next, r=pcwalton
...
Just cleanup.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6010 )
<!-- Reviewable:end -->
2015-05-12 03:26:54 -05:00
Jinwoo Song
656a8ee3c8
Implement HTMLSelectElement.{multiple, name, size} ( fixes #6017 )
2015-05-12 16:22:36 +09:00
bors-servo
8fa604be9d
Auto merge of #5988 - Ms2ger:preshints, r=pcwalton
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5988 )
<!-- Reviewable:end -->
2015-05-12 02:15:11 -05:00
Ms2ger
8b0505930f
Move textarea cols/rows to the new infrastructure.
2015-05-12 09:14:42 +02:00
Ms2ger
f571a69b2e
Move table/td width to the new infrastructure.
2015-05-12 09:14:40 +02: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
Glenn Watson
79942f0920
Fix a compositor race condition that can result in the most recent buffer not being painted.
2015-05-12 10:34:05 +10:00
bors-servo
885068207f
Auto merge of #6011 - pcwalton:ns_to_ms, r=jdm
...
r? @jdm (or whoever)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6011 )
<!-- Reviewable:end -->
2015-05-11 16:53:32 -05:00
Patrick Walton
55442db3b2
compositing: Fix scrolling timeout. There are 1,000,000 nanoseconds in a
...
millisecond.
2015-05-11 14:44:49 -07:00
Ms2ger
0c8e55bff1
Move input size to the new infrastructure.
2015-05-11 23:43:58 +02:00
Ms2ger
83f4b077eb
Move table cellspacing to the new infrastructure.
2015-05-11 23:43:56 +02: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
Josh Matthews
32a89c9455
Make stylesheets block page load.
2015-05-11 13:41:52 -04:00
Josh Matthews
7f0706ed42
Implement a DocumentLoader type that tracks pending loads and notifies the script task when the queue is empty. Dispatch the document load event based on the DocumentLoader's notification.
2015-05-11 13:41:51 -04:00
bors-servo
263b69cf7f
Auto merge of #6008 - jgraham:webdriver_get_active_element, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6008 )
<!-- Reviewable:end -->
2015-05-11 12:33:26 -05:00
James Graham
6e639de664
Add support for getActiveElement webdriver command
2015-05-11 17:31:23 +01:00
James Graham
5f4c66e6d5
Add basic browser capabilities
2015-05-11 17:30:06 +01:00
bors-servo
8df824998f
Auto merge of #5969 - jgraham:webdriver_select_css, r=jdm
...
Also adds example support for getting the name and text properties of the elements.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5969 )
<!-- Reviewable:end -->
2015-05-11 09:57:02 -05: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
Ms2ger
fa31d7d909
Replace TElement::get_link() by specific methods.
2015-05-11 10:52:58 +02:00
bors-servo
c76d73d124
Auto merge of #5994 - pcwalton:vertical-align-inline-block, r=glennw
...
Improves Twitter.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5994 )
<!-- Reviewable:end -->
2015-05-10 16:23:10 -05:00
bors-servo
d1a0aacc60
Auto merge of #6001 - Ms2ger:runtime, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6001 )
<!-- Reviewable:end -->
2015-05-10 15:14:37 -05:00
Ms2ger
34e35df986
Move get_attr and get_attrs into TElementAttributes.
...
These methods are only called on LayoutElement.
2015-05-10 18:26:06 +02:00
Ms2ger
2ff18b6b95
Stop using TElement's unsound get_attr in link/style code.
2015-05-10 18:26:02 +02:00
Ms2ger
cfe240d117
Remove reference counting from the Runtime implementation.
2015-05-10 18:09:09 +02:00