WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
260537
Use PaintBehavior::DontShowVisitedLinks to prevent :visited link style in subtrees that use mix-blend-mode
https://bugs.webkit.org/show_bug.cgi?id=260537
Summary
Use PaintBehavior::DontShowVisitedLinks to prevent :visited link style in sub...
Said Abou-Hallawa
Reported
2023-08-22 12:53:17 PDT
This is a follow-up for
bug 257822
. Setting a state on the RenderStyle to fix the blend mode
bug 225446
was not the right approach. Instead we should add the flag PaintBehavior::DontShowVisitedLinks if the blendMode() is not equal to BlendMode::Normal.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-08-22 12:54:09 PDT
<
rdar://problem/114277041
>
Said Abou-Hallawa
Comment 2
2023-08-22 15:55:47 PDT
I think this bug is invalid. Having the blendMode() of an element not equal to BlendMode::Normal should affect that element and all its descents. And this is why we set the blendMode in m_nonInheritedData but we set isInSubtreeWithBlendMode in m_rareInheritedData. So there will be no easy way to check the blendMode() of the parent elements all the way up till the root and check any of them is not equal to BlendMode::Normal to add PaintBehavior::DontShowVisitedLinks to the drawing paintBehavior in this case.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug