<?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>24972</bug_id>
          
          <creation_ts>2009-03-31 17:37:25 -0700</creation_ts>
          <short_desc>scrollbars of iframe can&apos;t be added by javascript</short_desc>
          <delta_ts>2009-03-31 18:22:35 -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>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>24070</dup_id>
          
          <bug_file_loc>http://www.w3schools.com/js/tryit.asp?filename=try_dom_iframe_scrolling</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="jasneet">jasneet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jasneet</cc>
    
    <cc>zwarich</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116107</commentid>
    <comment_count>0</comment_count>
    <who name="jasneet">jasneet</who>
    <bug_when>2009-03-31 17:37:25 -0700</bug_when>
    <thetext>I Steps:
Go to http://www.w3schools.com/js/tryit.asp?filename=try_dom_iframe_scrolling
On right side of page, click &quot;Add Scrollbars&quot; button

II Issue: 
Scrollbar not added to the iframe.

III Conclusion:
IE/Firefox, the property &quot;scrolling&quot; could be set to &quot;yes&quot; dynamically by javascript, however Chrome/Safari doesn&apos;t support this way.

IV Other Browsers:
FF3: OK
IE7: OK 

V Nightly tested: 42138

Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=8490</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116108</commentid>
    <comment_count>1</comment_count>
      <attachid>29145</attachid>
    <who name="jasneet">jasneet</who>
    <bug_when>2009-03-31 17:39:10 -0700</bug_when>
    <thetext>Created attachment 29145
reduced testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116114</commentid>
    <comment_count>2</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2009-03-31 17:50:43 -0700</bug_when>
    <thetext>This is a known bug (it is mentioned in the comments of HTMLFrameElement.cpp) but I am not sure there is another Bugzilla entry for it. I couldn&apos;t find one after a cursory search.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116121</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2009-03-31 18:22:35 -0700</bug_when>
    <thetext>Ah, I found it. The other bug has a patch up for review to fix the bug.

*** This bug has been marked as a duplicate of 24070 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>29145</attachid>
            <date>2009-03-31 17:39:10 -0700</date>
            <delta_ts>2009-03-31 17:39:10 -0700</delta_ts>
            <desc>reduced testcase</desc>
            <filename>testcase.zip</filename>
            <type>application/zip</type>
            <size>617</size>
            <attacher name="jasneet">jasneet</attacher>
            
              <data encoding="base64">UEsDBBQAAAAIAEdvajrJQzkhbAAAAIoAAAAMAAAAZnJhbWVfYS5odG1ss8koyc2xU+DlsknKT6lU
SEpPzs/JL7JVUjYzc3Z2c1OyA8qUJCblpCqUZ6aUZNgqmRoYKClkpGamZ5TYKhkDOWAVRXY2JSlg
YzKM7dyKEnNTFRxt9IFskJA+UApIFNmB2SDDwCyQhRB5sBsAUEsDBBQAAAAIAClwajp9c3jWFwEA
ACoCAAAQAAAAdGVzdC1xdWlya3MuaHRtbJ2SMU/DMBCFZyr1P5xuaSKhWOxNpSIxsMLAiBz72hoc
O7IvhQjx37FjWhAsiMn2u9P37p68PnBvN8vF+kBS5zOqYAYGngZqkemVxZM8yqJiatiNTrHxDqTW
d9T7I92r4K2tjtLW8LZcXJhdpb0ae3LcSGvrJAGclT3xjaV8vZ5udYW7IHu6wrpR3nFSH4zT/qU5
93deT02cLdpkkWBkI/2RGYm3zMF0I1OFhWLcHi/zsMvFe9pXlNXy6uIzg3TNrlkyMwpiUG2hPsom
J4ZgdHvyAZeOr9fZpkXnETZrUSiZ1wUQM9cN4ynkNBx7h+CdskY9t/gz2dVEcVUjpKHH1L/VGkql
kyHif4DOf+OV0m+kOIUg5j/yAVBLAQIUABQAAAAIAEdvajrJQzkhbAAAAIoAAAAMAAAAAAAAAAEA
IAAAAAAAAABmcmFtZV9hLmh0bWxQSwECFAAUAAAACAApcGo6fXN41hcBAAAqAgAAEAAAAAAAAAAB
ACAAAACWAAAAdGVzdC1xdWlya3MuaHRtbFBLBQYAAAAAAgACAHgAAADbAQAAAAA=
</data>

          </attachment>
      

    </bug>

</bugzilla>