Keith Yeung
12a96f7194
Rename DOM manipulation messages to tasks
2016-05-04 21:01:26 -04:00
Keith Yeung
ce302c78c1
Rename ToggleEventRunnable to DetailsNotificationRunnable
2016-05-04 21:01:26 -04:00
bors-servo
c1252a40d9
Auto merge of #10993 - pcwalton:fix-animations, r=glennw
...
compositing: Perform animation-related compositing operations in WebRender.
I accidentally removed this code in #10936 .
Fixes transitions.
r? @glennw
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10993 )
<!-- Reviewable:end -->
2016-05-04 16:26:08 -07:00
bors-servo
97dfcedbcf
Auto merge of #11000 - pcwalton:wr-pipeline-relative-events, r=glennw
...
compositing: Send mouse events to the right pipeline when using WebRender.
Fixes mouse events in browser.html.
Requires servo/webrender_traits#47 and servo/webrender#272 .
r? @glennw
cc @paulrouget
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11000 )
<!-- Reviewable:end -->
2016-05-04 14:55:09 -07:00
bors-servo
35ba29355f
Auto merge of #10691 - pcwalton:float-fixes, r=mbrubeck
...
layout: Fix float speculation with percentage inline sizes, rewrite vertical alignment, fix inline block ascent/descent computation, and fix absolute inline-block hypothetical boxes.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10691 )
<!-- Reviewable:end -->
2016-05-04 13:49:23 -07:00
Patrick Walton
dacc482ee9
tests: Fix the input_buttons_margins_a.html
reftest.
...
It depends on the vertical alignment of button text, which is a spec
bug.
2016-05-04 13:43:45 -07:00
Patrick Walton
4227a698d0
tests: Add a reftest to check that floats with percentage widths
...
properly push text down.
2016-05-04 13:43:44 -07:00
Patrick Walton
86314bd7a3
tests: Update test expectations.
2016-05-04 13:43:43 -07:00
Patrick Walton
2bef5606bd
layout: Minor whitespace cleanup.
2016-05-04 13:20:24 -07:00
Patrick Walton
d2511e33c6
layout: When printing out debug info for the float list, include
...
information about each float.
2016-05-04 13:20:23 -07:00
Patrick Walton
4ae6a68e35
layout: Fix non-vertical-align-correct wording in a comment.
2016-05-04 13:20:23 -07:00
Patrick Walton
0198a9dda8
layout: Include float information in flows' debug output.
2016-05-04 13:20:22 -07:00
Patrick Walton
9e1935c2ed
layout: Make the hypothetical box for display: inline-block
with
...
`position: absolute` inline per CSS 2.1 § 10.3.7.
2016-05-04 13:20:22 -07:00
Patrick Walton
b7c9674044
layout: Consider vertical alignment of fragments during line breaking.
...
This makes the line breaker determine the final block positions of each
line rather than doing it in a separate pass afterward. Not only does
this simplify the code, it makes `vertical-align` and float placement
interact properly.
2016-05-04 13:20:21 -07:00
Patrick Walton
04f05349b1
layout: Check flow descendants of inline block fragments to find their
...
baselines when aligning inline fragments per CSS 2.1 § 10.8.1.
2016-05-04 13:20:21 -07:00
Patrick Walton
8823f87276
layout: Don't pretend inline fragment sizes are zero when placing them
...
between floats.
2016-05-04 13:19:52 -07:00
Patrick Walton
94306cd183
layout: Speculate that the inline sizes of floats with percentage
...
inline sizes are nonzero.
This is a bit of a hack.
2016-05-04 13:19:51 -07:00
Patrick Walton
91907f563b
compositing: Send mouse events to the right pipeline when using
...
WebRender.
Fixes mouse events in browser.html.
Requires servo/webrender_traits#47 and servo/webrender#272 .
2016-05-04 11:40:15 -07:00
bors-servo
20fc8b3c8d
Auto merge of #10932 - jdm:401, r=SimonSapin
...
Add the requesting URL to the 401 prompt. Only show the 401 prompt wh…
…en the WWW-Authenticate header is present.
Fixes #10912 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10932 )
<!-- Reviewable:end -->
2016-05-04 11:37:16 -07:00
bors-servo
b4f573db1a
Auto merge of #10840 - ConnorGBrewster:window_alert, r=jdm
...
Implement alert dialogs
fix #10812
Implements alert dialogs using tinyfiledialogs
r? @jdm
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10840 )
<!-- Reviewable:end -->
2016-05-04 09:10:40 -07:00
bors-servo
944a8dc25a
Auto merge of #10632 - szeged:bluetooth-ipc, r=jdm
...
WebBluetooth impementation
Update the current WebBluetooth implementation.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10632 )
<!-- Reviewable:end -->
2016-05-04 08:06:06 -07:00
bors-servo
7a439e6237
Auto merge of #10997 - mbrubeck:openssl-1.0.1t, r=aneeshusa
...
Upgrade to OpenSSL 1.0.1t on Android
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10997 )
<!-- Reviewable:end -->
2016-05-04 06:18:28 -07:00
bors-servo
29823cb378
Auto merge of #10934 - emilio:other-gecko-pseudos, r=bholley,mbrubeck
...
style: Add infrastructure to support lazy pseudo-elements
This builds on top of #10815 , so it's really just the last commit the one that should be reviewed.
I tried to apply the new infrastructure to servo, but failed (for now?).
The problem with it is that it'd require `ThreadSafeLayoutElement` to implement `selectors::Element`, which is a lot of work and might be racy (not totally sure about it though). Thus, I prefered to keep selectors eager until knowing that it's safe to do it.
r? @mbrubeck for style changes, @bholley for the geckolib changes (minimal for now, glue + a list of lazy PEs must be added)
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10934 )
<!-- Reviewable:end -->
2016-05-04 03:42:23 -07:00
bors-servo
1a1ea30f8c
Auto merge of #10959 - heycam:color, r=bholley
...
Support color-typed properties in geckolib
This is on top of https://github.com/servo/servo/pull/10957 though I'm not sure how to make that PR's commits not appear in this one.
r? @bholley
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10959 )
<!-- Reviewable:end -->
2016-05-04 01:00:22 -07:00
bors-servo
2e849b7064
Auto merge of #10983 - notriddle:no_alloc_sort_display, r=mbrubeck
...
Minor reduction in the amount of allocation display list building does
Use `mem::replace` to perform the lifetime-trick without allocating a whole new buffer.
(An older of this switched from the built-in heapsort to a non-allocating introsort. Unfortunately, introsort is not a stable sorting algorithm, and the display list system relies on it being stable.)
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10983 )
<!-- Reviewable:end -->
2016-05-03 23:51:53 -07:00
Connor Brewster
dc85be4be5
Implement alert dialogs
...
Fixed conflict
Fixed merge issue
Finished implementation
Disable tinyfiledialogs on Windows
addressed comments
Use ancestor's SubpageId
Move display alert from method to function
Add extra test for nested iframes
Addressed comments
Updated tinyfiledialogs
2016-05-03 22:09:35 -06:00
Cameron McCormack
d4e36556db
Support color in geckolib.
2016-05-04 09:44:17 +10:00
Cameron McCormack
66a3769446
Support skip_longhands="*" on geckolib struct trait definitions.
2016-05-04 09:44:15 +10:00
Cameron McCormack
d8969e2447
Support {background,outline}-color in geckolib.
2016-05-04 09:44:14 +10:00
Cameron McCormack
330c47f78e
Support {flood,lighting,stop,text-decoration}-color in geckolib.
2016-05-04 09:44:12 +10:00
Cameron McCormack
174680f98c
Support border-*-color in geckolib.
2016-05-04 09:44:11 +10:00
Cameron McCormack
952459c0d4
Support color-typed properties in geckolib.
2016-05-04 09:44:10 +10:00
bors-servo
f9d9cd3aae
Auto merge of #8454 - jdm:media, r=KiChjang
...
Implement basic <media> infrastructure
This gets us to the point where we can start playing with actually integrating rust-media to process the data received by the network request, as currently it's just ignored.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8454 )
<!-- Reviewable:end -->
2016-05-03 16:42:46 -07:00
bors-servo
2c69278067
Auto merge of #10756 - servo:smup, r=Ms2ger
...
Update SpiderMonkey
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10756 )
<!-- Reviewable:end -->
2016-05-03 15:46:40 -07:00
Matt Brubeck
e1386cad6f
Upgrade to OpenSSL 1.0.1t on Android
2016-05-03 15:46:18 -07:00
Emilio Cobos Álvarez
0f7b70c0b7
geckolib: Implement Servo_GetComputedValuesForPseudoElement
2016-05-04 00:34:10 +02:00
Emilio Cobos Álvarez
4429318450
docs: Ammend the lazy pseudo-element section to be clearer
...
Thanks to Simon for the feedback :)
2016-05-04 00:34:07 +02:00
Emilio Cobos Álvarez
aacf67afcd
layout: use debug!
instead of warn!
for the expected ThreadSafeLayoutElement methods
2016-05-04 00:34:05 +02:00
Emilio Cobos Álvarez
ca41e5359f
docs: Add style overview.
2016-05-04 00:34:03 +02:00
Emilio Cobos Álvarez
a87bf7c776
style: Minor documentation tweaks about lazy pseudo-elements
2016-05-04 00:34:00 +02:00
Emilio Cobos Álvarez
028f9b6cd2
style: layout: Allow a lazy pseudo-element implementation in Servo.
2016-05-04 00:33:58 +02:00
Josh Matthews
f16c05423c
Add more specification step comments and update to the latest specification.
2016-05-03 18:05:28 -04:00
Josh Matthews
99f6fb34fc
Tidy fixes.
2016-05-03 18:05:27 -04:00
Josh Matthews
f78d88acbe
Implement partial spec-recommended preload=none support.
2016-05-03 18:05:26 -04:00
Josh Matthews
ef10393ba6
Execute the failure steps for an empty src attribute.
2016-05-03 18:05:25 -04:00
Josh Matthews
c64d7578d1
Disable two tests that take a very long time to time out.
2016-05-03 18:05:23 -04:00
Josh Matthews
a80320e24e
Add event handlers for media-related events.
2016-05-03 18:05:22 -04:00
Josh Matthews
d718da1c6a
Pause media elements when they're removed from the document.
2016-05-03 18:05:21 -04:00
Josh Matthews
e3db11fd8b
Implement play, pause, paused, and autoplay APIs.
2016-05-03 18:05:20 -04:00
Josh Matthews
5960fbe604
Implement load, canPlayType, and error APIs for media elements.
2016-05-03 18:05:18 -04:00