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

Side by Side Diff: LayoutTests/fast/inline/reattach-inlines-in-anonymous-blocks-with-out-of-flow-siblings.html

Issue 120603002: Fix render tree creation in blocks with multiple anonymous blocks and mixed inlines/out of flow chi… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed markup Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/inline/reattach-inlines-in-anonymous-blocks-with-out-of-flow-siblings-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 <html>
3 <head>
4 <style>
5 .absolute {
6 position: absolute;
7 }
8
9 .inlineBlock {
10 display: inline-block;
11 }
12 </style>
13 <script src="../../resources/js-test.js"></script>
14 </head>
15 <body>
16 <p id="console"></p>
17 <p>
18 <span></span><div>1</div>
19 <span></span><div>2</div>
20 <span></span><div>3</div>
21 </p>
22 <script>
23 function applyClass(items, className) {
24 for (var i = items.length - 1; i >= 0; i--) {
25 items[i].classList.add(className)
26 };
27 };
28
29 description("The numbers below should be on the same line.")
30
31 document.body.offsetTop;
32 var divs = document.getElementsByTagName("div");
33 var spans = document.getElementsByTagName("span");
34 applyClass(spans, "absolute");
35 applyClass(divs, "inlineBlock");
36 shouldBe("divs[2].offsetTop", "divs[0].offsetTop");
37 </script>
38 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/inline/reattach-inlines-in-anonymous-blocks-with-out-of-flow-siblings-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698