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

Side by Side Diff: third_party/WebKit/LayoutTests/scrollbars/auto-scrollbar-zero-width-block.html

Issue 1980103002: Include auto vertical scrollbar in intrinsicScrollbarLogicalWidth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Restore list box height calculation, fix scrollbar width factor Created 4 years, 6 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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #floated-container {
4 float: left;
5 height: 100px;
6 overflow: auto;
7 }
8 #empty-block {
9 height: 200px;
10 }
11 </style>
12 <div>
13 <div id="floated-container">
14 <div id="empty-block"></div>
15 </div>
16 </div>
17 <script>
18 if (window.testRunner)
19 testRunner.dumpAsText();
20
21 var result = document.createElement("p");
22 document.body.appendChild(result);
23 var container = document.getElementById("floated-container");
24 if (container.clientWidth == 0)
25 result.innerHTML = "PASS: container.clientWidth is zero.";
26 else
27 result.innerHTML = "FAIL: container.clientWidth is not zero.";
28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698