blob: 5a6f6aac5bf4f331e0e35e4a1d723ab242c79be3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script src="../resources/run-after-layout-and-paint.js"></script>
<style>
h1 {
overflow: hidden;
width: 792px;
height: 160px;
}
h1:before {
content: url("resources/red-at-12-oclock-with-color-profile.jpg");
display: inline-block;
margin: 0px -20px;
}
</style>
</body>
<!-- The blue sector of the content image should be at 12 o'clock. -->
<h1>
pseudo-content image replacement
</h1>
</body>
<script>
window.onload = function() {
if (window.testRunner)
runAfterLayoutAndPaint(function() { testRunner.notifyDone() });
};
if (window.testRunner) {
testRunner.dumpAsTextWithPixelResults();
testRunner.waitUntilDone();
}
</script>
</html>