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

Side by Side Diff: LayoutTests/fast/dom/shadow/input-color-in-content.html

Issue 15680005: Element::recalcStyle() overly reattach()-es InsertionPoints. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated test and test expectations Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
5 <div id="host" tabindex="1">
6 <input id="target" type="color" value="#000000">
7 </div>
8 <script>
9
10 shadow = host.webkitCreateShadowRoot();
11 shadow.innerHTML = "<content></content>";
12 jsTestIsAsync = true;
13
14 if (window.eventSender) {
15 shouldBeFalse("testRunner.isChooserShown()");
16 eventSender.dragMode = false;
17 eventSender.mouseMoveTo(target.offsetLeft, target.offsetTop + target.offsetHe ight / 2);
18 eventSender.mouseDown();
19 eventSender.mouseUp();
20 testRunner.setWindowIsKey(false);
21 window.setTimeout(function() {
22 window.setTimeout(function() {
23 shouldBeTrue("testRunner.isChooserShown()");
24 finishJSTest();
25 }, 0);
26 }, 0);
esprehn 2013/06/13 02:45:40 Btw, these nested setTimeout calls will be flaky.
27 }
28
29 </script>
30 <script src="../../../fast/js/resources/js-test-post.js"></script>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698