<?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>107656</bug_id>
          
          <creation_ts>2013-01-23 03:10:56 -0800</creation_ts>
          <short_desc>Coordinated Graphics: CoordinatedLayerTreeHost::sizeDidChange uses the size in css unit, not device unit.</short_desc>
          <delta_ts>2013-03-10 20:01:43 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          <dependson>105978</dependson>
          <blocked>103105</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dongseong Hwang">dongseong.hwang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>814062</commentid>
    <comment_count>0</comment_count>
    <who name="Dongseong Hwang">dongseong.hwang</who>
    <bug_when>2013-01-23 03:10:56 -0800</bug_when>
    <thetext>CoordinatedLayerTreeHost::sizeDidChange set the size of WebPage to GraphicsLayer, and the size is in device units.

void CoordinatedLayerTreeHost::sizeDidChange(const WebCore::IntSize&amp; newSize)
{
    if (m_rootLayer-&gt;size() == newSize)
        return;

    m_rootLayer-&gt;setSize(newSize);

    // If the newSize exposes new areas of the non-composited content a setNeedsDisplay is needed
    // for those newly exposed areas.
    FloatSize oldSize = m_nonCompositedContentLayer-&gt;size();
    m_nonCompositedContentLayer-&gt;setSize(newSize);
    ...
}

But all other child layer has the size in css unit.

I don&apos;t find any artifact yet, because TBS paints entire contents for non composited layer. But it is a potential bug.

In addition, I&apos;m not sure if WebPage should use the size in device unit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>814084</commentid>
    <comment_count>1</comment_count>
    <who name="Dongseong Hwang">dongseong.hwang</who>
    <bug_when>2013-01-23 03:56:31 -0800</bug_when>
    <thetext>I think it may be related to Bug 104906</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>852024</commentid>
    <comment_count>2</comment_count>
    <who name="Dongseong Hwang">dongseong.hwang</who>
    <bug_when>2013-03-10 20:01:43 -0700</bug_when>
    <thetext>Bug 111407 works in progress about refactoring CoordinatedLayerTreeHost::sizeDidChange.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>