Bug 257758

Summary: JS / SVG: Error when removing lengthAdjust attribute
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karlcow, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
testcase none

Ahmad Saleem
Reported 2023-06-06 12:03:21 PDT
Hi Team, I came across another failing testcase in Safari Technology Preview 171 and WebKit ToT: Test Case: https://jsfiddle.net/dty3koox/ ^ Safari shows following: lengthAdjust before removeAttribute: 2 lengthAdjust after removeAttribute: 2 <-------- 'It is 1 in other browsers e.g., Chrome Canary 116 and Firefox Nightly 115' Blink Bug: crbug.com/523685 ^ It might not be 1-1 merge, just wanted to raise for our tracking purposes. Thanks!
Attachments
testcase (924 bytes, text/html)
2023-06-14 01:50 PDT, Karl Dubost
no flags
Radar WebKit Bug Importer
Comment 1 2023-06-13 12:04:19 PDT
Karl Dubost
Comment 2 2023-06-14 01:50:35 PDT
Created attachment 466689 [details] testcase Confirmed.
Ahmad Saleem
Comment 3 2024-01-12 04:02:08 PST
https://searchfox.org/wubkat/rev/889804f28206ffa2dd7930e2e52df50dc4260049/Source/WebCore/svg/SVGElement.cpp#150 Here adding: if (value.isNull()) return; ___ Haven't tried but will try and see, if it works.
Ahmad Saleem
Comment 4 2024-01-12 04:09:08 PST
(In reply to Ahmad Saleem from comment #3) > https://searchfox.org/wubkat/rev/889804f28206ffa2dd7930e2e52df50dc4260049/ > Source/WebCore/svg/SVGElement.cpp#150 > > Here adding: > > if (value.isNull()) > return; > > ___ > > Haven't tried but will try and see, if it works. Didn't work.
Note You need to log in before you can comment on or make changes to this bug.