[Webkit-unassigned] [Bug 131023] [CSS Grid Layout] Clamping the number of repetitions in repeat()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 1 09:15:23 PDT 2014


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





--- Comment #4 from Javier Fernandez <jfernandez at igalia.com>  2014-05-01 09:15:41 PST ---
(In reply to comment #2)
> (From update of attachment 230164 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=230164&action=review
> 
> > Source/WebCore/css/CSSParser.cpp:4930
> > +        repetitions = MAX_REPETITIONS;
> 
> Should there be any kind of feedback to the inspector when this happens?

umm, good question. I think the limit of 10000 is high enough to now be reached in real webs, so the clamping operation won't be very frequent. On the other hand, when using values higher than 10000 it wont be easy to realize the value was clamped watching at the computed value. So, I'm not sure whether informing the inspector is worth or not. 

Personally, I think that the case of clamping values is so rare that I think it's not worth to deal with the inspector.

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