mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
commit
104c79dbf2
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue