diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-05-04 12:43:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 12:43:49 -0400 |
commit | 271ff16028a8aa3ab5fa6acf0590ddfbb0624eb8 (patch) | |
tree | 2c1b9fadfa7057f27bc6d1ba0ce7b883a66f4f2e /components/script/task_source | |
parent | d33a784c665ec7233b8825bb87d9edc97df33d0b (diff) | |
parent | 1b2464b4b686019211248ea7f4b51aa360b808b2 (diff) | |
download | servo-271ff16028a8aa3ab5fa6acf0590ddfbb0624eb8.tar.gz servo-271ff16028a8aa3ab5fa6acf0590ddfbb0624eb8.zip |
Auto merge of #26398 - Eijebong:fast-path-set-inner-html, r=jdm
Add a fast path in Element::SetInnerHTML when the value is small and trivial text
Inspired from gecko which has a similar fast path. This makes innerHTML
more than 10 times faster for this case.
Fixes #25892
Diffstat (limited to 'components/script/task_source')
0 files changed, 0 insertions, 0 deletions