Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / style-zoomed-image.html
blob664924e98a81812a3de31d1c7d122aaa9053eb17
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 </script>
8 <style type="text/css">
9 div { zoom: 200%; width: 100px; height: 50px; }
10 </style>
11 </head>
12 <body>
13 <p>
14 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=46120">Bug https://bugs.webkit.org/show_bug.cgi?id=46120</a>.
15 </p>
16 <p>
17 This test checks that setting the style on a zoomed image does not lead to a null pointer exception.
18 The test passes if it does not cause a crash.
19 </p>
20 <div id="inline">
21 </div>
22 <script>
23 document.getElementById("inline").setAttribute("style", "content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPAQMAAAABGAcJAAAAA1BMVEUAgACc+aWRAAAADElEQVR42mNgIAEAAAAtAAH7KhMqAAAAAElFTkSuQmCC);");
24 </script>
25 </body>
26 </html>