blob: a4f174c1a747aac09177f9719158b1058aa9332d [file] [log] [blame]
<!DOCTYPE html>
<style>
#a {
/* Each of the four <position> contexts generates a warning. */
object-position: center left 1px;
perspective-origin: center top 2px;
background-image: conic-gradient(at right 3% center, black, red);
clip-path: circle(at left 4px top);
}
#b {
/* These <position> contexts have already been counted.
No additional warnings are generated.*/
object-position: right top 5px;
perspective-origin: bottom 6% center;
background-image: conic-gradient(at bottom 7% left, black, red);
clip-path: circle(at bottom right 8%);
}
#c {
/* Valid <bg-position>, so no warning generated. */
background-position: center left 1px;
}
</style>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
}
</script>