Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(424)

Unified Diff: third_party/WebKit/LayoutTests/css3/calc/border-image-slice-with-calc.html

Issue 1835403003: Allow number-percentage calc() in border-image-slice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another approach Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/calc/border-image-slice-with-calc-computed.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..209ca5c88d962d7f3e39be8de6b0644a003d6d5a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/calc/border-image-slice-with-calc.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+div {
+ border: 30px solid transparent;
+ border-image: url('resources/ring.png');
+}
+#div1 {
+ border-image-slice: calc(10 + 5);
+}
+#div2 {
+ border-image-slice: calc(10 - 5);
+}
+#div3 {
+ border-image-slice: calc(50% - 6);
+}
+</style>
+</head>
+<body>
+<div id="div1"></div>
+<div id="div2"></div>
+<div id="div3"></div>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/calc/border-image-slice-with-calc-computed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698