mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #17826 - emilio:visited-not-yet, r=emilio
stylo: Remove the visited bit for now since it doesn't account for the pref. I'll fix before landing the Gecko changes for bug 1383307, so this doesn't break anything yet.
This commit is contained in:
commit
5b3bb04d4a
1 changed files with 2 additions and 1 deletions
|
@ -1737,7 +1737,8 @@ pub extern "C" fn Servo_ComputedValues_GetStyleBits(values: ServoStyleContextBor
|
|||
let flags = values.flags;
|
||||
let mut result = 0;
|
||||
if flags.contains(IS_RELEVANT_LINK_VISITED) {
|
||||
result |= structs::NS_STYLE_RELEVANT_LINK_VISITED as u64;
|
||||
// FIXME(emilio): This doesn't account for the pref.
|
||||
// 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