DmitryBaranovskiy / raphael

JavaScript Vector Library
https://dmitrybaranovskiy.github.io/raphael/
MIT License
11.27k stars 1.67k forks source link

[2.0] clip-rect is broken in IE8 #389

Open chuchuva opened 13 years ago

chuchuva commented 13 years ago

Repro:

Observe: red sector is on top of the page, obscuring the text.

screenshot

Expected: red sector below the text, in yellow div.

Code:

var paper = Raphael("test", 300, 300);
paper.circle(100, 100, 90, 90).attr({fill: "#f00", "clip-rect": "5,5,130,130"});
chuchuva commented 13 years ago

This should fix it: b69b846b00c615f41182

Pull request created: https://github.com/DmitryBaranovskiy/raphael/pull/390