Skip to content

Commit

Permalink
fix ariatemplates#1483 regression after ariatemplates#1474, for
Browse files Browse the repository at this point in the history
test.aria.widgets.container.dialog.sizes.DialogWidthTestCase in IE7
  • Loading branch information
fbasso committed Jun 5, 2015
1 parent a09f715 commit 3026eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aria/widgets/container/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ module.exports = Aria.classDefinition({

// The manage the title length to manage the text-overflow
var titleBarWidth = ariaUtilsDom.getGeometry(titleBarDomElt).width;
titleDomElt.style.width = (titleBarWidth - iconsWidth - shadows.left - shadows.right) + "px";
titleDomElt.style.width = ariaUtilsMath.max(titleBarWidth - iconsWidth - shadows.left - shadows.right, 0) + "px";

if (isIE7) {
// Back to overflow hidden mode
Expand Down

0 comments on commit 3026eee

Please sign in to comment.