mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
style: Mention when visited styles may be disabled.
This commit is contained in:
parent
2241d5879e
commit
533ea86bab
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