bors-servo
528d0fb409
Auto merge of #18825 - servo:urls, r=emilio
...
Fix a bunch of URL-reflecting IDL attributes
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18825 )
<!-- Reviewable:end -->
2017-10-11 08:45:44 -05:00
Anthony Ramine
71b015173f
Fix the form action IDL attributes
...
The returned string, if the attribute is present and non-empty,
should be a URL resolved against the element's document's base URL.
2017-10-11 13:56:10 +02:00
Anthony Ramine
605c679fee
Fix URL attributes
...
URL attributes should always use AttrValue::Url, and the input should be
resolved against the document's base URL at setting time always.
2017-10-11 13:56:07 +02:00
Emilio Cobos Álvarez
90ee40f43f
style: Fix ex computation with more than one operand.
2017-10-10 18:41:23 +02:00
bors-servo
bbb2a3cde9
Auto merge of #18790 - upsuper:scope, r=emilio
...
Support :scope pseudo-class
This fixes [bug 1406817](https://bugzilla.mozilla.org/show_bug.cgi?id=1406817 ).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18790 )
<!-- Reviewable:end -->
2017-10-09 23:04:15 -05:00
Xidorn Quan
dd0366c6b9
Add wpt for :scope pseudo-class
2017-10-10 12:09:38 +11:00
Xidorn Quan
4667e811dd
Cherry pick w3c/web-platform-tests#6874 to fix this test.
2017-10-10 12:09:36 +11:00
bors-servo
e3624e62a4
Auto merge of #18747 - jdm:serializing-childrenonly, r=jdm
...
Serializing childrenonly
Rebased from #17896 .
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14975 (github issue number if applicable).
- [x] There are tests for these changes
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18747 )
<!-- Reviewable:end -->
2017-10-09 11:12:53 -05:00
bors-servo
712d32e899
Auto merge of #18758 - stuartnelson3:stn/dynamic-body-bgcolor, r=emilio
...
Add support for dynamic bgcolor change
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18758 )
<!-- Reviewable:end -->
2017-10-08 07:47:50 -05:00
Stuart Nelson
c886e3ee75
Update manifest and move files
2017-10-08 11:29:49 +02:00
Jyotsna Prakash
6c0f87a1d6
ChildrenOnly -> ChildrenOnly(Option<QualName>)
...
use this updated type from html5ever
2017-10-07 08:05:11 -04:00
Stuart Nelson
aff8b0a4e9
add help link and regen manifest
2017-10-07 11:34:00 +02:00
bors-servo
0444d76c6b
Auto merge of #18742 - servo:media-metadata, r=jdm
...
Some low-key media improvements
This just makes our code fail more gracefully.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18742 )
<!-- Reviewable:end -->
2017-10-05 15:41:22 -05:00
Stuart Nelson
1977352bff
Simplify and move ref test
2017-10-05 20:51:03 +02:00
Josh Matthews
3347094373
Update WPT results.
2017-10-05 09:23:30 +02:00
Josh Matthews
578498ba24
Update web-platform-tests to revision a46616a5b18e83587ddbbed756c7b96cbb4b015d
2017-10-05 00:42:13 +02:00
Anthony Ramine
eb0c1a53ad
Implement MediaError::Message
...
The spec says that it's ok to put an empty string in it if we don't have more
informations.
2017-10-04 11:41:41 +02:00
Anthony Ramine
b8c55e7da6
Set have_metadata for audio elements too
...
We don't store video-specific metadata anymore, and we don't ignore audio-specific
metadata anymore. We now just acknowledge that we received some metadata.
2017-10-04 11:28:47 +02:00
bors-servo
81044e0019
Auto merge of #18612 - servo:event-listener-options, r=asajeffrey
...
Implement EventListenerOptions for EventTarget
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18612 )
<!-- Reviewable:end -->
2017-09-29 19:13:36 -05:00
Guillaume Gomez
3d0b7fbc41
Implement EventListenerOptions for EventTarget
...
For now, only "capture" is supported.
2017-09-30 02:12:35 +02:00
Anthony Ramine
b47331812a
Properly fail in video_008.html
2017-09-29 19:16:37 +02:00
Anthony Ramine
622533ef48
Properly fail in readyState_during_playing.html
2017-09-29 19:10:08 +02:00
Anthony Ramine
d7d18fc239
Properly fail in readyState_during_loadedmetadata.html
2017-09-29 19:08:19 +02:00
Anthony Ramine
ce8fc063db
Properly fail in readyState_during_loadeddata.html
2017-09-29 19:03:57 +02:00
Anthony Ramine
9856580e25
Properly fail in readyState_during_canplaythrough.html
2017-09-29 19:01:30 +02:00
Anthony Ramine
4ca5a05eed
Properly fail in readyState_during_canplay.html
2017-09-29 18:59:37 +02:00
Anthony Ramine
d0020888a2
Properly fail in autoplay.html
2017-09-29 18:57:01 +02:00
Anthony Ramine
71e987951f
Properly fail in paused_false_during_play.html
2017-09-29 18:53:34 +02:00
Anthony Ramine
6aa9d80a00
Properly fail in load-events-networkState.html
2017-09-29 18:53:32 +02:00
Anthony Ramine
b6e3faa317
Properly fail in autoplay-overrides-preload.html
2017-09-29 18:53:30 +02:00
Anthony Ramine
fb9d3bf350
Properly fail on error event in event_timeupdate_noautoplay.html
...
The tests still time out when the browser doesn't fire a timeupdate event
at all.
2017-09-29 18:53:27 +02:00
Anthony Ramine
c93b3d1639
Properly fail in event_progress_noautoplay.html
2017-09-29 18:53:21 +02:00
Anthony Ramine
97adf791cd
Properly fail in event_playing.html
2017-09-29 18:53:13 +02:00
Anthony Ramine
edd3824519
Properly fail in event_play.html
2017-09-29 18:53:10 +02:00
Anthony Ramine
4b2c4aead4
Properly fail in event_pause.html
2017-09-29 18:53:06 +02:00
Anthony Ramine
7b7f66f210
Properly fail in event_order_loadedmetadata_loadeddata.html
2017-09-29 17:58:16 +02:00
Anthony Ramine
60b5b77ccb
Properly fail in event_order_canplay_playing.html
2017-09-29 17:55:31 +02:00
Anthony Ramine
026130094d
Properly fail in event_order_canplay_canplaythrough.html
2017-09-29 17:12:29 +02:00
Anthony Ramine
59c56de103
Properly fail in event_loadedmetadata.html
2017-09-29 17:05:40 +02:00
Anthony Ramine
9f71ac9155
Properly use test() in networkState_during_progress.html
2017-09-29 16:58:44 +02:00
Anthony Ramine
2b64c3e6c0
Properly use test() in event_order_loadstart_progress.html
2017-09-29 16:55:11 +02:00
Anthony Ramine
7bab9caafd
Properly use test() in event_progress.html
2017-09-29 16:51:55 +02:00
Anthony Ramine
37f5f52049
Properly fail in event_loadedmetadata_noautoplay.html
2017-09-29 15:37:10 +02:00
Anthony Ramine
7e06d2a1be
Properly fail in event_loadeddata_noautoplay.html
2017-09-29 15:37:01 +02:00
Anthony Ramine
3185a7917e
Fix some shortcomings in event_loadeddata.html
...
Variable 'v' was undefined in second test, and both tests were missing an onerror event handler.
2017-09-29 15:36:57 +02:00
Anthony Ramine
c0040b27fd
Properly fail in event_canplaythrough_noautoplay.html
2017-09-29 15:30:04 +02:00
Anthony Ramine
8a3afe35fe
Properly fail in event_canplaythrough.html
2017-09-29 15:29:02 +02:00
Anthony Ramine
4923045353
Properly fail in event_canplay_noautoplay.html
2017-09-29 15:28:03 +02:00
Anthony Ramine
bf3d6948c1
Properly fail in event_canplay.html
2017-09-29 15:27:12 +02:00
Anthony Ramine
0e56b79e78
Properly fail in /html/semantics/embedded-content/media-elements/error-codes/error.html
2017-09-29 14:25:13 +02:00