Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: LayoutTests/css3/style-zoomed-image.html

Issue 3431018: Merge 68004 - 2010-09-21 Cosmin Truta <ctruta@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/css3/style-zoomed-image-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script> 4 <script>
5 if (window.layoutTestController) 5 if (window.layoutTestController)
6 layoutTestController.dumpAsText(); 6 layoutTestController.dumpAsText();
7 </script> 7 </script>
8 <style type="text/css"> 8 <style type="text/css">
9 div { zoom: 200%; width: 100px; height: 50px; } 9 div { zoom: 200%; width: 100px; height: 50px; }
10 </style> 10 </style>
11 </head> 11 </head>
12 <body> 12 <body>
13 <p> 13 <p>
14 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=46120">Bug https://bug s.webkit.org/show_bug.cgi?id=46120</a>. 14 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=46120">Bug https://bug s.webkit.org/show_bug.cgi?id=46120</a>.
15 </p> 15 </p>
16 <p> 16 <p>
17 This test checks that setting the style on a zoomed image does not lead to a nul l pointer exception. 17 This test checks that setting the style on a zoomed image does not lead to a nul l pointer exception.
18 The test passes if it does not cause a crash. 18 The test passes if it does not cause a crash.
19 </p> 19 </p>
20 <div id="inline"> 20 <div id="inline">
21 </div> 21 </div>
22 <script> 22 <script>
23 document.getElementById("inline").setAttribute("style", "content: url(data:i mage/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPAQMAAAABGAcJAAAAA1BMVEUAgACc+aWR AAAADElEQVR42mNgIAEAAAAtAAH7KhMqAAAAAElFTkSuQmCC);"); 23 document.getElementById("inline").setAttribute("style", "content: url(data:i mage/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPAQMAAAABGAcJAAAAA1BMVEUAgACc+aWR AAAADElEQVR42mNgIAEAAAAtAAH7KhMqAAAAAElFTkSuQmCC);");
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/css3/style-zoomed-image-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698