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="../../../resources/js-test.js"></script> |
5 <!-- | 5 <!-- |
6 To test the new CSS property -webkit-tap-highlight-color we create a new div e
lement and | 6 To test the new CSS property -webkit-tap-highlight-color we create a new div e
lement and |
7 add -webkit-tap-highlight-color in the element, then see whether we can get th
e specified tap highlight color from DOM. | 7 add -webkit-tap-highlight-color in the element, then see whether we can get th
e specified tap highlight color from DOM. |
8 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 |
9 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 |
10 of using the hardcode value provided by browsers. | 10 of using the hardcode value provided by browsers. |
11 --> | 11 --> |
12 </head> | 12 </head> |
13 <body> | 13 <body> |
14 <p id="description"></p> | 14 <p id="description"></p> |
15 <div id="console"></div> | 15 <div id="console"></div> |
16 <script src="script-tests/tap-highlight-color.js"></script> | 16 <script src="script-tests/tap-highlight-color.js"></script> |
17 </body> | 17 </body> |
18 </html> | 18 </html> |
OLD | NEW |