https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f18c12095bf8bfcb73c0ab563b5c6f80de8656ef authored by Yngve N. Pettersen on 04 April 2018, 12:48:36 UTC
Fixed CRLFs in source files to LFs
Tip revision: f18c120
border-image-slice-percentage.html
<!DOCTYPE html>
<html>
<head>
    <title>CSS Backgrounds and Borders Test: 'border-image-slice' set by percentage</title>
    <link rel="author" title="Ren Jing" href="mailto:reni2046@gmail.com">
    <link rel="help" href="http://www.w3.org/TR/css3-background/#border-images">
    <link rel="match" href="reference/border-image-slice-percentage-ref.html">
    <meta name="assert" content="diamonds in corners should be red, and other diamonds should be orange, it should be 4 orange diamonds on each side.">
    <style type="text/css">
        .container {
            border: double red 1em;
            border-image: url("support/border.png") 33.3% round;
            height:64px;
            width:64px;
        }
    </style>
</head>
<body>
    <p>The test passes if diamonds in corners are red, and other diamonds are orange, there are 4 orange diamonds on each side.</p>
    <div class="container"></div>
</body>
</html>
back to top