From 9a1f20f1e8376e3876c1d74aaa9d8e14ed9bccb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 12 Jan 2018 10:38:09 +0100 Subject: [PATCH] style: Add a comment about figuring out what the best way to deal with XBL is. --- components/style/invalidation/element/document_state.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/style/invalidation/element/document_state.rs b/components/style/invalidation/element/document_state.rs index 253b9b4cc43..f7a8926b8c3 100644 --- a/components/style/invalidation/element/document_state.rs +++ b/components/style/invalidation/element/document_state.rs @@ -22,6 +22,9 @@ pub struct InvalidationMatchingData { /// An invalidation processor for style changes due to state and attribute /// changes. 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, matching_context: MatchingContext<'a, E::Impl>, document_states_changed: DocumentState,