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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/inline/inline-offsetParent-continuation.html

Issue 2448983002: offsetParent() fails to consider continuations when searching for the parent. (Closed)
Patch Set: Added test case. Created 4 years, 1 month 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/LayoutObject.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
5 <span id="expectedOffsetParent" style="position:relative;">
6 <div id="elm"></div>
7 </span>
8
9 <script>
10 test(function() {
11 var expectedOffsetParent = document.getElementById("expectedOffsetParent");
12 var actualOffsetParent = document.getElementById("elm").offsetParent;
13
14 assert_true(actualOffsetParent == expectedOffsetParent);
15 }, 'offsetParent is correct for a block inside an inline.');
16 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698