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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/client-rects-empty-element-boundary.html

Issue 2360913004: Support for multiple block fragments in getClientRects(). (Closed)
Patch Set: fast/overflow/overflow-height-float-not-removed-crash3.html crashed because saturated LayoutUnits caused zero height Created 4 years, 2 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 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <style>body { margin:0; }</style>
5 <div style="columns:4; column-gap:10px; column-fill:auto; width:430px; height:10 0px;">
6 <div style="height:100px;"></div>
7 <div id="empty" style="position:relative;"></div>
8 <div style="height:100px;"></div>
9 </div>
10 <script>
11 test(function() {
12 var rects = document.getElementById("empty").getClientRects();
13 assert_equals(rects.length, 1);
14 assert_equals(rects[0].left, 110);
15 assert_equals(rects[0].top, 0);
16 assert_equals(rects[0].right, 210);
17 assert_equals(rects[0].bottom, 0);
18 }, "Zero-height element at column boundary");
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698