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
ttwf-css3background-border-color-shorthand-missing-left.htm
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Backgrounds and Borders Test: border_color_shorthand_missing_left</title>
    <link rel="author" title="disound" href="mailto:disound@gmail.com" />
    <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-color" />
    <meta name="flags" content="image" />
    <meta name="assert" content="'Border-color' is a shorthand for the four 'border-*-color' properties. The four values set the top, right, bottom and left border, respectively. A missing left is the same as right, a missing bottom is the same as top, and a missing right is also the same as top." />
    <style>
        #ref {
            background-color: white;
            height: 160px;
            width: 160px;
        }
        #test {
            border: black solid 5px;
            border-color: yellow black blue;
            bottom: 160px;
            height: 100px;
            padding: 25px;
            position: relative;
            width: 100px;
        }
    </style>
  </head>
  <body>
    <p>Test passes if there is a white square, <strong>left border is black</strong>, bottom border is blue, right border is black, top border is yellow.</p>
    <div id="ref"></div>
    <div id="test"></div>
  </body>
</html>
back to top