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

Side by Side Diff: LayoutTests/fast/inline/empty-inline-before-collapsed-space.html

Issue 300853007: Empty inline elements always get a line box. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <style>
3 #container {
4 font: 20px/1 Ahem;
5 border: solid orange;
6 }
7 </style>
8 <script src="../../resources/check-layout.js"></script>
9 <p>An empty inline should still get a linebox even when it precedes a space at w hich we start collapsing whitespace.</p>
10 <div id="container" style="width: 100px" data-expected-client-height=50>
11 X <span style="font-size: 50px;"></span> X
12 </div>
13 <div id="container" style="width: 100px" data-expected-client-height=50>
14 X<span style="font-size: 50px;"></span> X
15 </div>
16 <div id="container" style="width: 100px" data-expected-client-height=50>
17 X <span style="font-size: 50px;"></span>X
18 </div>
19 <div id="container" style="width: 100px" data-expected-client-height=50>
20 X <span style="font-size: 50px;"></span> X
21 </div>
22 <div id="container" style="width: 100px" data-expected-client-height=50>
23 X<span style="font-size: 50px;"></span>X
24 </div>
25 <div id="container" style="width: 100px" data-expected-client-height=50>
26 X<span style="font-size: 50px;"></span> X
27 </div>
28 <script>
29 checkLayout('#container');
30 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698