mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-11 17:57:32 +09:00
Issue #1593 - Part 1: Import William Chen's patches w/o selector implementation, fixed up.
This commit is contained in:
parent
ecdf4bfb29
commit
7472bc02be
10 changed files with 273 additions and 32 deletions
|
|
@ -151,6 +151,8 @@ public:
|
|||
nsCSSSelector* Clone() const { return Clone(true, true); }
|
||||
|
||||
void Reset(void);
|
||||
bool HasFeatureSelectors();
|
||||
void SetHasExplicitUniversal();
|
||||
void SetNameSpace(int32_t aNameSpace);
|
||||
void SetTag(const nsString& aTag);
|
||||
void AddID(const nsString& aID);
|
||||
|
|
@ -231,9 +233,10 @@ public:
|
|||
// the argument to functional pseudos
|
||||
nsAttrSelector* mAttrList;
|
||||
nsCSSSelector* mNegations;
|
||||
nsCSSSelector* mNext;
|
||||
bool mExplicitUniversal; // True if universal selector explicitly
|
||||
nsCSSSelector* mNext; // appears in the selector
|
||||
int32_t mNameSpace;
|
||||
char16_t mOperator;
|
||||
char mOperator;
|
||||
private:
|
||||
// The underlying type of CSSPseudoElementType is uint8_t and
|
||||
// it packs well with mOperator. (char16_t + uint8_t is less than 32bits.)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue