[Webkit-unassigned] [Bug 226972] CSSStyleDeclaration.overscrollBehaviorX setter behaves differently from Chrome and Firefox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 15 09:53:21 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=226972

--- Comment #4 from Sam Weinig <sam at webkit.org> ---
Oh, actually, this is probably due to OverscrollBehaviorEnabled being disabled, in which case this is behaving correctly.

If OverscrollBehaviorEnabled is disable, the property case behaves as if there is nothing called obj.overscrollBehaviorX, so just the same as obj.fakeProperty = 1 would. It sets an "expando" / custom property on the object.

If OverscrollBehaviorEnabled is enabled, this will throw, as the property exists and is readonly due to the declaration being a computed style.


My guess is that chrome and Firefox have support for overscroll-behavior-x enabled by default.

I think this is behaves correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210615/96eef3e4/attachment.htm>


More information about the webkit-unassigned mailing list