style: Fix relevant-link-visited logic in presence of nested links.

MozReview-Commit-ID: LIjpTAgrPBY
This commit is contained in:
Emilio Cobos Álvarez 2017-07-23 15:05:36 +02:00
parent aea24fa81e
commit 04e855c38d
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 19 additions and 7 deletions

View file

@ -2837,9 +2837,13 @@ bitflags! {
/// Whether we're styling the ::-moz-fieldset-content anonymous box.
const IS_FIELDSET_CONTENT = 1 << 5,
/// Whether we're computing the style of a link, either visited or
/// unvisited.
const IS_LINK = 1 << 6,
/// Whether we're computing the style of a link element that happens to
/// be visited.
const IS_VISITED_LINK = 1 << 6,
const IS_VISITED_LINK = 1 << 7,
}
}