1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/svg-integration/clipPath-html-08.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +<!DOCTYPE html> 1.5 +<!-- 1.6 + Any copyright is dedicated to the Public Domain. 1.7 + http://creativecommons.org/publicdomain/zero/1.0/ 1.8 +--> 1.9 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.10 + <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=822014 --> 1.11 + <head> 1.12 + <title>Test clip-path on <div> with border</title> 1.13 + <style> 1.14 + 1.15 +html, body { 1.16 + border: 0; margin: 0; 1.17 +} 1.18 + 1.19 + </style> 1.20 + </head> 1.21 + <body> 1.22 + <div style="clip-path: url(#cp); width: 200px; height: 200px; background: yellow; border: solid 100px black; margin: 50px;"></div> 1.23 + <svg xmlns="http://www.w3.org/2000/svg" height="0"> 1.24 + <clipPath id="cp"> 1.25 + <path d="M50,50 150,50 150,150 50,150 z"/> 1.26 + </clipPath> 1.27 + </svg> 1.28 + </body> 1.29 +</html>