style: Add a comment about figuring out what the best way to deal with XBL is.

This commit is contained in:
Emilio Cobos Álvarez 2018-01-12 10:38:09 +01:00
parent a69d229615
commit 9a1f20f1e8
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -22,6 +22,9 @@ pub struct InvalidationMatchingData {
/// An invalidation processor for style changes due to state and attribute /// An invalidation processor for style changes due to state and attribute
/// changes. /// changes.
pub struct DocumentStateInvalidationProcessor<'a, E: TElement> { pub struct DocumentStateInvalidationProcessor<'a, E: TElement> {
// TODO(emilio): We might want to just run everything for every possible
// binding along with the document data, or just apply the XBL stuff to the
// bound subtrees.
rules: &'a StyleRuleCascadeData, rules: &'a StyleRuleCascadeData,
matching_context: MatchingContext<'a, E::Impl>, matching_context: MatchingContext<'a, E::Impl>,
document_states_changed: DocumentState, document_states_changed: DocumentState,