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

Side by Side Diff: Source/web/tests/data/touch-action-hittest.html

Issue 137123009: Add hittest mode for Touch-action which ignore inline elements and svg elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <!--
3 Test a bunch of simple cases for hittest mode TouchAction which ignores inli ne elements and svg elements.
4 -->
5
6 <div expected-hittest='0' hittest='0'>Simple div</div>
7 <div expected-hittest='1' style='padding: 20px 0'>
8 <span hittest='1'>HitTestRequest::TouchAction should ignore inline elements
9 <div expected-hittest='2' hittest='2'>div nested inside span</div>
10 </span>
11 </div>
12
13 <div style='padding: 20px 0'>
14 <span style='display: inline-block' expected-hittest='3' hittest='3'>HitTestRe quest::TouchAction should not ignore inline block elements
gnana 2014/01/16 14:36:02 This case hittest fails. Need to check if inline-b
Rick Byers 2014/01/17 16:12:46 In IE inline-block DOES respect touch-action, so w
15 </span>
16 </div>
17
18 <svg expected-hittest='4' width="500" xmlns="http://www.w3.org/2000/svg">
19 <g>
20 <rect hittest='4' x="0" y="0" width="500" height="50" fill= "blue"/>
21 <text fill="white" text-anchor="middle" y="30" x="250">
22 HitTestRequest::TouchAction should ignore svg elements
23 </text>
24 </g>
25 </svg>
OLDNEW
« Source/web/tests/TouchActionTest.cpp ('K') | « Source/web/tests/TouchActionTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698