Commit 32743842 authored by Alison Maher's avatar Alison Maher Committed by Commit Bot

Backplate for SVG text

This change adds a test to ensure backplates are painted behind SVG
text elements.

Bug: 970285
Change-Id: I027027c348dba4d77398f8c7da3eac80f55af8c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1779094
Commit-Queue: Alison Maher <almaher@microsoft.com>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#693319}
parent 5a0c8326
<!doctype html>
<title>
Forced colors mode - backplate.
Tests backplate is drawn behind SVG text.
</title>
<style>
body {
background-image: url("../resources/test-image.jpg");
font-size: 10px;
}
</style>
<body>
<div>
<svg>
<text x="50" y="50" width="226" height="11" font-family="Ahem">
This text should have a backplate in <tspan>forced colors mode.</tspan>
</text>
</svg>
</div>
</body>
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