<?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>34709</bug_id>
          
          <creation_ts>2010-02-08 10:01:11 -0800</creation_ts>
          <short_desc>[WinCairo] Properly Handle Header in Plugin Print Positioning</short_desc>
          <delta_ts>2010-02-08 10:30:34 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</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="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>188665</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2010-02-08 10:01:11 -0800</bug_when>
    <thetext>Correct WinCairo plugin print positioning to account for header size.  Existing code ignored this, causing plugins to overlay other elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188668</commentid>
    <comment_count>1</comment_count>
      <attachid>48340</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2010-02-08 10:09:02 -0800</bug_when>
    <thetext>Created attachment 48340
Account for header height in Cairo *and* GDI contexts

Header height must be incorporated into the GDI World Transform so that plugins are positioned properly in print output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188669</commentid>
    <comment_count>2</comment_count>
      <attachid>48340</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-02-08 10:11:16 -0800</bug_when>
    <thetext>Comment on attachment 48340
Account for header height in Cairo *and* GDI contexts

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>188681</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2010-02-08 10:30:34 -0800</bug_when>
    <thetext>Landed in http://trac.webkit.org/changeset/54494.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48340</attachid>
            <date>2010-02-08 10:09:02 -0800</date>
            <delta_ts>2010-02-08 10:11:15 -0800</delta_ts>
            <desc>Account for header height in Cairo *and* GDI contexts</desc>
            <filename>plugin_header.patch</filename>
            <type>text/plain</type>
            <size>1817</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC93aW4vQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC93aW4vQ2hh
bmdlTG9nCShyZXZpc2lvbiA1NDQ5MykKKysrIFdlYktpdC93aW4vQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTAtMDItMDggIEJyZW50IEZ1bGdoYW0gIDxiZnVs
Z2hhbUB3ZWJraXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgor
CisgICAgICAgIEluY2x1ZGUgaGVhZGVyIHBvc2l0aW9uIGluIFdvcmxkIFRyYW5zZm9ybSB1c2Vk
IGZvciBwbHVnaW4gcG9zaXRpb25pbmcuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3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xhdGUoY2Fpcm9NYXJnaW5SZWN0LngoKSwg
Y2Fpcm9NYXJnaW5SZWN0LnkoKSk7CisgICAgc3Bvb2xDdHgtPnRyYW5zbGF0ZShjYWlyb01hcmdp
blJlY3QueCgpLCBjYWlyb01hcmdpblJlY3QueSgpICsgaGVhZGVySGVpZ2h0KTsKIAogICAgIC8v
IE1vZGlmeSBDYWlybyAob25seSkgdG8gYWNjb3VudCBmb3IgcGFnZSBwb3NpdGlvbi4KLSAgICBj
YWlyb190cmFuc2xhdGUocGN0eCwgLXBhZ2VSZWN0LngoKSwgLXBhZ2VSZWN0LnkoKSArIGhlYWRl
ckhlaWdodCk7CisgICAgY2Fpcm9fdHJhbnNsYXRlKHBjdHgsIC1wYWdlUmVjdC54KCksIC1wYWdl
UmVjdC55KCkpOwogICAgIGNvcmVGcmFtZS0+dmlldygpLT5wYWludENvbnRlbnRzKHNwb29sQ3R4
LCBwYWdlUmVjdCk7CiAKLSAgICBjYWlyb190cmFuc2xhdGUocGN0eCwgcGFnZVJlY3QueCgpLCBw
YWdlUmVjdC55KCkgLSBoZWFkZXJIZWlnaHQpOworICAgIGNhaXJvX3RyYW5zbGF0ZShwY3R4LCBw
YWdlUmVjdC54KCksIHBhZ2VSZWN0LnkoKSk7CiAKICAgICBYRk9STSBvcmlnaW5hbFdvcmxkOwog
ICAgIDo6R2V0V29ybGRUcmFuc2Zvcm0ocHJpbnREQywgJm9yaWdpbmFsV29ybGQpOwo=
</data>
<flag name="review"
          id="31008"
          type_id="1"
          status="+"
          setter="aroben"
    />
          </attachment>
      

    </bug>

</bugzilla>