[Webkit-unassigned] [Bug 233198] Web Inspector: Remove unused `dontCreateIfMissing` argument from CSSStyleDeclaration.prototype.propertyForName

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 16 12:29:31 PST 2021


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

--- Comment #2 from Devin Rousso <drousso at apple.com> ---
Comment on attachment 444405
  --> https://bugs.webkit.org/attachment.cgi?id=444405
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=444405&action=review

> Source/WebInspectorUI/UserInterface/Models/CSSStyleDeclaration.js:332
> +        return bestMatchProperty;

We should simplify `propertyForName` while we're at it.  There's no reason to have an inline function `findMatch` that we only call once.

-- 
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/20211116/12513234/attachment.htm>


More information about the webkit-unassigned mailing list