<?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>158781</bug_id>
          
          <creation_ts>2016-06-15 06:18:37 -0700</creation_ts>
          <short_desc>[Win] Rendering is not scaled correctly if process is DPI aware.</short_desc>
          <delta_ts>2016-06-17 04:21:15 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Per Arne Vollan">pvollan</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1202546</commentid>
    <comment_count>0</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-06-15 06:18:37 -0700</bug_when>
    <thetext>This only happens in accelerated compositing mode.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202548</commentid>
    <comment_count>1</comment_count>
      <attachid>281353</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-06-15 06:24:48 -0700</bug_when>
    <thetext>Created attachment 281353
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202554</commentid>
    <comment_count>2</comment_count>
      <attachid>281353</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2016-06-15 06:41:23 -0700</bug_when>
    <thetext>Comment on attachment 281353
Patch

This change looks reasonable, but I wish we had a test case that protected us from this happening again. Do we have any test cases to show this problem? How did you realize this was not working properly?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1202560</commentid>
    <comment_count>3</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-06-15 07:09:31 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Comment on attachment 281353 [details]
&gt; Patch
&gt; 
&gt; This change looks reasonable, but I wish we had a test case that protected
&gt; us from this happening again. Do we have any test cases to show this
&gt; problem? How did you realize this was not working properly?

I don&apos;t think we currently have any test cases since DumpRenderTree is not DPI aware. I noticed the bug when browsing with MiniBrowser, which is DPI aware now. Maybe we should create some tests where DumpRenderTree is DPI aware?

Thanks for reviewing :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1203285</commentid>
    <comment_count>4</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2016-06-17 04:21:15 -0700</bug_when>
    <thetext>Committed r202163: &lt;https://trac.webkit.org/changeset/202163&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>281353</attachid>
            <date>2016-06-15 06:24:48 -0700</date>
            <delta_ts>2016-06-15 06:41:23 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-158781-20160615062625.patch</filename>
            <type>text/plain</type>
            <size>1593</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQvd2luL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2Uv
V2ViS2l0L3dpbi9DaGFuZ2VMb2cJKHJldmlzaW9uIDIwMjA4OC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V0TmVlZHNEaXNwbGF5KCk7CiAgICAgICAgICAgICBtX2xheWVyVHJlZUhvc3Qt
PnNldFJvb3RDaGlsZExheWVyKFBsYXRmb3JtQ0FMYXllcjo6cGxhdGZvcm1DQUxheWVyKG1fYmFj
a2luZ0xheWVyLT5wbGF0Zm9ybUxheWVyKCkpKTsKIAorICAgICAgICAgICAgVHJhbnNmb3JtYXRp
b25NYXRyaXggbTsKKyAgICAgICAgICAgIG0uc2NhbGUoZGV2aWNlU2NhbGVGYWN0b3IoKSk7Cisg
ICAgICAgICAgICBtX2JhY2tpbmdMYXllci0+c2V0QW5jaG9yUG9pbnQoRmxvYXRQb2ludDNEKCkp
OworICAgICAgICAgICAgbV9iYWNraW5nTGF5ZXItPnNldFRyYW5zZm9ybShtKTsKKwogICAgICAg
ICAgICAgLy8gV2UgYXJlbid0IGdvaW5nIHRvIGJlIHVzaW5nIG91ciBiYWNraW5nIHN0b3JlIHdo
aWxlIHdlJ3JlIGluIGFjY2VsZXJhdGVkIGNvbXBvc2l0aW5nCiAgICAgICAgICAgICAvLyBtb2Rl
LiBCdXQgZG9uJ3QgZGVsZXRlIGl0IGltbWVkaWF0ZWx5LCBpbiBjYXNlIHdlIHN3aXRjaCBvdXQg
b2YgYWNjZWxlcmF0ZWQKICAgICAgICAgICAgIC8vIGNvbXBvc2l0aW5nIG1vZGUgc29vbiAoZS5n
LiwgaWYgd2UncmUgb25seSBjb21wb3NpdGluZyBmb3IgYSA6aG92ZXIgYW5pbWF0aW9uKS4K
</data>
<flag name="review"
          id="305207"
          type_id="1"
          status="+"
          setter="bfulgham"
    />
          </attachment>
      

    </bug>

</bugzilla>