<?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>142260</bug_id>
          
          <creation_ts>2015-03-03 21:34:03 -0800</creation_ts>
          <short_desc>[Win] Windows port is missing custom renderer for attachments</short_desc>
          <delta_ts>2015-03-04 13:28:01 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>142214</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1073971</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-03 21:34:03 -0800</bug_when>
    <thetext>The following layout test is failing on Windows.

fast/attachment/attachment-label-highlight.html

The failure looks like the following:

--- /home/buildbot/slave/win-release-tests/build/layout-test-results/fast/attachment/attachment-label-highlight-expected.txt
+++ /home/buildbot/slave/win-release-tests/build/layout-test-results/fast/attachment/attachment-label-highlight-actual.txt
@@ -1,14 +1,13 @@
 layer at (0,0) size 800x600
   RenderView at (0,0) size 800x600
-layer at (0,0) size 800x108
-  RenderBlock {HTML} at (0,0) size 800x108
-    RenderBody {BODY} at (8,8) size 784x92
-      RenderAttachment {ATTACHMENT} at (0,0) size 60x77
-      RenderAttachment {ATTACHMENT} at (60,0) size 90x92
-      RenderAttachment {ATTACHMENT} at (150,0) size 90x92
-      RenderAttachment {ATTACHMENT} at (240,0) size 96x92
-      RenderAttachment {ATTACHMENT} at (336,0) size 102x92
-      RenderAttachment {ATTACHMENT} at (438,0) size 106x92
+layer at (0,0) size 800x8
+  RenderBlock {HTML} at (0,0) size 800x8
+    RenderBody {BODY} at (8,8) size 784x0
+      RenderInline {ATTACHMENT} at (0,0) size 0x0
+      RenderInline {ATTACHMENT} at (0,0) size 0x0
+      RenderInline {ATTACHMENT} at (0,0) size 0x0
+      RenderInline {ATTACHMENT} at (0,0) size 0x0
+      RenderInline {ATTACHMENT} at (0,0) size 0x0
+      RenderInline {ATTACHMENT} at (0,0) size 0x0
       RenderText {#text} at (0,0) size 0x0
-selection start: position 0 of child 2 {ATTACHMENT} of body
-selection end:   position 1 of child 7 {ATTACHMENT} of body
+caret: position 0 of body</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073972</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-03 21:37:34 -0800</bug_when>
    <thetext>On Windows, the various {ATTACHMENT} elements are empty, and reporting as the wrong render type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073973</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-03 21:40:13 -0800</bug_when>
    <thetext>Based on Bug 142214, it looks like RenderThemeWin needs an implementation of this logic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073977</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2015-03-03 21:45:52 -0800</bug_when>
    <thetext>I landed non-Mac baselines in http://trac.webkit.org/changeset/180975; does Windows fall back on Mac still? Otherwise, why is it not using the platform independent baselines?

&gt; Based on Bug 142214, it looks like RenderThemeWin needs an implementation of this logic.

I wouldn&apos;t worry much about that yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073979</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-03 21:48:22 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; I landed non-Mac baselines in http://trac.webkit.org/changeset/180975; does
&gt; Windows fall back on Mac still? Otherwise, why is it not using the platform
&gt; independent baselines?

It does fall back to mac, but unfortunately the bots are not up to date with your patch. That will *probably* resolve this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073987</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2015-03-03 22:11:51 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #3)
&gt; &gt; I landed non-Mac baselines in http://trac.webkit.org/changeset/180975; does
&gt; &gt; Windows fall back on Mac still? Otherwise, why is it not using the platform
&gt; &gt; independent baselines?
&gt; 
&gt; It does fall back to mac, but unfortunately the bots are not up to date with
&gt; your patch. That will *probably* resolve this.

Well, no, probably not, because Mac has results that are different than everyone else. So if Windows falls back there it will still fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1074202</commentid>
    <comment_count>6</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-03-04 13:28:01 -0800</bug_when>
    <thetext>This bug is the cause of &apos;fast/attachment/attachment-rendering.html&apos; failing as well.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>