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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/whitespace/nowrap-previous-trailing-space.html

Issue 1838723002: Stop tracking trailing-space when we leave it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/whitespace/nowrap-previous-trailing-space-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #container {
4 width: 40px;
5 border: 1px solid;
6 }
7 .text {
8 white-space: nowrap;
9 }
10 </style>
11 <p>crbug.com/597193: Trailing space occurring before a no-wrap span should not f ool it into thinking it can break. There should be three separate lines with the word 'Text' below.</p>
12 <p id="container">Text <span id="s1" class="text"></span> Text</p>
13 <script>
14 var s1 = document.getElementById('s1');
15 s1.appendChild(document.createTextNode("T"));
16 s1.appendChild(document.createTextNode("e"));
17 s1.appendChild(document.createTextNode("x"));
18 s1.appendChild(document.createTextNode("t"));
19 if (window.testRunner)
20 testRunner.dumpAsText();
21 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/text/whitespace/nowrap-previous-trailing-space-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698