Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/background-size/vector/wide--contain--nonpercent-width-percent-height.html - WPT Dashboard Interop Dashboard
<!--
Any copyright is dedicated to the Public Domain.
-->
<!DOCTYPE html>
<html>
<head>
<!--
The original and initial filename of this test was
wide- -contain- -nonpercent-width-percent-height.html
-->
<title>CSS Backgrounds and Borders Test: background-size: contain; for nonpercent-width-percent-height.svg</title>
<link rel="match" href="reference/ref-wide-lime768x128-aqua768x128.html">
<meta name="flags" content="svg">
<style type="text/css">
div
{
background-image: url("support/nonpercent-width-percent-height.svg");
background-repeat: no-repeat;
background-size: contain;
border: black solid 1px;
height: 256px;
width: 768px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>