servo/components/style/invalidation/element
Emilio Cobos Álvarez 5b68241958 style: Simplify :dir() implementation
This I noticed while working on the following patches. Shouldn't have
any behavior change: the behavior does in fact match the element state
flag semantics correctly if we do this. We did split the dir flags into
two element bits a while ago.

:not(:dir()) still behaves correctly of course, and we have tests for that.

Differential Revision: https://phabricator.services.mozilla.com/D130734
2023-06-09 10:22:17 +02:00
..
document_state.rs style: Rustfmt recent changes. 2020-06-04 02:02:50 +02:00
element_wrapper.rs style: Simplify :dir() implementation 2023-06-09 10:22:17 +02:00
invalidation_map.rs style: Simplify :dir() implementation 2023-06-09 10:22:17 +02:00
invalidator.rs style: Invalidate a bit more aggressively when a pseudo-element matches, in order to also invalidate the cached pseudo-styles on the parent 2023-05-16 13:01:18 +02:00
mod.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
restyle_hints.rs style: More fine-grained viewport units invalidation 2023-05-24 18:32:37 +02:00
state_and_attributes.rs style: Invalidate a bit more aggressively when a pseudo-element matches, in order to also invalidate the cached pseudo-styles on the parent 2023-05-16 13:01:18 +02:00