From 0e781384cd34826e806aa7f2f3406ee66cc317aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 18 Dec 2017 14:15:31 +0100 Subject: [PATCH] style: Add a FIXME comment that I need to write a test-case for. --- components/style/stylist.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/style/stylist.rs b/components/style/stylist.rs index 1cf306d123d..180c421ba3a 100644 --- a/components/style/stylist.rs +++ b/components/style/stylist.rs @@ -1292,6 +1292,10 @@ impl Stylist { if let Some(map) = stylist.cascade_data.author.borrow_for_pseudo(pseudo_element) { // NOTE(emilio): This is needed because the XBL stylist may // think it has a different quirks mode than the document. + // + // FIXME(emilio): this should use the same VisitedMatchingMode + // as `context`, write a test-case of :visited not working on + // Shadow DOM and fix it! let mut matching_context = MatchingContext::new( context.matching_mode, context.bloom_filter,