[Webkit-unassigned] [Bug 236740] New: Always use ChildChange::Source::Parser when creating input element UA shadow tree contents
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 16 15:41:48 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236740
Bug ID: 236740
Summary: Always use ChildChange::Source::Parser when creating
input element UA shadow tree contents
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: heycam at apple.com
CC: cdumez at apple.com, wenson_hsieh at apple.com
When creating an input element's UA shadow tree, we currently use a ChildChange::Source value that depends on whether the input element itself was parser- or script-inserted. But since UA shadow trees are not exposed to content, and we don't have any dependency on the extra work that inserting using ChildChange::Source::API does, we can use ChildChange::Source::Parser unconditionally.
Local testing showed this scored a 0.1% Speedometer 2 improvement.
--
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/20220216/1b6bca07/attachment.htm>
More information about the webkit-unassigned
mailing list