Update web-platform-tests to revision dc60bfc45b49e3a5e653320e65b0fd447676b836

This commit is contained in:
WPT Sync Bot 2018-06-04 21:06:39 -04:00
parent 652a177ff5
commit 0bc549be55
690 changed files with 6588 additions and 1564 deletions

View file

@ -53,10 +53,15 @@ registerPaint('geometry', class {
</script>
<script>
CSS.registerProperty({name: '--length', syntax: '<length>', initialValue: '0px'});
CSS.registerProperty({name: '--length-initial', syntax: '<length>', initialValue: '20px'});
CSS.registerProperty({name: '--number', syntax: '<number>', initialValue: '0'});
importWorkletAndTerminateTestAfterAsyncPaint(CSS.paintWorklet, document.getElementById('code').textContent);
try {
CSS.registerProperty({name: '--length', syntax: '<length>', initialValue: '0px'});
CSS.registerProperty({name: '--length-initial', syntax: '<length>', initialValue: '20px'});
CSS.registerProperty({name: '--number', syntax: '<number>', initialValue: '0'});
importWorkletAndTerminateTestAfterAsyncPaint(CSS.paintWorklet, document.getElementById('code').textContent);
} catch(e) {
document.body.textContent = e;
takeScreenshot();
}
</script>
</body>
</html>