Opened 14 years ago
Closed 14 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 14 years ago by
Owner: | changed from sjmiles to alex |
---|
comment:2 Changed 14 years ago by
Owner: | changed from alex to sjmiles |
---|
comment:3 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.