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

List:       konq-bugs
Subject:    [Bug 252280] New: [CSS 2.1 Conformance] border-top 2.54cm is not
From:       Gérard Talbot  <browserbugs () gtalbot ! org>
Date:       2010-09-24 18:42:58
Message-ID: bug-252280-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: [CSS 2.1 Conformance] border-top 2.54cm is not
                    rendered, not computed the same for height
           Product: konqueror
           Version: 4.4.5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: khtml
        AssignedTo: konq-bugs@kde.org
        ReportedBy: browserbugs@gtalbot.org


Version:           4.4.5 (using KDE 4.4.5) 
OS:                Linux

Testcase:
http://test.csswg.org/suites/css2.1/20100917/html4/min-height-039.htm
coming from CSS 2.1 test suite, RC1

Description:
#div3 {border-top: 2.54cm solid black;}
is computed and rendered as 95px and not as 96px
(when using screen resolution of 96px/inch)

Relevant code chunk:
            #div2
            {
                background: black;
                min-height: 2.54cm;
                width: 1in;
            }
            #div3
            {
                border-top: 2.54cm solid black;
                left: 1.1in;
                position: absolute;
                top: 0;
                width: 1in;
            }

Ideally, Konqueror should manage fractional pixel the same (rounding up,
rounding down) for all properties, otherwise like other browsers manage such
situation. 

Reproducible: Always

Steps to Reproduce:
Testcase:
http://test.csswg.org/suites/css2.1/20100917/html4/min-height-039.htm
coming from CSS 2.1 test suite, RC1

Actual Results:  
#div3's border-top-width is 95px on the screen and in DOM treeviewer's computed
style. 
#div3 (right-most black square) is 1 pixel smaller than #div2 (left-most black
square)

Expected Results:  
#div3's border-top-width should be 96px on the screen and in DOM treeviewer's
computed style
#div3 (right-most black square) has the exact same height as #div2 (left-most
black square)

Konqueror 4.4.5; Linux 2.6.31-19-generic; Kubuntu distribution

regards, Gérard

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