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

Side by Side Diff: third_party/WebKit/LayoutTests/hittesting/subframe_active_crash.html

Issue 2747463003: Ensure clean layout for a call site of FrameSelection::contains() (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/SelectionController.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 <style>
5 #frame:active {
6 border-width: 5px;
7 }
8 </style>
9 <iframe id="frame"></iframe>
10 <script>
11 test(() => {
12 assert_not_equals(window.eventSender, undefined, 'This test requires eventSend er');
13
14 const frame = document.getElementById('frame');
15 const mouseX = frame.offsetLeft + frame.offsetWidth / 2;
16 const mouseY = frame.offsetTop + frame.offsetHeight / 2;
17 eventSender.mouseMoveTo(mouseX, mouseY);
18 eventSender.mouseDown();
19 eventSender.mouseUp();
20 }, 'Clicking in a subframe with :active style should not crash.');
21 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/SelectionController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698