[Webkit-unassigned] [Bug 247913] Percent-width blocks cannot form a re-layout boundary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 3 07:36:25 PDT 2023


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

--- Comment #5 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Ahmad Saleem from comment #4)
> @Alan - I noticed that I didn't did 'const' part in this merge for
> object().style(). Could this help in the performance issue in page loading?
> 
> I can do PR but is it possible to run it via some A/B testing internally to
> see whether 'const' part does not regress performance?
> 
> const auto* style = object->style();

This compiles:

    const auto& style = object->style();
    if (!style.width().isFixed() || !style.height().isFixed())
        return false;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230403/175240c3/attachment.htm>


More information about the webkit-unassigned mailing list