Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<head>
<title>Density corrected size: pseudo-elements</title>
<link rel="author" title="Noam Rosenthal" href="noam@webkit.org">
<link rel="match" href="density-corrected-size-pseudo-elements-ref.html" />
<meta name="assert" content="Assert that images with EXIF density-corrected-size are rendered correctly when in a pseudo element">
</head>
<body>
<style>
body {
--lores: url(resources/exif-resolution-valid-lores.jpg);
--default: url(resources/exif-resolution-none.jpg);
}
.lores-after::after {content: var(--lores); }
.default-after::after {content: var(--default); }
</style>
<div class="lores-after box"></div>
<div class="default-after box"></div>
</body>
</html>