chromium/third_party/blink/web_tests/printing/page-and-element-geometry-match.html

<!DOCTYPE html>
<script src="resources/paged-media-test-utils.js"></script>
<style>
    body,html{margin:0};
    div{background:red};
    div{height:50pt;width:100pt};
    @page{margin:0; size: 100pt 50pt};
</style>
<div></div>
<script>

    if (window.testRunner)
        testRunner.dumpAsText();

    function test()
    {
        numberOfPagesShouldBe(1);
    }

    runPrintingTest(test);
</script>