vg {
            height: 300px;
            width: 300px;
        }
        rect.testRect {
            transform: scale(invalid);
        }
    </style>
</head>
<body>
    <p>The test passes if there is a vertical green stripe to the left of a yellow vertical stripe. You should see no red.</p>
    <svg>
        <!-- Fill with Gradient to avoid false positive. -->
        <defs>
            <linearGradient id="grad" x2="0%" y2="100%">
                <stop offset="50%" stop-color="yellow"/>
                