[Webkit-unassigned] [Bug 26342] Absolutely positioned HTML element within foreignObject of absolutely positioned SVG crashes Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 18 11:09:27 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26342





--- Comment #17 from Darin Adler <darin at apple.com>  2009-09-18 11:09:26 PDT ---
(In reply to comment #16)
>         while (o && (o->style()->position() == StaticPosition || (o->isInline()
> && !o->isReplaced())) && !o->isRenderView() && !(o->hasTransform() &&
> o->isRenderBlock())) {
> 
> Admittedly, I think that condition would be much clearer written as a bunch of
> if statements in the while body

Another way to make it more readable would be to make it an inline helper
function. The name of the function gives us a chance to document what's being
checked too.

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



More information about the webkit-unassigned mailing list