<!DOCTYPE html> | |
<html> | |
<script> | |
internals.settings.setCSSVariablesEnabled(true); | |
</script> | |
<style> | |
div { | |
border-color: green; | |
border-style: solid; | |
border-width: -webkit-calc(-webkit-var(a) + -webkit-var(b)) -webkit-calc(-webkit-var(c) * -webkit-var(d)); | |
-webkit-var-a: 2px; | |
-webkit-var-b: 1px; | |
-webkit-var-c: 5; | |
-webkit-var-d: 2px; | |
} | |
</style> | |
<div>This text should have top and bottom borders of 3px and left and right borders of 10px</div> | |
</html> |