[Webkit-unassigned] [Bug 13249] New: webkit adds margin when setting frame border to 0.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 31 17:58:35 PDT 2007


           Summary: webkit adds margin when setting frame border to 0.
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://www.quackit.com/html/tutorial/frame_example_frame
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jacobolus at gmail.com

I couldn'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:

  > You can get rid of the borders if you like. Officially,
  > you do this using frameborder="0". I say, officially
  > because this is what the HTML specification specifies.
  > Having said that, different browsers support different
  > attributes, so for maximum browser support, use the
  > 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's minimal test case is

Interestingly, setting a 1 pixel border eliminates this margin.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list