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

Side by Side 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, 7 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 div {
6 border: 30px solid transparent;
7 border-image: url('resources/ring.png');
8 }
9 #div1 {
10 border-image-slice: calc(10 + 5);
11 }
12 #div2 {
13 border-image-slice: calc(10 - 5);
14 }
15 #div3 {
16 border-image-slice: calc(50% - 6);
17 }
18 </style>
19 </head>
20 <body>
21 <div id="div1"></div>
22 <div id="div2"></div>
23 <div id="div3"></div>
24 </body>
25 </html>
OLDNEW
« 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