OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 <!-- | 5 <!-- |
6 To test the new CSS property -webkit-tap-highlight-color which is only support
ed when building | 6 To test the new CSS property -webkit-tap-highlight-color we create a new div e
lement and |
7 WebKit with ENABLE(TOUCH_EVENTS), we create a new div element and add -webkit-
tap-highlight-color | 7 add -webkit-tap-highlight-color in the element, then see whether we can get th
e specified tap highlight color from DOM. |
8 in the element, then see whether we can get the specified tap highlight color
from DOM. | |
9 WebKit ports can use this css property to get the customized tap highlight col
or from the webpage | 8 WebKit ports can use this css property to get the customized tap highlight col
or from the webpage |
10 which is set by web developers to make sure that tap highlight color fits thei
r websites instead | 9 which is set by web developers to make sure that tap highlight color fits thei
r websites instead |
11 of using the hardcode value provided by browsers. | 10 of using the hardcode value provided by browsers. |
12 --> | 11 --> |
13 </head> | 12 </head> |
14 <body> | 13 <body> |
15 <p id="description"></p> | 14 <p id="description"></p> |
16 <div id="console"></div> | 15 <div id="console"></div> |
17 <script src="script-tests/tap-highlight-color.js"></script> | 16 <script src="script-tests/tap-highlight-color.js"></script> |
18 </body> | 17 </body> |
19 </html> | 18 </html> |
OLD | NEW |