[Webkit-unassigned] [Bug 42653] New: IntSize: added invalid() and isValid methods.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 20 10:59:02 PDT 2010


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

           Summary: IntSize: added invalid() and isValid methods.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tonikitoo at webkit.org
                CC: darin at apple.com, kenneth at webkit.org


In comment https://bugs.webkit.org/show_bug.cgi?id=40197#c41 , it was suggested a helper / getter for invalid IntSize's. 
Maybe something simple like this:

static IntSize invalid() { return IntSize(-1, -1); }

similarly to the static IntPoint zero() { return IntPoint(0, 0); } added in bug 37220.

Thoughts?

ps: If I hear it is ok, upload a patch.

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