Bug 5977 - overflow: hidden is not respected on <svg> elements
Summary: overflow: hidden is not respected on <svg> elements
Status: RESOLVED DUPLICATE of bug 6093
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 5966
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-06 04:50 PST by Eric Seidel (no email)
Modified: 2006-01-15 03:12 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2005-12-06 04:50:54 PST
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.
Comment 1 Eric Seidel (no email) 2006-01-15 03:12:15 PST

*** This bug has been marked as a duplicate of 6093 ***