Bug 479896 - [CSS] Combination of child and pseudo selector is not applied
Summary: [CSS] Combination of child and pseudo selector is not applied
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 4.6 M4   Edit
Assignee: Dirk Fauth CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2015-10-15 17:08 EDT by Dirk Fauth CLA
Modified: 2015-12-04 16:18 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Fauth CLA 2015-10-15 17:08:55 EDT
I'm trying to use a selector that is a combination of widget > child [class:pseudo]

For example:

NatTable > .selectionAnchor:select

Such a combination doesn't work, because in AbstractCSSEngine#applyConditionalPseudoStyle() instanceof checks are performed that will result to false in case of such a combination.

The implementation should be updated to add checks for combinations, e.g. DescendantSelector and CombinatorCondition.
Comment 1 Eclipse Genie CLA 2015-10-15 17:31:13 EDT
New Gerrit change created: https://git.eclipse.org/r/58289
Comment 3 Lars Vogel CLA 2015-12-04 05:47:38 EST
Dirk, is this still open?
Comment 4 Dirk Fauth CLA 2015-12-04 16:18:28 EST
Fixed with applied patch