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/tall--contain--omitted-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
tall- -contain- -omitted-width-percent-height.html
-->
<title>CSS Backgrounds and Borders Test: background-size: contain; for omitted-width-percent-height.svg</title>
<link rel="match" href="reference/ref-tall-lime256x384-aqua256x384.html">
<meta name="flags" content="svg">
<style type="text/css">
div
{
background-image: url("support/omitted-width-percent-height.svg");
background-repeat: no-repeat;
background-size: contain;
border: black solid 1px;
height: 768px;
width: 256px;
}
</style>
</head>
<body>
<div></div>
</body>
</html>