Bug 562801 - [CSS] ViewCSSImpl#getComputedStyle: Cache node hierarchy
Summary: [CSS] ViewCSSImpl#getComputedStyle: Cache node hierarchy
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.16   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-04 19:40 EDT by Karsten Thoms CLA
Modified: 2022-03-28 15:56 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Thoms CLA 2020-05-04 19:40:20 EDT
This is a follow-up of bug#562127.

With the previous change the style computation in getComputedStyle() got improved. For this a node's hierarchy is computed which gets passed into the selector matching.

The hierarchy is computed on an element's parent, if present. Due to the fact that several nodes share the same parent, the hierarchy for the parent node will be the same. This makes it a caching candidate.
Comment 1 Eclipse Genie CLA 2020-05-04 19:48:36 EDT
New Gerrit change created: https://git.eclipse.org/r/162014