Jeff Harrison
d4fe40089b
Add onresize handler to GlobalEventHandlers
...
Refs: https://github.com/servo/servo/issues/7996
Rebased: https://github.com/servo/servo/pull/8006
2016-01-29 18:22:52 -05:00
bors-servo
d1ff330ba8
Auto merge of #9438 - pcwalton:root-margins, r=mbrubeck
...
Expand the block size of the root flow's margin box to the viewport size instead of expanding the block size of its border box.
Closes #9308 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9438 )
<!-- Reviewable:end -->
2016-01-30 03:55:24 +05:30
Nikki
db8cc6eccf
Partial implementation of Main Fetch step, including appropiate updates to tests
2016-01-29 12:40:54 -07:00
bors-servo
5e1f0495a9
Auto merge of #9170 - SimonSapin:multicol2, r=mbrubeck
...
Add CSS Multicolumn support with block fragmentation

Includes/supersedes #8763 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9170 )
<!-- Reviewable:end -->
2016-01-30 00:49:14 +05:30
bors-servo
dc223eb4c3
Auto merge of #9420 - shssoichiro:console-time, r=KiChjang
...
Implement console#time and console#timeEnd methods
Fixes #9325
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9420 )
<!-- Reviewable:end -->
2016-01-29 23:47:52 +05:30
bors-servo
4bd295f0ed
Auto merge of #9450 - jdm:ipcchannelupgrade, r=nox
...
Upgrade ipc-channel to diagnose #8961 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9450 )
<!-- Reviewable:end -->
2016-01-29 21:30:20 +05:30
Shing Lyu
18b6817755
Add mach test-webidl command
2016-01-29 21:12:21 +08:00
bors-servo
0c5591a8ec
Auto merge of #9407 - KiChjang:radio-node-list, r=nox
...
Implement RadioNodeList
I also had to implement the NamedGetter for HTMLFormControlsCollection as well, since that's the only consumer of RadioNodeList and I wanted to see which wpt test passes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9407 )
<!-- Reviewable:end -->
2016-01-29 14:04:16 +05:30
bors-servo
58369f22b2
Auto merge of #9454 - mbrubeck:glutinup, r=glennw
...
Update to servo-glutin 0.4.8
Fixes #9451 . r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9454 )
<!-- Reviewable:end -->
2016-01-29 09:22:08 +05:30
Keith Yeung
4229b68062
Implement NamedItem and NamedGetter on HTMLFormControlsCollection
2016-01-28 18:33:51 -05:00
bors-servo
1483a5de32
Auto merge of #9446 - glennw:zero-perspective, r=pcwalton
...
Fix panic when perspective property is zero.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9446 )
<!-- Reviewable:end -->
2016-01-29 04:35:04 +05:30
Matt Brubeck
fc7e8431ce
Update to servo-glutin 0.4.8
2016-01-28 14:09:35 -08:00
Josh Matthews
320d9db616
Upgrade ipc-channel to diagnose #8961 .
2016-01-28 14:53:04 -05:00
Patrick Walton
777c46fd3f
Expand the block size of the root flow's margin box to the viewport size
...
instead of expanding the block size of its border box.
Closes #9308 .
2016-01-28 11:12:37 -08:00
Lars Bergstrom
864fe53956
Revert "Remove gold hack, since it's in rustc automatically now"
...
This reverts commit 2955d895a4
.
2016-01-28 11:49:08 -06:00
bors-servo
562fe03e80
Auto merge of #9436 - fstr:issue-9403, r=KiChjang
...
Use .find().map() instead of .filter_map().next()
Patch for issue #9403
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9436 )
<!-- Reviewable:end -->
2016-01-28 21:58:29 +05:30
bors-servo
55d4773311
Auto merge of #9061 - mathieuh:setNameItem, r=eefriedman
...
Implement SetNamedItem and SetNamedItemNS
@nox Can you add the "it needs tests" tag or so?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9061 )
<!-- Reviewable:end -->
2016-01-28 17:06:41 +05:30
Mathieu Hordesseaux
322b120f8a
Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS
2016-01-28 12:35:44 +01:00
Mátyás Mustoha
9e69ca660c
Fix AArch64 target triplets
2016-01-28 11:17:37 +01:00
Simon Sapin
47d918ca35
Document new return value of BlockFlow::assign_block_size_block_base
2016-01-28 09:43:14 +01:00
Simon Sapin
f766e94259
Remove unused fixed_descendants: AbsoluteDescendants
...
… in `construct.rs` for multicol and table wrappers.
2016-01-28 09:43:14 +01:00
Simon Sapin
5498b54347
Add Multicolumn support block fragmentation.
2016-01-28 09:43:14 +01:00
Simon Sapin
359b984348
Multicol: compute the width of columns based on column-width
and column-count
.
2016-01-28 09:43:14 +01:00
Simon Sapin
48270b58bf
Move part of BlockFlow::assign_inline_sizes to separate function.
2016-01-28 09:43:14 +01:00
Simon Sapin
9abbd1b5d1
Sequentialize assign_block_size for flows that can be fragmented.
...
Fragmentation will be intertwined with block size calculation.
2016-01-28 09:42:17 +01:00
bors-servo
bc44ae679f
Auto merge of #9401 - glennw:raf-timing, r=jdm
...
Fixes additional calls to rAF.
Often, a rAF callback will request another rAF from the callback itself.
Previously, the constellation would quickly receive two messages saying
that there were no animations, and then there are animations again in the
situation above. This would make the compositor tick the new animation straight
away, causing strange fluctuations and timings in rAF callbacks.
Instead, only send the NoAnimationCallbacks message if the animation
callback queue is still empty after invoking the callbacks.
This fixes rAF timing, which now runs at the correct (vsync) framerate.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9401 )
<!-- Reviewable:end -->
2016-01-28 11:18:24 +05:30
Glenn Watson
183c3f5389
Fix panic when perspective property is zero.
2016-01-28 14:28:38 +10:00
bors-servo
0cd034041f
Auto merge of #9445 - servo:bump-ipc-channel, r=jdm
...
Upgrade ipc-channel dependency.
dfd8513d80...4cc8773bfb
Attempt to fix https://github.com/servo/servo/issues/8815
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9445 )
<!-- Reviewable:end -->
2016-01-28 09:49:26 +05:30
Corey Farwell
d2166cd5d5
Upgrade ipc-channel dependency.
...
dfd8513d80...4cc8773bfb
Attempt to fix https://github.com/servo/servo/issues/8815
2016-01-27 22:24:20 -05:00
Glenn Watson
6a85102a5a
Ensure that when outputting screenshots, animations are ticked as required.
...
Fixes timeout in transition_calc.html.
2016-01-28 11:49:47 +10:00
bors-servo
0fa9d32c69
Auto merge of #9421 - jdm:iframe-painting-after-navigation-redux, r=jdm
...
compositing: Fix a couple of bugs that prevented iframes from painting after navigation.
The first bug was that iframes were not reflowed in their parent DOM when the child page navigated. This is fixed by simply having the constellation notify the appropriate script thread when navigation occurs.
The second bug was that the compositor was unable to adjust the pipeline for existing iframe layers, only new ones. This patch adds logic to do that.
The third bug was that we have ad-hoc reflow calls throughout script/, and we didn't trigger any reflow from the code that dispatches the `load` event for the iframe so the test for the first two issues would always time out. The second commit adds another reflow call to do that, and also bites the bullet and adds a catch-all reflow (which does nothing if there's no dirty nodes in the document) at the return to the event loop.
Closes #8081 .
Extension of #9285 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9421 )
<!-- Reviewable:end -->
2016-01-28 04:55:04 +05:30
Josh Matthews
c79231f9c6
Ignore navigation requests from pages that are not active.
2016-01-27 18:17:03 -05:00
Florian Strübe
e65d7251f7
Improved .find().map()
2016-01-27 23:24:32 +01:00
bors-servo
34954a9870
Auto merge of #9444 - mbrubeck:x5e-up, r=jdm
...
Upgrade to latest xml5ever
To pick up Ygg01/xml5ever#12
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9444 )
<!-- Reviewable:end -->
2016-01-27 22:58:10 +05:30
Matt Brubeck
84915ed23b
Upgrade to latest xml5ever
2016-01-27 09:26:41 -08:00
Simon Sapin
da2b4ab381
Disable incremental reflow for multicol and their descendants.
...
Fragmentation with dynamic updates is hard.
2016-01-27 17:33:12 +01:00
Simon Sapin
357463864b
Avoid a transmute that relied on undefined struct layout.
2016-01-27 16:37:08 +01:00
bors-servo
e9769da498
Auto merge of #9425 - connorimes:characterize-use-output-png, r=larsbergstrom
...
Output to png file since exit flag doesn't work
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9425 )
<!-- Reviewable:end -->
2016-01-27 20:51:50 +05:30
bors-servo
03b763c2c5
Auto merge of #9440 - adamncasey:fix-multirust, r=jdm
...
Prepend PATH extras instead of append (Fix Issue #9437 )
Should fix multirust issue https://github.com/servo/servo/issues/9437 which appeared after https://github.com/servo/servo/pull/9415 landed.
@jdm to confirm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9440 )
<!-- Reviewable:end -->
2016-01-27 19:17:29 +05:30
bors-servo
4f3ed209bc
Auto merge of #9434 - servo:h5eup, r=nox
...
Update html5ever and xml5ever for API changes.
@nox r?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9434 )
<!-- Reviewable:end -->
2016-01-27 17:29:56 +05:30
Simon Sapin
c7b51e7aa1
Update html5ever and xml5ever for API changes.
2016-01-27 12:25:16 +01:00
bors-servo
8c0736211b
Auto merge of #9378 - paulrouget:removeProperty, r=KiChjang
...
Invalidate node style after style property removed
Fix #9377
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9378 )
<!-- Reviewable:end -->
2016-01-27 16:43:30 +05:30
Adam Casey
74524f03c4
Prepend PATH extras instead of append.
...
Fixes multirust issue #9437
2016-01-27 11:09:45 +00:00
Paul Rouget
6d7dc0b905
Invalidate node style after style property removed
2016-01-27 07:43:23 +01:00
bors-servo
2dd4e5d164
Auto merge of #9439 - glennw:update-gleam, r=KiChjang
...
Update gleam
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9439 )
<!-- Reviewable:end -->
2016-01-27 11:36:45 +05:30
Glenn Watson
8dd9159bb4
Update gleam
2016-01-27 14:27:53 +10:00
Glenn Watson
de81d88324
Add comment to explain callback ordering
2016-01-27 09:25:20 +10:00
Josh Matthews
7eca462c5a
Make iframe's load event trigger a reflow of the enclosing window. Add a catch-all reflow for all same-origin pages sharing an event loop.a
2016-01-26 16:37:23 -05:00
Patrick Walton
e5a1af5b7a
compositing: Fix a couple of bugs that prevented iframes from painting
...
after navigation.
The first bug was that iframes were not reflowed in their parent DOM
when the child page navigated. This is fixed by simply having the
constellation notify the appropriate script thread when navigation
occurs.
The second bug was that the compositor was unable to adjust the pipeline
for existing iframe layers, only new ones. This patch adds logic to do
that.
Closes #8081 .
2016-01-26 16:37:23 -05:00
Florian Strübe
6fef891ab8
Use .find().map() instead of .filter_map().next() in URLSearchParams::Get
2016-01-26 21:50:31 +01:00