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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/margin-top-at-top-of-fragmentainer.html

Issue 2542723002: Margins that start at fragmentainer boundaries should be collapsed away. (Closed)
Patch Set: Back out an unnecessary and potentially harmful change. Created 4 years 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 <p>There should be a blue square below.</p>
3 <div style="position:relative; columns:2; column-gap:0; column-fill:auto; width: 200px; height:100px;">
4 <div style="height:100px;"></div>
5 <div id="elm" style="margin-top:50px; height:100px; background:blue;"></div>
6 </div>
7 <script src="../resources/testharness.js"></script>
8 <script src="../resources/testharnessreport.js"></script>
9 <script>
10 test(() => {
11 var elm = document.getElementById("elm");
12 assert_equals(elm.offsetLeft, 100);
13 assert_equals(elm.offsetTop, 0);
14 }, "Margins should collapse with fragmentainer boundaries");
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698