Bug 96736
Summary: | [CSS Regions] Enhance the way element styles in regions are stored and accessed | ||
---|---|---|---|
Product: | WebKit | Reporter: | Andrei Bucur <abucur> |
Component: | WebCore Misc. | Assignee: | Andrei Bucur <abucur> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | bfulgham, donggwan.kim, hyatt, mibalan, mihnea, WebkitBugTracker |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 97110 |
Andrei Bucur
Using region styling is currently an expensive operation because the styles are applied to the whole render tree at once, even though it may not be necessary for some renderers. Also, the caching is made during the tree traversal thus making styling individual elements inefficient.
We need to find a better way to apply region styling with the following restrictions:
- the region style needs to be applied only locally, to a specific renderer, not the whole render tree
- the cache needs to be detached from the style change logic
- performance outside of regions is not allowed to decrease
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
CSS Regions were removed in Bug 174978.