[Webkit-unassigned] [Bug 10798] New: Implement elementRef.clientLeft and elementRef.clientTop

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Sep 9 19:55:15 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10798

           Summary: Implement elementRef.clientLeft and elementRef.clientTop
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
               URL: http://www.gtalbot.org/BugzillaSection/DocumentAllDHTMLp
                    roperties.html
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: browserbugs at gtalbot.org


In order to fully and completely implement MSIE's DHTML object model,
webkit/Safari needs to implement also clientLeft and clientTop.

Steps to reproduce
------------------
1- Load provided URL

Actual results in Swift 0.1
---------------------------
clientLeft and clientTop are undefined

Expected results
----------------
clientLeft and clientTop should be 24. In case of rtl text direction,
clientLeft should be equal to 24 + width of vertical scrollbar ~= 41

Note that clientLeft includes (and should include) the width of the vertical
scrollbar when the text direction is right to left and when there is an
overflow.

"clientLeft, clientHeight. The distance from the outer border edge to where the 
view port begins. This is usually the same as left-border-width but in case 
there is a scroll bar placed on the left side (for international use?) this 
should be inlcuded as well."
https://bugzilla.mozilla.org/show_bug.cgi?id=62536#c101

Documentation:
--------------

http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/clientleft.asp

http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/clienttop.asp

http://msdn.microsoft.com/workshop/author/om/measuring.asp

Severity set to minor since this is a DOM extension.

I searched for a duplicate and could not find any.


-- 
Configure bugmail: http://bugzilla.opendarwin.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