Bug 265266 - suspendRedraw should return '1' rather than '0'
Summary: suspendRedraw should return '1' rather than '0'
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-22 14:00 PST by Ahmad Saleem
Modified: 2023-11-27 13:35 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-11-22 14:00:28 PST
Hi Team,

While looking into SVGSVGElement.idl, interface and reading spec, I noticed that 'suspendRedraw' should return 1 rather than 0.

Web-Spec: https://svgwg.org/svg2-draft/struct.html#InterfaceSVGSVGElement

"When the suspendRedraw method is called, it must return 1."

WebKit Source: https://searchfox.org/wubkat/rev/225be872c8ca8c801d73c28d87205f6bef773846/Source/WebCore/svg/SVGSVGElement.h#80

Just wanted to raise so we can fix it.

Thanks!
Comment 1 EWS 2023-11-27 13:34:34 PST
Committed 271168@main (3469748f1862): <https://commits.webkit.org/271168@main>

Reviewed commits have been landed. Closing PR #20835 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2023-11-27 13:35:16 PST
<rdar://problem/118849074>