Opened 14 years ago
Closed 13 years ago
#3480 closed defect (wontfix)
Slight failure when using dojo.html.getBoxSizing with Opera
Reported by: | guest | Owned by: | sjmiles |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | HTML | Version: | 0.4 |
Keywords: | opera getBoxSizing | Cc: | |
Blocked By: | Blocking: |
Description
I don't know if this can even be solved with the current version of Opera. But here it goes...
<div id="testDiv" style="box-sizing:content-box">Test</div>
mojo.html.getBoxSizing(document.getElementById("testDiv"));
This will not always say "content-box". It will tell you border-box or content-box based on if the document is in strict or quirks. Doesn't seem like Opera reports this property to the DOM, so it may not be possible to solve.
Change History (3)
comment:1 Changed 14 years ago by
Owner: | changed from Bryan Forbes to sjmiles |
---|
comment:2 Changed 13 years ago by
Version: | → 0.4 |
---|
comment:3 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Current strategy is not to attempt box-model detection per node.
You can manually set the box-model context in html.js, which otherwise defaults to whatever is detected from the document.