<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>155516</bug_id>
          
          <creation_ts>2016-03-15 15:18:13 -0700</creation_ts>
          <short_desc>ASSERT_NOT_REACHED on imported/w3c/web-platform-tests/html/semantics/embedded-content/the-area-element/area-coords.html</short_desc>
          <delta_ts>2023-12-18 08:20:33 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>Safari 9</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>161216</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=125781</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>lforschler</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1175141</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-03-15 15:18:13 -0700</bug_when>
    <thetext>imported/w3c/web-platform-tests/html/semantics/embedded-content/the-area-element/area-coords.html asserts every time.

It&apos;s been marked as flaky upon importing, but it doesn&apos;t seem useful to have it crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1175147</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-03-15 15:22:55 -0700</bug_when>
    <thetext>Updated test results in r198232.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1175162</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-03-15 15:37:27 -0700</bug_when>
    <thetext>rdar://problem/24929497</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1175163</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-03-15 15:38:06 -0700</bug_when>
    <thetext>1   com.apple.WebCore             	0x000000010aedcaa1 WebCore::minimumValueForLength(WebCore::Length const&amp;, WebCore::LayoutUnit, bool) + 305
2   com.apple.WebCore             	0x000000010a395dcc WebCore::HTMLAreaElement::getRegion(WebCore::LayoutSize const&amp;) const + 2060
3   com.apple.WebCore             	0x000000010a395159 WebCore::HTMLAreaElement::mapMouseEvent(WebCore::LayoutPoint, WebCore::LayoutSize const&amp;, WebCore::HitTestResult&amp;) + 137
4   com.apple.WebCore             	0x000000010a43fda2 WebCore::HTMLMapElement::mapMouseEvent(WebCore::LayoutPoint, WebCore::LayoutSize const&amp;, WebCore::HitTestResult&amp;) + 242
5   com.apple.WebCore             	0x000000010b3b4d92 WebCore::RenderImage::nodeAtPoint(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::HitTestAction) + 546
6   com.apple.WebCore             	0x000000010b493bd6 WebCore::RenderObject::hitTest(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::HitTestFilter) + 118
7   com.apple.WebCore             	0x000000010a6438c0 WebCore::InlineElementBox::nodeAtPoint(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::LayoutUnit, WebCore::LayoutUnit, WebCore::HitTestAction) + 352
8   com.apple.WebCore             	0x000000010a64cba3 WebCore::InlineFlowBox::nodeAtPoint(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::LayoutUnit, WebCore::LayoutUnit, WebCore::HitTestAction) + 979
9   com.apple.WebCore             	0x000000010b63874a WebCore::RootInlineBox::nodeAtPoint(WebCore::HitTestRequest const&amp;, WebCore::HitTestResult&amp;, WebCore::HitTestLocation const&amp;, WebCore::LayoutPoint const&amp;, WebCore::LayoutUnit, WebCore::LayoutUnit, WebCore::HitTestAction) + 410
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1180949</commentid>
    <comment_count>4</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2016-04-05 13:32:13 -0700</bug_when>
    <thetext>It asserts because &quot;.4&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000383</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-12-18 06:25:04 -0800</bug_when>
    <thetext>(In reply to zalan from comment #4)
&gt; It asserts because &quot;.4&quot; string is considered an invalid integral number and
&gt; newCoordsArray() does not handle this error case very well.
&gt; However it seems the spec changed so that now coords attribute can have
&gt; floating point numbers.
&gt; (https://html.spec.whatwg.org/multipage/embedded-content.html#attr-area-
&gt; coords)
&gt; So instead of fixing newCoordsArray(), we should move over to floating-point
&gt; attribute parsing.

https://searchfox.org/wubkat/rev/dcd42ae35333b577043cbe9e3eda1c4a5c66a471/Source/WebCore/html/HTMLAreaElement.cpp#74

We have &apos;parseHTMLListOfOfFloatingPointNumberValues(newValue.string());&apos;.

Do we need anything else? We don&apos;t have it as flaky expectation for any platform.

We can mark this as &apos;RESOLVED CONFIGURATION CHANGED&apos; IMO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000415</commentid>
    <comment_count>6</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-12-18 08:15:20 -0800</bug_when>
    <thetext>progressed at r205095

*** This bug has been marked as a duplicate of bug 161216 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2000418</commentid>
    <comment_count>7</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2023-12-18 08:20:33 -0800</bug_when>
    <thetext>actually progressed at r205030 (duplicate bugzilla is still valid)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>