WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
264641
Update :link/:visited style when changing href
https://bugs.webkit.org/show_bug.cgi?id=264641
Summary
Update :link/:visited style when changing href
Ahmad Saleem
Reported
2023-11-10 15:46:26 PST
Hi Team, While going through Blink's commit, I came across another failing test case: Test Case:
https://jsfiddle.net/neqv0rfs/
^ Red square in STP182 but 'Green' in Chrome Canary 121 and Firefox Nightly 121. Blink Commit:
https://chromium.googlesource.com/chromium/blink/+/bda06cb3d802ea18369a5757b51a2822712a0b90
Just wanted to raise so we can fix it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-11-10 15:48:14 PST
https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLAnchorElement.cpp#239
Here in 'HTMLAnchorElement::attributeChanged', we call following at start of function: HTMLElement::attributeChanged(name, oldValue, newValue, attributeModificationReason); Should it be done also at end of function?
Radar WebKit Bug Importer
Comment 2
2023-11-17 15:47:13 PST
<
rdar://problem/118583589
>
Alexsander Borges Damaceno
Comment 3
2024-11-21 08:34:27 PST
I had a look into this one, when we remove this line link.offsetTop, it works fine, but when we call this member, it fails, I have not find the reason.
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