Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/css3/calc/border-image-slice-with-calc.html |
| diff --git a/third_party/WebKit/LayoutTests/css3/calc/border-image-slice-with-calc.html b/third_party/WebKit/LayoutTests/css3/calc/border-image-slice-with-calc.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c975620d8f9f2e788ec79b12d8a9c702a1d9d9e3 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/css3/calc/border-image-slice-with-calc.html |
| @@ -0,0 +1,28 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<head> |
| +<style> |
| +div { |
| + background-color: lightgrey; |
| + border: 30px solid transparent; |
| + border-image: url('resources/ring.png'); |
| +} |
| +#div1 { |
| + border-image-slice: calc(10 + 5); |
| +} |
| +#div2 { |
| + border-image-slice: calc(5 - 10); |
| +} |
| +#div3 { |
| + border-image-slice: calc(50% - 6); |
|
alancutter (OOO until 2018)
2016/03/30 00:45:47
We should also test serialising these values from
|
| +} |
| +</style> |
| +</head> |
| +<body> |
| + |
| +<div id="div1"></div> |
| +<div id="div2"></div> |
| +<div id="div3"></div> |
| + |
| +</body> |
| +</html> |