[Webkit-unassigned] [Bug 15136] New: Incorrect error handling in Safari 3 results broken layout on http://skapiec.pl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 3 04:57:16 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15136

           Summary: Incorrect error handling in Safari 3 results broken
                    layout on http://skapiec.pl
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
               URL: http://skapiec.pl
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: listy at blaut.biz


1. Go to the page http://skapiec.pl
2. Notice a broken layout. 

This is caused by in incorrect error handling in Safari 3. 

The below code causes this behavior. Notice opening h3 tag and closing h1 tag.

<h3 id="logo"><a title="Sk±piec.pl - Strona g³ówna" href="/"><img
src="http://pic.skapiec.pl/_i/img2/logo.png" alt="Skapiec.pl - kupuj
najtaniej"/></a></h1>

I've created minimal test case for this bug:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
        <head>
                <title>Test case for error handling in Safari 3 - found bug on
http://skapiec.pl</title>
                <style type="text/css" media="all">
                        #test1 { float:left; background-color:green;
width:100px; height: 100px;}
                        #test2 { float:right; background-color:blue;
width:100px; height: 100px;}
                        p {border: 1px solid blue;}
                </style>
        </head>
        <body>
                        <h3 id="test1"></h1>
                        <div id="test2"></div>
        <p>There should be two boxes on the page - green and blue. The text
should be placed between these two boxes.</p>
        </body>
</html>

Expected result:
This code should render two boxes on the page - green and blue and the text on
the page should be placed between these two boxes.

Actual result.
Blue box covers the green one. And the text is rendered below blue box.

Other tested browsers: Firefox 2, Opera 9 and Internet Explorer 7 have no
problem with it. Only Safari 3 renders it incorrectly.


-- 
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