Bug 264641
| Summary: | Update :link/:visited style when changing href | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | karlcow, ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=61697 | ||
Ahmad Saleem
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
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
<rdar://problem/118583589>
Alexsander Borges Damaceno
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.