From 57a761f4ff8343c1a70d80fd39ef9114d2e518ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sun, 23 Jul 2017 14:51:39 +0200 Subject: [PATCH] stylo: Remove the visited bit for now since it doesn't account for the pref. I'll fix before landing the Gecko changes for bug 1383307, so this doesn't break anything yet. --- ports/geckolib/glue.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ports/geckolib/glue.rs b/ports/geckolib/glue.rs index e24e4ff81535..0164bf9e280f 100644 --- a/ports/geckolib/glue.rs +++ b/ports/geckolib/glue.rs @@ -1737,7 +1737,8 @@ pub extern "C" fn Servo_ComputedValues_GetStyleBits(values: ServoStyleContextBor let flags = values.flags; let mut result = 0; if flags.contains(IS_RELEVANT_LINK_VISITED) { - result |= structs::NS_STYLE_RELEVANT_LINK_VISITED as u64; + // FIXME(emilio): This doesn't account for the pref. + // result |= structs::NS_STYLE_RELEVANT_LINK_VISITED as u64; } if flags.contains(HAS_TEXT_DECORATION_LINES) { result |= structs::NS_STYLE_HAS_TEXT_DECORATION_LINES as u64;