[Webkit-unassigned] [Bug 38354] Support for Percentage Values in border-radius

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 3 02:11:41 PDT 2010


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





--- Comment #11 from Rob Buis <rwlbuis at gmail.com>  2010-09-03 02:11:41 PST ---
Hello Peter,

(In reply to comment #10)
> Rob, any reason you manually clamped against intMin/MaxForLength instead of using cumputeLengthIntForLength()?  If the problem is that that function returns 0 for values outside the bounds, perhaps there are other problems that causes, and we should simply fix the function?

You are right, cumputeLengthIntForLength returning 0 was the problem in my use case, since I need real clamping there. I'll add that I was not feeling that great about the solution in my patch.

Do you mean problems before or after my patch?

One solution may be to add an extra boolean param to cumputeLengthIntForLength that toggles the clamping behaviour. Or do we need a new function for the behaviour I want for the border-radius case? Let me know what you think.
Cheers,

Rob.

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