WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
144037
Avoid doing work when StyleDifference is StyleDifferenceEqual
https://bugs.webkit.org/show_bug.cgi?id=144037
Summary
Avoid doing work when StyleDifference is StyleDifferenceEqual
Simon Fraser (smfr)
Reported
2015-04-21 21:30:17 PDT
We do work in RenderElement::setStyle(), and the various implementations of styleDidChange() when the style is known to be unchanged. I think we can avoid doing a lot of that work. Maybe we should short-circuit for the SyntheticStyleChange case that only exists to trigger compositing updates.
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2015-05-01 15:35:52 PDT
This was fixed in
r183461
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug