Revision d69705f5a534514e324ea8843417d4ced1b6a951 authored by Darren Shen on 14 March 2018, 04:38:38 UTC, committed by Blink WPT Bot on 14 March 2018, 04:47:19 UTC
This patch adds support for scroll-margin-* and adds relevant tests.

Spec: https://drafts.csswg.org/css-scroll-snap-1/#margin-longhands-physical

Bug: 820299
Change-Id: I46f8482c88c237de2a9d263b3a334ac9c03f4fca
Reviewed-on: https://chromium-review.googlesource.com/958755
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: Darren Shen <shend@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543004}
1 parent a0a4cfa
Raw File
disable-remote-playback-watch-availability-throws.html
<!DOCTYPE html>
<html>
<title>Test that calling watchAvailability() when disableRemotePlayback attribute is set throws an exception</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/media.js"></script>
<script>
promise_test(t => {
  var v = document.createElement('video');
  v.src = getVideoURI('movie_5');
  v.disableRemotePlayback = true;

  return promise_rejects(t, 'InvalidStateError',
                         v.remote.watchAvailability(function() {}));
}, 'Test that calling watchAvailability() when disableRemotePlayback attribute is set throws an exception.');
</script>
</html>
back to top