[Webkit-unassigned] [Bug 155516] ASSERT_NOT_REACHED on imported/w3c/web-platform-tests/html/semantics/embedded-content/the-area-element/area-coords.html
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 18 06:25:04 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=155516
Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ahmad.saleem792 at gmail.com
--- Comment #5 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to zalan from comment #4)
> It asserts because ".4" string is considered an invalid integral number and
> newCoordsArray() does not handle this error case very well.
> However it seems the spec changed so that now coords attribute can have
> floating point numbers.
> (https://html.spec.whatwg.org/multipage/embedded-content.html#attr-area-
> coords)
> So instead of fixing newCoordsArray(), we should move over to floating-point
> attribute parsing.
https://searchfox.org/wubkat/rev/dcd42ae35333b577043cbe9e3eda1c4a5c66a471/Source/WebCore/html/HTMLAreaElement.cpp#74
We have 'parseHTMLListOfOfFloatingPointNumberValues(newValue.string());'.
Do we need anything else? We don't have it as flaky expectation for any platform.
We can mark this as 'RESOLVED CONFIGURATION CHANGED' IMO.
--
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/20231218/6c3e525d/attachment.htm>
More information about the webkit-unassigned
mailing list