<?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>161126</bug_id>
          
          <creation_ts>2016-08-23 23:34:11 -0700</creation_ts>
          <short_desc>menclose is not displayed correctly when zooming in / out</short_desc>
          <delta_ts>2017-12-20 09:17:48 -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>MathML</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=181037</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>160077</dependson>
    
    <dependson>161127</dependson>
          <blocked>170229</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Frédéric Wang Nélar">fred.wang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>distler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1222602</commentid>
    <comment_count>0</comment_count>
      <attachid>286836</attachid>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2016-08-23 23:34:11 -0700</bug_when>
    <thetext>Created attachment 286836
Testcase

The attached testcase was provided by Jacques Distler (from https://golem.ph.utexas.edu/wiki/instiki/show/Sandbox).

When you zoom in / out, the slash and &apos;D&apos; elements are no longer displayed correctly. This is probably because we store two members m_ascent &amp; m_contentRect on the renderer class and thy are not updated when zooming in / out. In general, in the past the solution for this kind of problem has been to get rid of these members. That&apos;s at least easy for m_ascent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1376028</commentid>
    <comment_count>1</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2017-11-29 14:14:34 -0800</bug_when>
    <thetext>@Jacques: Do you still have the issue? I can&apos;t reproduce it with the testcase on WebKitBuild nightly or epiphany release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1376185</commentid>
    <comment_count>2</comment_count>
    <who name="Jacques Distler">distler</who>
    <bug_when>2017-11-29 18:50:52 -0800</bug_when>
    <thetext>Seems to work fine now (Safari 11.0.1 (12604.3.5.1.1), MacOSX).

And it does not seem to be an issue in iOS 11.1.2 either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1376242</commentid>
    <comment_count>3</comment_count>
    <who name="Frédéric Wang Nélar">fred.wang</who>
    <bug_when>2017-11-30 00:08:40 -0800</bug_when>
    <thetext>Thanks. I&apos;m not sure what resolved this. Maybe bug 161127 helped but it was probably not enough. Also, there was bug 160077 where I worked on that Dirac equation too but I don&apos;t remember exactly. Let&apos;s marked it as fixed.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>286836</attachid>
            <date>2016-08-23 23:34:11 -0700</date>
            <delta_ts>2016-08-23 23:34:11 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>dirac-equation.html</filename>
            <type>text/html</type>
            <size>579</size>
            <attacher name="Frédéric Wang Nélar">fred.wang</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPHRpdGxlPkRpcmFjIEVxdWF0aW9u
PC90aXRsZT4KICAgIDxtZXRhIGNoYXJzZXQ9InV0Zi04Ii8+CiAgPC9oZWFkPgogIDxib2R5PgoK
ICAgIDxtYXRoIGNsYXNzPSJtYXJ1a3UtbWF0aG1sIiBkaXNwbGF5PSJibG9jayIgeG1sbnM9Imh0
dHA6Ly93d3cudzMub3JnLzE5OTgvTWF0aC9NYXRoTUwiPjxzZW1hbnRpY3M+PG1yb3c+PG1lbmNs
b3NlIG5vdGF0aW9uPSJib3giPjxtcm93PjxtbyBzdHJldGNoeT0iZmFsc2UiPig8L21vPjxtaT5p
PC9taT48bWVuY2xvc2Ugbm90YXRpb249InVwZGlhZ29uYWxzdHJpa2UiPjxtaT5EPC9taT48L21l
bmNsb3NlPjxtbz4rPC9tbz48bWk+bTwvbWk+PG1vIHN0cmV0Y2h5PSJmYWxzZSI+KTwvbW8+PG1p
Ps+IPC9taT48bW8+PTwvbW8+PG1uPjA8L21uPjwvbXJvdz48L21lbmNsb3NlPjwvbXJvdz48YW5u
b3RhdGlvbiBlbmNvZGluZz0iYXBwbGljYXRpb24veC10ZXgiPlxib3hlZHsoaVxzbGFzaHtEfStt
KVxwc2kgPSAwfTwvYW5ub3RhdGlvbj48L3NlbWFudGljcz48L21hdGg+CiAgICAKICA8L2JvZHk+
CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>