<?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>13249</bug_id>
          
          <creation_ts>2007-03-31 17:58:34 -0700</creation_ts>
          <short_desc>webkit adds margin when setting frame border to 0.</short_desc>
          <delta_ts>2022-07-07 12:10: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>Frames</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>http://www.quackit.com/html/tutorial/frame_example_frameset_3.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jacob Rus">jacobolus</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15885</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Rus">jacobolus</who>
    <bug_when>2007-03-31 17:58:34 -0700</bug_when>
    <thetext>I couldn&apos;t get webkit to render a frame with no borders and no margin in WebKit, so I assumed I was doing something wrong, and went looking for some online reference.  I found a [frames tutorial][1] that explained how a web designer should get around this problem:

  &gt; You can get rid of the borders if you like. Officially,
  &gt; you do this using frameborder=&quot;0&quot;. I say, officially
  &gt; because this is what the HTML specification specifies.
  &gt; Having said that, different browsers support different
  &gt; attributes, so for maximum browser support, use the
  &gt; frameborder, border, and framespacing attributes.

[1]: http://www.quackit.com/html/tutorial/html_frames.cfm

Unfortunately, even setting all of these leaves an unsightly white margin in WebKit (though not in Gecko).  The tutorial&apos;s minimal test case is [here](http://www.quackit.com/html/tutorial/frame_example_frameset_3.html).

Interestingly, setting a 1 pixel border eliminates this margin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1881426</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-07 12:10:15 -0700</bug_when>
    <thetext>The sample page appears to work properly now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>