1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<!DOCTYPE html> <html reftest-zoom="2"> <meta charset="utf-8"> <title>Reference for test for bug 1315113: Gradient in border image</title> <style> body { margin: 0; } #box { width: 200px; border: 80px solid transparent; padding: 20px; background: linear-gradient(red, blue); background-origin: border-box; } </style> <div id="box"></div>