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
Ms2ger
076d15992a
Update js.
2015-05-10 15:58:07 +02:00
Brian Anderson
df9c132551
util: Set the experimental_enabled flag when options are set
2015-05-09 02:22:59 -07:00
Brian Anderson
f8bbc0a974
util: Rename ops::set_opts
to ops::set
, to match get
2015-05-09 02:12:23 -07:00
Brian Anderson
8975a3bd9b
Add an assert to opts::set_opts.
...
This function leaks if called more than once.
2015-05-09 02:11:18 -07:00
Brian Anderson
17747ad0e2
Add some overview docs to compositing::constellation
2015-05-09 01:55:27 -07:00
Brian Anderson
aa906a54d3
Remove call to env::current_dir from Browser
...
Put it in util::opts instead.
2015-05-09 00:48:25 -07:00
Brian Anderson
dd04cf46d1
Whitespace
2015-05-08 21:31:17 -07:00
Brian Anderson
23a20e98c5
Remove bogus comment
2015-05-08 21:31:02 -07: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
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
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
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
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
29a43a00b3
Auto merge of #5894 - nox:putforwards, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5894 )
<!-- Reviewable:end -->
2015-05-07 09:07:12 -05:00
Anthony Ramine
cc5eee48a6
Generate forwarded setters
2015-05-07 16:04:25 +02:00
bors-servo
c7608f7691
Auto merge of #5957 - ecoal95:glcontext-mac-support, r=jdm
...
Now we have mac support, and since android build is broken, we can
drop glutin from WebGL code.
Went back to upstream repo, see:
https://github.com/servo/rust-offscreen-rendering-context/pull/1#issuecomment-99234534
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5957 )
<!-- Reviewable:end -->
2015-05-07 07:51:04 -05:00
bors-servo
5f2a8494be
Auto merge of #5949 - mmatyas:canvas_dirty, r=jdm
...
With this patch, it is now possible to create nice animations using the canvas.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5949 )
<!-- Reviewable:end -->
2015-05-07 07:09:41 -05:00
ecoal95
a3b0c10381
Remove Glutin dependency for WebGL
...
Now we have mac support, and since android build is broken, we can
drop glutin from WebGL code.
Went back to upstream
(see: https://github.com/servo/rust-offscreen-rendering-context/pull/1#issuecomment-99234534 )
Rebased
2015-05-07 13:31:08 +02:00
bors-servo
63ba1cb69b
Auto merge of #5884 - jgraham:webdriver_screenshot, r=jdm
...
This adds support for compositing to a PNG without actually quiting
the browser.
Cargo bits need to be updated after the upstream changes to rust-png land.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5884 )
<!-- Reviewable:end -->
2015-05-07 04:59:04 -05:00
James Graham
5311d9ab59
Support WebDriver takeScreenshot command.
...
This adds support for compositing to a PNG without actually quiting
the browser.
2015-05-07 09:56:15 +01:00
bors-servo
0ec6d80b6e
Auto merge of #5967 - Ms2ger:warnings, r=mbrubeck
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5967 )
<!-- Reviewable:end -->
2015-05-07 03:50:17 -05:00
Simon Sapin
0d226722b7
Deduplicate some dependencies.
...
This uses some dependencies from crates.io instead of git
where the crates.io copy was already used in some other part
of the dependency tree, so we had two copies of the same library.
The `android_glue` crate is the only one left where we have two copies,
but solving that is more tricky since we hard-code a path in
`components/servo/.cargo/config`.
2015-05-07 01:56:49 +02: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
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
Mátyás Mustoha
53af4e4cb5
Mark the canvas as dirty on certain drawing calls.
2015-05-06 20:27:26 +02:00
Anthony Ramine
fedad2af1f
Improve support of limited unsigned long attributes
2015-05-06 20:18:08 +02:00
bors-servo
ccf1e6b9a7
Auto merge of #5361 - luniv:css-device-adapt, r=mbrubeck
...
Spec: http://dev.w3.org/csswg/css-device-adapt/
Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently needs access to the constraints (i.e. there's no CSSOM as far as I can tell).
I did not implement sections 9 (viewport <META>) or 10 (handling 'auto' for 'zoom').
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5361 )
<!-- Reviewable:end -->
2015-05-06 12:41:09 -05:00
Ms2ger
2bfca8f96f
Remove unused imports.
2015-05-06 19:20:10 +02:00
Avi Weinstock
0587717944
Change the dispatch in TextInput::handle_keydown_aux match on enum values instead of strings.
2015-05-06 11:46:21 -04:00
Avi Weinstock
29f8306089
Heuristically create a Key value in KeyboardEvent::Constructor based on the string provided.
2015-05-06 11:46:20 -04:00
Avi Weinstock
b742eeca05
Made the clipboard-related functionality in TextInput more testable. Added test_clipboard_paste to the "test-unit" suite.
2015-05-06 11:46:18 -04:00
bors-servo
72c20d8491
Auto merge of #5962 - jgraham:webdriver_navigation, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5962 )
<!-- Reviewable:end -->
2015-05-06 10:34:44 -05:00
James Gilbertson
3f006f96b2
Move parsing of @viewport rules in a stylesheet behind --experimental.
...
This is for parsing of the rule within a stylesheet only. <meta name=viewport> could create a viewport rule and add it to the list of stylesheets for the page (like quirks mode).
2015-05-06 09:18:57 -06:00
bors-servo
9aa801f140
Auto merge of #5961 - Ms2ger:closeevent, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5961 )
<!-- Reviewable:end -->
2015-05-06 09:51:31 -05:00