Update web-platform-tests to revision cf261625e2d230ab219eec966f4abe26e3401b64

This commit is contained in:
WPT Sync Bot 2018-05-29 21:17:45 -04:00
parent 11a89bcc47
commit 8f98acd0e7
297 changed files with 3396 additions and 1555 deletions

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html class="reftest-wait">
<title>transform-box: view-box, viewport mutated</title>
<link rel="match" href="support/greensquare200x200.html">
<link rel="help" href="https://drafts.csswg.org/css-transforms/#transform-box">
<style>
#target {
transform-box: view-box;
transform: translate(-50%, 0);
}
</style>
<p>There should be a green 200x200 rectangle below, and no red.</p>
<svg width="400" height="200">
<rect width="200" height="200" fill="red"/>
<rect id="target" x="100" width="200" height="200" fill="green"/>
</svg>
<script>
requestAnimationFrame(function() {
requestAnimationFrame(function() {
document.querySelector('svg').setAttribute('width', 200);
document.documentElement.classList.remove('reftest-wait');
});
});
</script>