Bug 144037
| Summary: | Avoid doing work when StyleDifference is StyleDifferenceEqual | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | hyatt, kling, koivisto, simon.fraser |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 144198 | ||
| Bug Blocks: | |||
Simon Fraser (smfr)
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)
This was fixed in r183461