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

Side by Side Diff: LayoutTests/fast/css/legacy-opacity-styles.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 PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="test-opacity" style="opacity: 0.2;"></div> 7 <div id="test-opacity" style="opacity: 0.2;"></div>
8 <div id="test-webkit-opacity" style="-webkit-opacity: 0.8;"></div> 8 <div id="test-webkit-opacity" style="-webkit-opacity: 0.8;"></div>
9 <p id="description"></p> 9 <p id="description"></p>
10 <div id="console"></div> 10 <div id="console"></div>
11 <script> 11 <script>
12 description("This test checks that the legacy -webkit-opacity style is mapped to the opacity style."); 12 description("This test checks that the legacy -webkit-opacity style is mapped to the opacity style.");
13 13
14 shouldBe("document.getElementById('test-opacity').style.getPropertyValue('opacit y')", "'0.2'"); 14 shouldBe("document.getElementById('test-opacity').style.getPropertyValue('opacit y')", "'0.2'");
15 shouldBe("document.getElementById('test-opacity').style.getPropertyValue('-webki t-opacity')", "'0.2'"); 15 shouldBe("document.getElementById('test-opacity').style.getPropertyValue('-webki t-opacity')", "'0.2'");
16 16
17 shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue( 'opacity')", "'0.8'"); 17 shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue( 'opacity')", "'0.8'");
18 shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue( '-webkit-opacity')", "'0.8'"); 18 shouldBe("document.getElementById('test-webkit-opacity').style.getPropertyValue( '-webkit-opacity')", "'0.8'");
19 </script> 19 </script>
20 <script src="../js/resources/js-test-post.js"></script>
21 </body> 20 </body>
22 </html> 21 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/last-child-innerhtml.html ('k') | LayoutTests/fast/css/link-disabled-attr.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698