Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |