Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Issue 1641041: Fix Issue 120: Replace uses of goog-inline-block with goog.ui.INLINE_BLOCK_CLASSNAME




git-svn-id: http://closure-library.googlecode.com/svn/trunk@154 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
  • Loading branch information
nanaze committed Jun 21, 2010
1 parent 6ed4340 commit 330ec8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -6,3 +6,4 @@
Google Inc. Google Inc.
Mohamed Mansour <hello@mohamedmansour.com> Mohamed Mansour <hello@mohamedmansour.com>
Bjorn Tipilng <bjorn.tipling@gmail.com> Bjorn Tipilng <bjorn.tipling@gmail.com>
SameGoal LLC <help@samegoal.com>
3 changes: 2 additions & 1 deletion closure/goog/ui/imagelessbuttonrenderer.js
Expand Up @@ -30,6 +30,7 @@ goog.provide('goog.ui.ImagelessButtonRenderer');
goog.require('goog.ui.Button'); goog.require('goog.ui.Button');
goog.require('goog.ui.ControlContent'); goog.require('goog.ui.ControlContent');
goog.require('goog.ui.CustomButtonRenderer'); goog.require('goog.ui.CustomButtonRenderer');
goog.require('goog.ui.INLINE_BLOCK_CLASSNAME');
goog.require('goog.ui.registry'); goog.require('goog.ui.registry');




Expand Down Expand Up @@ -116,7 +117,7 @@ goog.ui.ImagelessButtonRenderer.prototype.getContentElement = function(
goog.ui.ImagelessButtonRenderer.prototype.createButton = function(content, goog.ui.ImagelessButtonRenderer.prototype.createButton = function(content,
dom) { dom) {
var baseClass = this.getCssClass(); var baseClass = this.getCssClass();
var inlineBlock = goog.getCssName('goog-inline-block') + ' '; var inlineBlock = goog.ui.INLINE_BLOCK_CLASSNAME + ' ';
return dom.createDom('div', return dom.createDom('div',
inlineBlock + goog.getCssName(baseClass, 'outer-box'), inlineBlock + goog.getCssName(baseClass, 'outer-box'),
dom.createDom('div', dom.createDom('div',
Expand Down
3 changes: 2 additions & 1 deletion closure/goog/ui/style/app/buttonrenderer.js
Expand Up @@ -31,6 +31,7 @@ goog.provide('goog.ui.style.app.ButtonRenderer');
goog.require('goog.ui.Button'); goog.require('goog.ui.Button');
goog.require('goog.ui.ControlContent'); goog.require('goog.ui.ControlContent');
goog.require('goog.ui.CustomButtonRenderer'); goog.require('goog.ui.CustomButtonRenderer');
goog.require('goog.ui.INLINE_BLOCK_CLASSNAME');
goog.require('goog.ui.registry'); goog.require('goog.ui.registry');




Expand Down Expand Up @@ -117,7 +118,7 @@ goog.ui.style.app.ButtonRenderer.prototype.getContentElement = function(
goog.ui.style.app.ButtonRenderer.prototype.createButton = function(content, goog.ui.style.app.ButtonRenderer.prototype.createButton = function(content,
dom) { dom) {
var baseClass = this.getStructuralCssClass(); var baseClass = this.getStructuralCssClass();
var inlineBlock = 'goog-inline-block '; var inlineBlock = goog.ui.INLINE_BLOCK_CLASSNAME + ' ';
return dom.createDom('div', inlineBlock + baseClass + '-outer-box', return dom.createDom('div', inlineBlock + baseClass + '-outer-box',
dom.createDom('div', inlineBlock + baseClass + '-inner-box', dom.createDom('div', inlineBlock + baseClass + '-inner-box',
dom.createDom('div', baseClass + '-pos', dom.createDom('div', baseClass + '-pos',
Expand Down

0 comments on commit 330ec8a

Please sign in to comment.