1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/values3/calc-text-indent-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html> 1.6 +<head> 1.7 + <title>CSS Test: text-indent: calc() on blocks</title> 1.8 + <link rel="author" title="L. David Baron" href="http://dbaron.org/"> 1.9 + <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation"> 1.10 + <meta name="flags" content=""> 1.11 +<style type="text/css"> 1.12 + 1.13 +body { width: 500px } 1.14 +p { font-size: 10px } 1.15 + 1.16 +</style> 1.17 +</head> 1.18 +<body> 1.19 + 1.20 +<p style="text-indent: calc(50% - 3px)">50% - 3px</p> 1.21 +<p style="text-indent: calc(25% - 3px + 25%)">25% - 3px + 25%</p> 1.22 +<p style="text-indent: calc(25% - 3px + 12.5% * 2)">25% - 3px + 12.5% * 2</p> 1.23 +<p style="text-indent: calc(25% - 3px + 12.5%*2)">25% - 3px + 12.5%*2</p> 1.24 +<p style="text-indent: calc(25% - 3px + 2*12.5%)">25% - 3px + 2*12.5%</p> 1.25 +<p style="text-indent: calc(25% - 3px + 2 * 12.5%)">25% - 3px + 2 * 12.5%</p> 1.26 +<p style="text-indent: calc(30% + 20%)">30% + 20%</p> 1.27 +</body> 1.28 +</html>