4 <title>preserveAspectRatio test for background-image
</title>
7 background-color: #dd9;
8 font-family: sans-serif;
12 /* background-color: #EBF; */
13 border:
2px dashed maroon;
20 box-sizing: border-box;
31 preserve
­Aspect
­Ratio
47 <img src=
"../as-image/resources/circle-default-default.svg" />
50 <div style=
"background: url(../as-image/resources/circle-default-default.svg)"></div>
58 <img src=
"../as-image/resources/circle-default-none.svg" />
61 <div style=
"background: url(../as-image/resources/circle-default-none.svg)"></div>
69 <img src=
"../as-image/resources/circle-default-meet.svg" />
72 <div style=
"background: url(../as-image/resources/circle-default-meet.svg)"></div>
80 <img src=
"../as-image/resources/circle-default-slice.svg" />
83 <div style=
"background: url(../as-image/resources/circle-default-slice.svg)"></div>
93 <img src=
"../as-image/resources/circle-viewbox-default.svg" />
96 <div style=
"background: url(../as-image/resources/circle-viewbox-default.svg)"></div>
104 <img src=
"../as-image/resources/circle-viewbox-none.svg" />
107 <div style=
"background: url(../as-image/resources/circle-viewbox-none.svg)"></div>
115 <img src=
"../as-image/resources/circle-viewbox-meet.svg" />
118 <div style=
"background: url(../as-image/resources/circle-viewbox-meet.svg)"></div>
126 <img src=
"../as-image/resources/circle-viewbox-slice.svg" />
129 <div style=
"background: url(../as-image/resources/circle-viewbox-slice.svg)"></div>