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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/block/scrollbar-wider-than-border-box.html

Issue 2716583002: Avoid negative content box sizes. (Closed)
Patch Set: code review Created 3 years, 10 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 <div style="position:relative;">
3 <div style="overflow:scroll; width:1px;">
4 <div id="inner" style="float:right; width:20px; height:100px;"></div>
5 </div>
6 </div>
7 <script src="../../resources/testharness.js"></script>
8 <script src="../../resources/testharnessreport.js"></script>
9 <script>
10 test(() => {
11 assert_equals(inner.offsetLeft, -20);
12 }, "Right-aligned float in zero-width block");
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698