The Can I use... test suite

About

This is a basic test suite of various web technologies for the When Can I Use website.

It is used to quickly test basic support for features in upcoming browsers, rather than any full support of the feature's specification.

Results on this page generally match the results as they appear on the When Can I Use site, but may not always due to a variety of circumstances (test may pass but support is actually buggy, not tested well enough, has alternative method, etc).

Four different types of tests are used:

Auto
Automated JS-based tests. (m) means Modernizr is used.
Visual
Requires visual confirmation/comparison to confirm
Visual-square
Test must create a 30x30px green (lime) square
Interactive
Requires interaction to confirm support

If you are interested in contributing tests, follow these instructions.

Show all features

Feature Unprefixed tests Prefixed tests

Synchronous Clipboard API

[Feat] [Tests]

Auto

Check for "onpaste" in document

Auto

Test for ClipboardEvent in window

Auto

ClipboardEvent constructor

Interact

Pasting text should turn background lime

Test if document.onpaste is triggered and has clipboardData

Interact

Pasting text should turn background lime (IE)

Test if window.onpaste is triggered and window.clipboardData has data (IE proprietary)

Interact

select this

Paste here:

copy button should copy to clipboard

Interact

Copy this text

Copying text should turn background lime

Test if document.oncopy is triggered and has clipboardData

Interact

paste button should fire paste event

User agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)