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

Side by Side Diff: LayoutTests/fast/box-sizing/table-cell.html

Issue 49063011: Delete js-test-style.css. js-test-pre.js injects the CSS it needs now. (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 <link rel="stylesheet" href="../js/resources/js-test-style.css">
3 2
4 <style> 3 <style>
5 .styledForTest { 4 .styledForTest {
6 -moz-box-sizing: border-box; 5 -moz-box-sizing: border-box;
7 box-sizing: border-box; 6 box-sizing: border-box;
8 background-color: orange; 7 background-color: orange;
9 color: white; 8 color: white;
10 border: 7px solid black; 9 border: 7px solid black;
11 padding: 5px; 10 padding: 5px;
12 width: 80px; 11 width: 80px;
(...skipping 20 matching lines...) Expand all
33 description('Tests that display: table-cell and box-sizing: border-box work when used together.'); 32 description('Tests that display: table-cell and box-sizing: border-box work when used together.');
34 33
35 ['div-display-table-cell', 'td'].forEach(function (id) { 34 ['div-display-table-cell', 'td'].forEach(function (id) {
36 debug(id); 35 debug(id);
37 element = document.querySelector('#' + id); 36 element = document.querySelector('#' + id);
38 shouldBe('element.offsetWidth', '80'); 37 shouldBe('element.offsetWidth', '80');
39 shouldBe('element.offsetHeight', '30'); 38 shouldBe('element.offsetHeight', '30');
40 }); 39 });
41 40
42 </script> 41 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698