[Webkit-unassigned] [Bug 12571] <clipPath> doesn't correctly handle <text> elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 4 22:35:56 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=12571


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|WebKit fails SVG text-clip  |<clipPath> doesn't correctly
                   |test                        |handle <text> elements




------- Comment #1 from eric at webkit.org  2007-06-04 22:35 PDT -------
Bleh.  Our current clipping code assumes that the contents of <clipPath> will
only be path elements.  It needs to be smarter than that.  It needs to perhaps
have a "fast path" where it builds a single combined path element and clips to
that, but has fallback code to handle mask-based clipping when necessary.

Another option is to not build a "clip path" at all until it's actually used. 
Still for speed it would be best to either create a single path to use for
clipping, or to create a mask for clipping.

Either way, <clipPath> needs to be re-written to allow for clipping to text. 
We also need to add tests to test clipping more complicated situations than the
W3C suite currently handles.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list