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

Side by Side Diff: LayoutTests/css3/filters/custom/custom-filter-crash-inline-computed-style.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css"> 4 <link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
5 <script src="../../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../../fast/js/resources/js-test-pre.js"></script>
6 <script> 6 <script>
7 if (window.testRunner) { 7 if (window.testRunner) {
8 testRunner.overridePreference("WebKitCSSCustomFilterEnabled", "1"); 8 testRunner.overridePreference("WebKitCSSCustomFilterEnabled", "1");
9 testRunner.overridePreference("WebKitWebGLEnabled", "1"); 9 testRunner.overridePreference("WebKitWebGLEnabled", "1");
10 } 10 }
(...skipping 14 matching lines...) Expand all
25 (1) The element has a custom filter containing a transform parameter .<br/>\ 25 (1) The element has a custom filter containing a transform parameter .<br/>\
26 (2) The element does not have a CSS box. For example, the element is display: inline."); 26 (2) The element does not have a CSS box. For example, the element is display: inline.");
27 27
28 var element = document.getElementById("filter-target"); 28 var element = document.getElementById("filter-target");
29 shouldBeNonNull("element"); 29 shouldBeNonNull("element");
30 30
31 var filterPropertyCSSValue = getComputedStyle(element).getPropertyCSSVal ue("-webkit-filter"); 31 var filterPropertyCSSValue = getComputedStyle(element).getPropertyCSSVal ue("-webkit-filter");
32 testPassed("Computing the filter style for the element did not crash the browser."); 32 testPassed("Computing the filter style for the element did not crash the browser.");
33 shouldBeNonNull("filterPropertyCSSValue"); 33 shouldBeNonNull("filterPropertyCSSValue");
34 </script> 34 </script>
35 <script src="../../../fast/js/resources/js-test-post.js"></script>
36 </body> 35 </body>
37 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698