gecko-dev/testing/web-platform/tests/css/css-content/element-replacement-image-alt.html
Emilio Cobos Álvarez 21171604ac Bug 1625805 - Don't look at image state for content: url() images. r=dholbert
(Even if they belong to an <img> element).

Differential Revision: https://phabricator.services.mozilla.com/D68738

--HG--
extra : moz-landing-system : lando
2020-04-01 19:30:12 +00:00

12 lines
479 B
HTML

<!DOCTYPE html>
<title>Content CSS property on img with alt and no src is honored</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="match" href="element-replacement-ref.html" />
<link rel="help" href="https://drafts.csswg.org/css-content-3/#content-property">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1625805">
<style>
img {
content: url('resources/rect.svg');
}
</style>
<img alt="Something">