Ms2ger
f571a69b2e
Move table/td width to the new infrastructure.
2015-05-12 09:14:40 +02: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
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
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
bors-servo
ca3149e521
Auto merge of #6007 - jgraham:webdriver_capabilities, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6007 )
<!-- Reviewable:end -->
2015-05-11 11:51:27 -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
bors-servo
be8539af88
Auto merge of #6004 - Ms2ger:get_link, r=SimonSapin
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6004 )
<!-- Reviewable:end -->
2015-05-11 06:46:17 -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
bors-servo
cf9338cb2e
Auto merge of #5999 - Ms2ger:TElement, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5999 )
<!-- Reviewable:end -->
2015-05-10 11:26:25 -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
Ms2ger
9abe47b76f
Move evaluate_script to Runtime.
2015-05-10 18:01:09 +02:00
Ms2ger
a12ad3c1cf
Remove support for tracing Cx.
2015-05-10 17:55:44 +02:00
Ms2ger
0f495afda6
Use Runtime in WorkerGlobalScope and DedicatedWorkerGlobalScope.
2015-05-10 17:16:17 +02:00
Ms2ger
4ed94629a2
Use Runtime in Window.
2015-05-10 17:16:15 +02:00
Ms2ger
ddf6cf6a16
Update js.
2015-05-10 17:16:14 +02:00
bors-servo
54b1c9af11
Auto merge of #6000 - Ms2ger:update-js, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6000 )
<!-- Reviewable:end -->
2015-05-10 08:58:33 -05:00
Ms2ger
076d15992a
Update js.
2015-05-10 15:58:07 +02: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
James Graham
9e44206760
Add WebDriver support for getting elements by selector.
...
Also adds example support for getting the name and text properties of the elements.
2015-05-08 22:25:37 +01:00
bors-servo
49b73c0bfe
Auto merge of #5990 - pcwalton:img-width-attribute-intrinsic-width, r=glennw
...
Fixes sites that use spacer gifs for table layout, such as the comments
page on Hacker News.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5990 )
<!-- Reviewable:end -->
2015-05-08 15:45:52 -05: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
bors-servo
892a740426
Auto merge of #5985 - zmike:embedding-woodenbikeshed, r=larsbergstrom
...
Some small changes.
@larsbergstrom or whoever cares the most at this exact moment.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5985 )
<!-- Reviewable:end -->
2015-05-08 15:03:52 -05:00
bors-servo
a052c53d2e
Auto merge of #5987 - Adenilson:rmComment01, r=jdm
...
Removing outdated comment.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5987 )
<!-- Reviewable:end -->
2015-05-08 13:42:40 -05:00
Adenilson Cavalcanti
2aa95f6928
This was done already on #5783 , maybe was reintroduced by mistake.
2015-05-08 11:39:02 -07:00
Mike Blumenkrantz
f588c0be73
image_cache_task::new_image_cache_task() should not panic when placeholder fails to load
...
now we just print a message and continue
2015-05-08 12:54:06 -04:00
Mike Blumenkrantz
6e74e510c6
fix undefined symbols in embedding lib
...
cef_get_xdisplay() was an internal function that should not have been used here
2015-05-08 12:04:37 -04:00
bors-servo
02cf89f4d3
Auto merge of #5976 - larsbergstrom:osx-android-fixes, r=glennw
...
r? @metajack
Thanks to @alexcrichton for all the work to figure out our problems here!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5976 )
<!-- Reviewable:end -->
2015-05-07 19:51:25 -05:00
bors-servo
0872ed922f
Auto merge of #5940 - pcwalton:inline-margins, r=glennw
...
Improves the Google SERPs.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5940 )
<!-- Reviewable:end -->
2015-05-07 19:10:31 -05: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
bfd1698462
Auto merge of #5936 - pcwalton:fast-resize, r=jdm
...
2.1x improvement on resizing on Reddit.
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5936 )
<!-- Reviewable:end -->
2015-05-07 18:13:29 -05:00
Patrick Walton
be8a5a2939
layout: Don't rerun selector matching unless we need to when resizing
...
the window.
2015-05-07 15:48:14 -07:00
Mike Blumenkrantz
7e7ee225c7
add embedding function for checking whether the loaded cef lib is servo
2015-05-07 16:58:08 -04:00
Lars Bergstrom
4f8d0c60cf
Ensure we use the android cross linker when building for android
2015-05-07 14:27:58 -05:00
Lars Bergstrom
dedf67ab97
Pick up acrichto's fixes to OSX cross build in submodules
2015-05-07 14:27:39 -05:00
bors-servo
92f46e3149
Auto merge of #5955 - zmike:embedding-REBASE_RAGE, r=larsbergstrom
...
This updates all the CEF interface stuff to the current CEF codebase.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5955 )
<!-- Reviewable:end -->
2015-05-07 14:10:29 -05:00