wpt / css / css-backgrounds / border-image-outset-004.html

Status: FAIL | Duration: 13ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-backgrounds/border-image-outset-004.html

<!doctype html>
<title>border-image w/ non-zero outsets</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-images">
<link rel="help" href="https://issues.chromium.org/378404999">
<link rel="match" href="reference/ref-filled-green-100px-square.xht">
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-1500">
<style>
  #target {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 80px;
    height: 80px;
    background: conic-gradient(rgba(255, 0, 0, 0.5) 0 0), conic-gradient(red 0 0);
    border-image: conic-gradient(green 0 0) 1 fill / 10px / 10px;
  }
  #back {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: red;
  }
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="back">
  <img id="target" src="support/green_color.png">
</div>

/css/css-backgrounds/reference/ref-filled-green-100px-square.xht

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Reftest Reference</title>
  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
  <style type="text/css"><![CDATA[
  div
  {
  background-color: green;
  height: 100px;
  width: 100px;
  }
  ]]></style>
 </head>
 <body>
  <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
  <div></div>
 </body>
</html>