testing/web-platform/tests/css/css-masking/clip/clip-no-clipping-001.html
author Tim Huang <tihuang@mozilla.com>
Wed, 16 Jul 2025 17:26:02 +0000 (7 hours ago)
changeset 796860 b48b65b15c8e8520f1eedcbd3aa29b2669fc3d20
parent 392912 9415bff8166863f344256c7a3dd14aa5e038e82b
permissions -rw-r--r--
Bug 1976834 - Add the SafeBrowsing V5 protobuf files. r=dimi Differential Revision: https://phabricator.services.mozilla.com/D257225
<!DOCTYPE html>
<html>
<head>
    <title>CSS Masking: Test clip property does not clip on 'auto'</title>
    <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
    <link rel="help" href="http://www.w3.org/TR/css-masking-1/#clipping-paths">
    <link rel="help" href="http://www.w3.org/TR/css-masking-1/#clip-property">
    <link rel="match" href="reference/clip-no-clipping-ref.html">
    <meta name="assert" content="The clip property should on 'auto'. On pass
    you should see a green box with a blue border.">
</head>
<body>
    <p>The test passes if there is a green square with a blue border.</p>
    <div style="width: 100px; height: 100px; border: solid blue 50px; background-color: green; position: absolute; clip: auto"></div>
</body>
</html>