| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| "http://www.w3.org/TR/html4/loose.dtd"> |
| |
| <html lang="en"> |
| <head> |
| <title>Text clip</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| |
| <style type="text/css"> |
| |
| div { |
| width: 500px; |
| height: 200px; |
| font-size: 64px; |
| background: red; |
| border: 1px solid black; |
| -webkit-background-clip: text; |
| color: green; |
| } |
| </style> |
| </head> |
| <body> |
| <p><a href="https://bugs.webkit.org/show_bug.cgi?id=25829">https://bugs.webkit.org/show_bug.cgi?id=25829</a><br> |
| You should see no areas of read below. (This paragraph is required for the test to be valid.) |
| </p> |
| <div>This background clips to the text.</div> |
| </body> |
| |
| </html> |