[Webkit-unassigned] [Bug 18340] Elements with display="none" in a <clipPath> still contribute to clipping path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 9 23:56:03 PDT 2008


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20440|review?                     |review-
               Flag|                            |




------- Comment #4 from eric at webkit.org  2008-04-09 23:56 PDT -------
(From update of attachment 20440)
Ok, so two things:

1. style error:
if ( pathStyle->display() != NONE )
(no spaces inside the ( ))

2.  You should test visibility: hidden as well.  What's the expected behavior
there?

Also:
// FIXME: How do we know the element has done a layout?
We could pretty easily test the not-yet-layout case, but I'm not sure that
layout even matters here, since we're calling a DOM method toClipPath(),
however I'm not sure the DOM can really get the right proportions... how does
it resolve lengths correctly?

We at least need a visibility: hidden test, IMO.


-- 
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