clip-rect-comma-001.html (884B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Masking: Test comma separation of rect function on clip - no commas</title> 5 <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"> 6 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#clip-property"> 7 <link rel="match" href="reference/clip-absolute-positioned-ref.html"> 8 <meta name="assert" content="Values for rect function on clip can be white 9 space or comma separated, but not both. Otherwise the property setting gets 10 ignored. Testing rect function with white space separation. On pass you 11 should see a green square and no red."> 12 </head> 13 <body> 14 <p>The test passes if there is a green square and no red.</p> 15 <div style="width: 100px; height: 100px; border: solid red 50px; background-color: green; position: absolute; clip: rect(50px 150px 150px 50px);"></div> 16 </body> 17 </html>