https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 76830ce46b3c14e3a9e5d1a7d2b391b335953cd6 authored by Rune Lillesveen on 22 March 2018, 01:57:52 UTC
[css-typed-om] Add support for column-span.
Tip revision: 76830ce
copy-event-manual.html
<!DOCTYPE html>
<title>The copy event</title>
<link rel="help" href="https://w3c.github.io/clipboard-apis/#clipboard-event-copy">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<p>Select and copy any part of this text to continue.
<script>
setup({explicit_timeout: true});
async_test(t => {
  document.oncopy = t.step_func_done(event => {
    // Nothing can be asserted about the event target until
    // https://github.com/w3c/clipboard-apis/issues/70 is resolved.
    // assert_equals(event.target, document.body, "event.target");
    assert_true(event.isTrusted, "event.isTrusted");
    assert_true(event.composed, "event.composed");
  });
});
</script>
back to top