layout/reftests/text-svgglyphs/svg-glyph-extents.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/text-svgglyphs/svg-glyph-extents.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,46 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<meta charset="utf-8">
     1.7 +<head>
     1.8 +<style type="text/css">
     1.9 +@font-face {
    1.10 +  font-family: foo;
    1.11 +  src: url(resources/svg-glyph-extents.otf);
    1.12 +}
    1.13 +body {
    1.14 +  font-family: foo;
    1.15 +  font-size: 10px;
    1.16 +}
    1.17 +@keyframes test {
    1.18 +  from {
    1.19 +    font-size: 100px;
    1.20 +  }
    1.21 +  to {
    1.22 +    font-size: 10px;
    1.23 +  }
    1.24 +}
    1.25 +div {
    1.26 +  display: inline-block;
    1.27 +  height: 100px;
    1.28 +  width: 100px;
    1.29 +  animation-duration: 3s;
    1.30 +  animation-name: test;
    1.31 +}
    1.32 +</style>
    1.33 +<script type="text/javascript">
    1.34 +function setup() {
    1.35 +  var e = document.getElementById("watchme");
    1.36 +  e.addEventListener("animationend", listener, false);
    1.37 +}
    1.38 +function listener() {
    1.39 +  document.documentElement.className = "";
    1.40 +}
    1.41 +</script>
    1.42 +</head>
    1.43 +<body onload="setup()">
    1.44 +<div>A</div>
    1.45 +<div id="watchme">B</div>
    1.46 +<div>C</div>
    1.47 +<div>D</div>
    1.48 +</body>
    1.49 +</html>

mercurial