Commit 2ede9326 authored by Fredrik Söderquist's avatar Fredrik Söderquist Committed by Commit Bot

Add one more test for viewport units in SVG-in-<img> context

This one using inline style instead of presentation attributes.

Bug: 650147
Change-Id: I00ee6c52b95803a928dd0b95a33da89f531a05ac
Reviewed-on: https://chromium-review.googlesource.com/c/1344102Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#609772}
parent 6bdbb2da
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:h="http://www.w3.org/1999/xhtml">
<metadata>
<title>&lt;image&gt; embedding SVG image with viewport units</title>
<h:link rel="match" href="support/green-rect-100x100.svg"/>
</metadata>
<image xlink:href="data:image/svg+xml,&lt;svg xmlns='http://www.w3.org/2000/svg'&gt;&lt;rect style='width: 50vw; height: 50vh' fill='green'/&gt;&lt;/svg&gt;"
width="200" height="200"/>
</svg>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment