[Webkit-unassigned] [Bug 61782] New: -webkit-box and friends don't work in XML mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 31 05:59:04 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61782

           Summary: -webkit-box and friends don't work in XML mode
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bero at arklinux.org


This works fine:

<html>
<head>
<style type="text/css">
.centerbox {
        display: -webkit-box;
        -webkit-box-orient: horizontal;
        -webkit-box-pack: center;
        -webkit-box-align: center;
        min-width: 100%;
        min-height: 100%;
}
</style>
</head>
<body style="width: 100%; margin: 0; padding: 0;">
<div id="test" class="centerbox">
<p>Centered horizontally and vertically</p>
</div>
</body>
</html>


But this refuses to do vertical centering even though the correct style attributes still show up in Inspector:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.centerbox {
        display: -webkit-box;
        -webkit-box-orient: horizontal;
        -webkit-box-pack: center;
        -webkit-box-align: center;
        min-width: 100%;
        min-height: 100%;
}
</style>
</head>
<body style="width: 100%; margin: 0; padding: 0;">
<div id="test" class="centerbox">
<p>Centered horizontally and vertically</p>
</div>
</body>
</html>

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



More information about the webkit-unassigned mailing list