mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix dynamic updates when :dir matching changes in stylo.
This is the servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1364280
This commit is contained in:
parent
f3c8f7e0d0
commit
cd29916c99
2 changed files with 50 additions and 0 deletions
|
@ -115,6 +115,11 @@ bitflags! {
|
|||
const IN_HANDLER_VULNERABLE_NO_UPDATE_STATE = 1 << 42,
|
||||
/// https://drafts.csswg.org/selectors-4/#the-focus-within-pseudo
|
||||
const IN_FOCUS_WITHIN_STATE = 1 << 43,
|
||||
/// :dir matching; the states are used for dynamic change detection.
|
||||
/// State that elements that match :dir(ltr) are in.
|
||||
const IN_LTR_STATE = 1 << 44,
|
||||
/// State that elements that match :dir(rtl) are in.
|
||||
const IN_RTL_STATE = 1 << 45,
|
||||
/// Non-standard & undocumented.
|
||||
const IN_AUTOFILL_STATE = 1 << 50,
|
||||
/// Non-standard & undocumented.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue