mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
stylo: Set the relevant link visited bit from servo.
MozReview-Commit-ID: 3MCYLp7HaAs
This commit is contained in:
parent
9b2d96f7e7
commit
0e855ea8e3
1 changed files with 1 additions and 2 deletions
|
@ -1742,8 +1742,7 @@ pub extern "C" fn Servo_ComputedValues_GetStyleBits(values: ServoStyleContextBor
|
|||
let flags = values.flags;
|
||||
let mut result = 0;
|
||||
if flags.contains(IS_RELEVANT_LINK_VISITED) {
|
||||
// FIXME(emilio): This doesn't account for the pref.
|
||||
// result |= structs::NS_STYLE_RELEVANT_LINK_VISITED as u64;
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue