Opened 12 years ago

Closed 12 years ago

#3863 closed defect (wontfix)

dojo._getBorderBox() unused...

Reported by: tk Owned by: sjmiles
Priority: high Milestone:
Component: HTML Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

all the box models in _base/html.js have getter/setter and a wrapper that makes using them 1 single function call... except _getBorderBox()... is this intended or just an oversight on someones part?

-Karl

Change History (3)

comment:1 Changed 12 years ago by tk

Owner: changed from sjmiles to alex

comment:2 Changed 12 years ago by sjmiles

Owner: changed from alex to sjmiles

It's intentional. As a gambit to reduce the API surface area, the _ methods in html.js are designated semi-public. In other words, they are available for usage, but we don't necessarily encourage it.

_getBorderBox is necessary sometimes (c.f. Dijit), but _setBorderBox makes very little sense. I decided to let _getBorderBox live only in the semi-public API.

comment:3 Changed 12 years ago by sjmiles

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.