Bug 5977
| Summary: | overflow: hidden is not respected on <svg> elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | hyatt |
| Priority: | P4 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
| Bug Depends on: | 5966 | ||
| Bug Blocks: | |||
Eric Seidel (no email)
overflow: hidden is not respected on <svg> elements
overflow: hidden is specified in the user agent style sheet for <svg>, however this is not respected due to
the current way in which overflow is handled in WebCore. Currently overflow clipping is done using a
layer, however we intentionally make KCanvasContainerQuartz not request layers:
virtual bool requiresLayer() { return false; }
Since we're disallowing the WebCore render tree from making us layers, we need to do our own overflow
clip. This is also required for:
http://bugzilla.opendarwin.org/show_bug.cgi?id=5966
and there has been some talk (between hyatt and I) of eventually refactoring the overflow code out of the
RenderLayer to make this eaiser.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
*** This bug has been marked as a duplicate of 6093 ***