| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <script src="../../js/resources/js-test-pre.js"></script> |
| <script src="../../js/resources/js-test-post-function.js"></script> |
| <!-- |
| To test the new CSS property -webkit-tap-highlight-color which is only supported when building |
| WebKit with ENABLE(TOUCH_EVENTS), we create a new div element and add -webkit-tap-highlight-color |
| in the element, then see whether we can get the specified tap highlight color from DOM. |
| WebKit ports can use this css property to get the customized tap highlight color from the webpage |
| which is set by web developers to make sure that tap highlight color fits their websites instead |
| of using the hardcode value provided by browsers. |
| --> |
| </head> |
| <body> |
| <p id="description"></p> |
| <div id="console"></div> |
| <script src="script-tests/tap-highlight-color.js"></script> |
| </body> |
| </html> |