style: Mention when visited styles may be disabled.

This commit is contained in:
Emilio Cobos Álvarez 2017-07-24 00:04:45 +02:00
parent 2241d5879e
commit 533ea86bab
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -118,6 +118,9 @@ pub struct SharedStyleContext<'a> {
pub stylist: &'a Stylist, pub stylist: &'a Stylist,
/// Whether visited styles are enabled. /// Whether visited styles are enabled.
///
/// They may be disabled when Gecko's pref layout.css.visited_links_enabled
/// is false, or when in private browsing mode.
pub visited_styles_enabled: bool, pub visited_styles_enabled: bool,
/// Configuration options. /// Configuration options.