Status: FAIL | Duration: 15ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-backgrounds/background-origin/origin-border-box_with_size.html
<!doctype html> <html> <head> <title>CSS Backgrounds Test: background-origin:border-box & background-size</title> <link rel="author" title="finscn" href="mailto:finscn@gmail.com" > <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-origin" > <meta name="flags" content=""> <link rel="match" href="../reference/origin-border-box_with_size-ref.html"> <meta charset="utf-8"> <style type="text/css"> div { border : 16px solid rgba(60,150,255,0.4); width : 450px; height : 224px; padding : 16px; margin-top : 8px; background-image : url("support/yellow-orange-blue-160x160.png"); background-origin : border-box; background-size : 50%; } .no-repeat { background-repeat : no-repeat; } .repeat { background-repeat : repeat; } </style> </head> <body> <div class="no-repeat"></div> <div class="repeat"></div> </body> </html>
/css/css-backgrounds/reference/origin-border-box_with_size-ref.html
<!DOCTYPE html> <meta charset="UTF-8"> <title>CSS Reftest reference</title> <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <style> body { height: 568px; overflow-y: hidden; width: 584px; } div { display: inline-block; vertical-align: bottom; } div.image { height: 288px; width: 514px; } div#multiple { background-image: url('../background-origin/support/yellow-orange-blue-160x160.png'); background-size: 257px auto; bottom: 288px; margin-top: 8px; position: relative; } div.light-blue-border { border: 16px solid rgba(60, 150, 255, 0.4); bottom: 288px; height: 256px; width: 482px; position: relative; } </style> <div class="image"><img src="../background-origin/support/yellow-orange-blue-160x160.png" width="257" alt="Image download support must be enabled"></div><div class="light-blue-border"></div> <div class="image" id="multiple"></div><div class="light-blue-border" style="bottom: 576px;"></div>