mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Remove IS_STYLE_IF_VISITED.
Bug: 1474959 Reviewed-by: xidorn MozReview-Commit-ID: 8rnlaMOJisA
This commit is contained in:
parent
4e1606bfaf
commit
08dcd7fca0
4 changed files with 7 additions and 43 deletions
|
@ -684,11 +684,6 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
) where
|
||||
E: TElement,
|
||||
{
|
||||
debug_assert!(
|
||||
!self.style.flags.contains(ComputedValueFlags::IS_STYLE_IF_VISITED),
|
||||
"Adjusting visited styles is wasted work"
|
||||
);
|
||||
|
||||
if cfg!(debug_assertions) {
|
||||
if element
|
||||
.and_then(|e| e.implemented_pseudo_element())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue