Auto merge of #17829 - emilio:visited-nit, r=Manishearth

style: Mention when visited styles may be disabled.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17829)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-07-23 15:06:44 -07:00 committed by GitHub
commit 104c79dbf2

View file

@ -118,6 +118,9 @@ pub struct SharedStyleContext<'a> {
pub stylist: &'a Stylist,
/// 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,
/// Configuration options.