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

Side by Side Diff: LayoutTests/fast/css/box-sizing-backwards-compat-prefix.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 <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 <p id="description"></p> 7 <p id="description"></p>
8 <div id="test-prefixed-sizing" style="-webkit-box-sizing: border-box;"></div> 8 <div id="test-prefixed-sizing" style="-webkit-box-sizing: border-box;"></div>
9 <div id="test-prefixless-sizing" style="box-sizing: border-box;"></div> 9 <div id="test-prefixless-sizing" style="box-sizing: border-box;"></div>
10 <div id="console"></div> 10 <div id="console"></div>
11 <script> 11 <script>
12 description("Testing whether box-sizing works with and withou the -webkit-prefix (bug 36713)."); 12 description("Testing whether box-sizing works with and withou the -webkit-prefix (bug 36713).");
13 13
14 var prefixStyle = document.getElementById('test-prefixed-sizing').style; 14 var prefixStyle = document.getElementById('test-prefixed-sizing').style;
15 shouldBeEqualToString("prefixStyle.getPropertyValue('box-sizing')", "border-box" ); 15 shouldBeEqualToString("prefixStyle.getPropertyValue('box-sizing')", "border-box" );
16 shouldBeEqualToString("prefixStyle.getPropertyValue('-webkit-box-sizing')", "bor der-box"); 16 shouldBeEqualToString("prefixStyle.getPropertyValue('-webkit-box-sizing')", "bor der-box");
17 shouldBeEqualToString("prefixStyle.boxSizing", "border-box"); 17 shouldBeEqualToString("prefixStyle.boxSizing", "border-box");
18 shouldBeEqualToString("prefixStyle.WebkitBoxSizing", "border-box"); 18 shouldBeEqualToString("prefixStyle.WebkitBoxSizing", "border-box");
19 shouldBeEqualToString("prefixStyle.webkitBoxSizing", "border-box"); 19 shouldBeEqualToString("prefixStyle.webkitBoxSizing", "border-box");
20 20
21 var prefixLessStyle = document.getElementById('test-prefixless-sizing').style; 21 var prefixLessStyle = document.getElementById('test-prefixless-sizing').style;
22 shouldBeEqualToString("prefixLessStyle.getPropertyValue('box-sizing')", "border- box"); 22 shouldBeEqualToString("prefixLessStyle.getPropertyValue('box-sizing')", "border- box");
23 shouldBeEqualToString("prefixLessStyle.getPropertyValue('-webkit-box-sizing')", "border-box"); 23 shouldBeEqualToString("prefixLessStyle.getPropertyValue('-webkit-box-sizing')", "border-box");
24 shouldBeEqualToString("prefixLessStyle.boxSizing", "border-box"); 24 shouldBeEqualToString("prefixLessStyle.boxSizing", "border-box");
25 shouldBeEqualToString("prefixLessStyle.WebkitBoxSizing", "border-box"); 25 shouldBeEqualToString("prefixLessStyle.WebkitBoxSizing", "border-box");
26 shouldBeEqualToString("prefixLessStyle.webkitBoxSizing", "border-box"); 26 shouldBeEqualToString("prefixLessStyle.webkitBoxSizing", "border-box");
27 </script> 27 </script>
28 <script src="../js/resources/js-test-post.js"></script>
29 </body> 28 </body>
30 </html> 29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/border-width-large.html ('k') | LayoutTests/fast/css/cloneNode-after-deleteRule-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698