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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/syntax/serializing-html-fragments/initial-linefeed-pre.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <title>innerHTML getter for pre/textarea/listing with initial LF</title> 2 <title>innerHTML getter for pre/textarea/listing with initial LF</title>
3 <script src=../../../../../resources/testharness.js></script> 3 <script src=../../../../../resources/testharness.js></script>
4 <script src=../../../../../resources/testharnessreport.js></script> 4 <script src=../../../../../resources/testharnessreport.js></script>
5 <div id="outer"> 5 <div id="outer">
6 <div id="inner"> 6 <div id="inner">
7 <pre id="pre1"> 7 <pre id="pre1">
8 x</pre> 8 x</pre>
9 <pre id="pre2"> 9 <pre id="pre2">
10 10
(...skipping 28 matching lines...) Expand all
39 ['pre', 'textarea', 'listing'].forEach(function(tag) { 39 ['pre', 'textarea', 'listing'].forEach(function(tag) {
40 test(function() { 40 test(function() {
41 assert_equals(document.getElementById(tag + '1').innerHTML, expected_1); 41 assert_equals(document.getElementById(tag + '1').innerHTML, expected_1);
42 }, tag + '1'); 42 }, tag + '1');
43 43
44 test(function() { 44 test(function() {
45 assert_equals(document.getElementById(tag + '2').innerHTML, expected_2); 45 assert_equals(document.getElementById(tag + '2').innerHTML, expected_2);
46 }, tag + '2'); 46 }, tag + '2');
47 }); 47 });
48 </script> 48 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698