[Webkit-unassigned] [Bug 29760] Implement CSSOM Range.getClientRects/getBoundingClientRect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 27 15:03:31 PDT 2009


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





--- Comment #3 from mitz at webkit.org  2009-09-27 15:03:30 PDT ---
(From update of attachment 40207)
> +    IntRect result = quads[0].enclosingBoundingBox();
> +    for (size_t i = 1; i < quads.size(); ++i)
> +        result.unite(quads[i].enclosingBoundingBox());

There is no need to special-case the first rect.

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