Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: third_party/WebKit/LayoutTests/svg/as-image/synthesized-viewbox-par-width-percent.html

Issue 2290173005: Synthesize preserveAspectRatio='none' for non-viewBoxed <img> (Closed)
Patch Set: New baselines Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Synthesized viewBox/preserveAspectRatio for &lt;img>, no intrinsic width< /title>
3 <div id="testContainer"></div>
4 <script src="../as-object/sizing/svg-in-object.js"></script>
5 <script src="resources/synthesized-viewbox-par-helper.js"></script>
6 <script>
7 'use strict';
8
9 doCombinationTest(
10 [[ "svgWidthAttr", [ "100%" ]],
11 [ "svgHeightAttr", [ "200px", "100%" ]],
12 [ "placeholderWidthAttr", [ "100px", "auto" ]],
13 [ "placeholderHeightAttr", [ "100px", "auto" ]]],
14 function(config) {
15 document.body.appendChild(makeImage(config));
16 });
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698