s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
StyleSelector
Test
chevron_left
Classes
class
StyleSelector
search
Constructors
functions
StyleSelector
Fields
crop_din
AdjacentSibling
crop_din
AnyOf
crop_din
AsString
crop_din
Block
crop_din
DecendantOf
crop_din
Element
crop_din
Flags
crop_din
GeneralSibling
crop_din
Has
crop_din
ImmediateParent
crop_din
Not
crop_din
NthChild
crop_din
Parent
crop_din
SelfScore
crop_din
UniversalSelector
Properties
data_object
Classes
data_object
Id
data_object
Score
Methods
functions
Finalize
functions
Test
functions
TestBroadphase
functions
TestParent
Test
Test whether target passes our selector test. We use forceFlag to do alternate tests for flags like ::before and ::after. It's basically added to the target's pseudo class list for the test.
method
bool
Test
(
IStyleTarget
target
,
PseudoClass
forceFlag
)
Parameters
Name
Type
Description
target
IStyleTarget
forceFlag
= 0
PseudoClass
Returns
Type
Description
bool
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.