Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / font-update-expected.html
blob831ad8279af9d2d78cf4e87adfe71f7e7a5f081d
1 <style>
2 @font-face {
3 font-family: no-such-font;
4 src: url(no-such-file.ttf);
6 </style>
7 <canvas id="target"></canvas>
8 <script>
9 canvas = document.getElementById("target");
10 ctx = canvas.getContext('2d');
11 ctx.font = "100px no-such-font, ahem";
12 ctx.fillStyle = "red";
13 ctx.fillText("B", 0, 100);
14 ctx.fillStyle = "green";
15 ctx.fillText("A", 0, 100);
16 </script>