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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/inline/inline-offsetLeft-relpos.html

Issue 2414683002: Make offsetTop/Left handle a relative positioned inline offsetParent correctly. (Closed)
Patch Set: Fixed broken rebase. 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/LayoutTests/fast/inline/inline-offsetLeft-relpos-expected.txt » ('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 <style>
3 .relpos {
4 position: relative;
5 padding-left: 5px;
6 }
7 .pad {
8 border: 10px solid yellow;
9 padding-left: 3px;
10 }
11 </style>
12 <script src="../../resources/check-layout.js"></script>
13
14 <div id="container">
15 XX
16
17 <span class=relpos>
18 <span class=pad data-offset-x="5">XX</span>
19 </span>
20
21 <span class=relpos>
22 <span class="pad" style="display: inline-block;">
23 <div data-offset-x="18">XX</div>
24 </span>
25 </span>
26
27 <span class=relpos>
28 <span data-offset-x="5" class="pad" style="position: absolute">XX</span>
29 </span>
30
31 <span class=relpos>
32 <span data-offset-x="50" class="pad" style="position: absolute; left: 50 px">XX</span>
33 </span>
34 </div>
35
36 <script>
37 checkLayout("#container");
38 </script>
39
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/inline/inline-offsetLeft-relpos-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698