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

Side by Side Diff: LayoutTests/fast/text/whitespace/pre-block-normal-inline-crash-1.html

Issue 11820059: Merge 138654 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 7 years, 11 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 <style> 1 <style>
2 body { 2 body {
3 margin-right: 100%; 3 margin-right: 100%;
4 } 4 }
5 .normal { 5 .normal {
6 padding-left: 1px; 6 padding-left: 1px;
7 white-space: normal; 7 white-space: normal;
8 word-wrap: break-word; 8 word-wrap: break-word;
9 } 9 }
10 .pre { 10 .pre {
11 white-space: pre; 11 white-space: pre;
12 } 12 }
13 </style> 13 </style>
14 <div class="pre"><span class="normal"> 14 <div class="pre"><span class="normal">
15 This test passes if it does not CRASH.</span></div> 15 This test passes if it does not CRASH.</span></div>
16 <script> 16 <script>
17 // Tests a case where an inline element that sets white-space:normal nested 17 // Tests a case where an inline element that sets white-space:normal nested
18 // in a block that sets white-space:pre works correctly when there is a 18 // in a block that sets white-space:pre works correctly when there is a
19 // line break at the start of the inline element. 19 // line break at the start of the inline element.
20 if (window.testRunner) 20 if (window.testRunner)
21 testRunner.dumpAsText(); 21 testRunner.dumpAsText();
22 </script> 22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698