[Webkit-unassigned] [Bug 18220] New: XHTML MIME type breaks layouts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 30 11:21:22 PDT 2008


           Summary: XHTML MIME type breaks layouts
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ksosjq102 at sneakemail.com

If I send valid XHTML content as application/xhtml+xml rather than text/html,
numerous things go horribly wrong with the layout, especially with the
interpretation of the body tag.

A simple example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
    <body style="margin: 0px; width: 100%; height: 100%; background-color:

When sent as XHTML, WebKit refuses to paint the background color across the
entire background. Additional content will evoke strange margin behavior all
around and nothing will render as expected. When sent as HTML, it does the
right thing.

The one and only reason I care about this is because sending documents as
application/xhtml+xml is required in order to get inline SVG to work.

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