5 window
.testRunner
.waitUntilDone();
6 function addIsolation() {
7 var isolator
= document
.getElementById('isolator');
8 isolator
.setAttribute('clip-path', 'url(#Clipper)');
10 window
.testRunner
.notifyDone();
12 window
.addEventListener('load', function () {
13 window
.setTimeout(addIsolation
, 10);
17 <p>The test passes if you see a green square.
</p>
18 <svg xmlns=
"http://www.w3.org/2000/svg" version=
"1.1" width=
"400px" height=
"60px">
20 <clipPath id=
"Clipper">
21 <text x=
"0" y=
"45" font-size=
"60" font-weight=
"bold">Clipping text!
</text>
25 <rect x=
"0" y=
"0" width=
"400" height=
"60" style=
"fill: green; mix-blend-mode: difference;"/>