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

Side by Side Diff: LayoutTests/fast/inline/inline-fixed-position-boundingbox.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 <script> 4 <script>
5 description('<a href="https://bugs.webkit.org/show_bug.cgi?id=91451">Bug 91451</a>: REGRESSION: RenderInline::absoluteQuads produces incorrect results f or fixed position.'); 5 description('<a href="https://bugs.webkit.org/show_bug.cgi?id=91451">Bug 91451</a>: REGRESSION: RenderInline::absoluteQuads produces incorrect results f or fixed position.');
6 6
7 function runTest() 7 function runTest()
8 { 8 {
9 inline = document.getElementById("inlineElement"); 9 inline = document.getElementById("inlineElement");
10 inlineRect = inline.getBoundingClientRect(); 10 inlineRect = inline.getBoundingClientRect();
11 parent = inline.parentNode; 11 parent = inline.parentNode;
12 parentRect = parent.getBoundingClientRect(); 12 parentRect = parent.getBoundingClientRect();
13 shouldBe("inlineRect.left", "parentRect.left"); 13 shouldBe("inlineRect.left", "parentRect.left");
14 } 14 }
15 15
16 window.onload = runTest; 16 window.onload = runTest;
17 </script> 17 </script>
18 </head> 18 </head>
19 <body> 19 <body>
20 <div style="position:fixed"> 20 <div style="position:fixed">
21 <span id="inlineElement"></span> 21 <span id="inlineElement"></span>
22 </div> 22 </div>
23 <script src="../js/resources/js-test-post.js"></script>
24 </body> 23 </body>
25 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698