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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/multicol/span/offset-properties.html

Issue 2251443002: Correct offsetLeft and offsetTop calculation for column-span:all. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Need to keep the nullptr check, thanks to inline continuations. Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <div style="position:relative; border:10px solid; columns:3; column-gap:0; colum n-fill:auto; width:300px;">
5 <div style="height:450px;"></div>
6 <div id="elm" style="column-span:all; margin:1px; border:10px solid; height: 50px;"></div>
7 </div>
8 <script>
9 test(function() {
10 assert_equals(document.getElementById('elm').offsetLeft, 1);
11 assert_equals(document.getElementById('elm').offsetTop, 151);
12 }, "offsetLeft and offsetTop on column-span:all");
13 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698