Clipping itself works. But the area around the clippath is not rendered and looks strange.
This appears to be a bug in Qt's X11 rendering backend. The problem shows up when using the X11 rendering backend, but not when using Qt's internal raster rendering backend.
You're right George, it's a problem with the X11 engine. Both raster and the mac one works fine.
But this means, that this is not a bug in WebKit. Will this issue be fixed in qt4.6? Is it possible to make a hack for older qt versions? Otherwise, there are no problems with clipping in SVG and we use clipping in the same way there. Where else can be the problem?
Is this still valid?
*** Bug 36604 has been marked as a duplicate of this bug. ***
X11 paintengine bugs are no longer relevant since Qt is switching to raster by default in 4.8.