[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 264985] New: [CSS 2.1 Conformance] [testcase] Containing block
From:       GĂ©rard Talbot  <browserbugs () gtalbot ! org>
Date:       2011-01-31 17:49:37
Message-ID: bug-264985-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=264985

           Summary: [CSS 2.1 Conformance] [testcase] Containing block and
                    absolutely positioned element in @media print page
                    triggers an application crash when attempting to print
           Product: konqueror
           Version: 4.5.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs@kde.org
        ReportedBy: browserbugs@gtalbot.org


Version:           4.5.5 (using KDE 4.5.5) 
OS:                Linux

Testcase URL
------------

http://test.csswg.org/suites/css2.1/20110111/html4/containing-block-024.htm

Relevant code
-------------

       <style type="text/css">
            @media print
            {
                #print
                {
                    display: none;
                }
                p
                {
                    margin-top: 1.1in;
                    page-break-after: always;
                }
                div
                {
                    border: solid black;
                    height: 1in;
                    left: 0;
                    position: absolute;
                    top: 0;
                    width: 1in;
                }
            }
        </style>
    </head>
    <body>
        <p id="print">PREREQUISITE: Switch to paged media view.</p>
        <p>Test passes if there is a black box above.</p>
        <div></div>

Reproducible: Always

Steps to Reproduce:
Load provided reduced self-explanatory testcase and try to print it

Actual Results:  
Konqueror 4.5.5 crashes

Expected Results:  
Konqueror 4.5.5 should print one single page.
Approximate expected page rendering is:

"
------------
|          |
|          |
|          |
|          |
------------

Test passes if there is a black box above.
"

I will paste a backtrace just as described in
http://techbase.kde.org/User:DarioAndres/Basic_Guide_about_Crash_Reporting#Backtraces

Konqueror 4.5.5, Linux 2.6.35-25-generic-pae, i686 (32bits), Qt 4.7.0 here.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic