Sha256: 93ccf4770648c892169c44f8686f5093d36e112f75523dca89a65aa6e08ef8f3

Contents?: true

Size: 1.14 KB

Versions: 8

Compression:

Stored size: 1.14 KB

Contents

/*
 * Copyright 2009 The Closure Library Authors. All Rights Reserved.
 *
 * Use of this source code is governed by the Apache License, Version 2.0.
 * See the COPYING file for details.
 */

/*
 * Cross-browser implementation of the "display: inline-block" CSS property.
 * See http://www.w3.org/TR/CSS21/visuren.html#propdef-display for details.
 * Tested on IE 6 & 7, FF 1.5 & 2.0, Safari 2 & 3, Webkit, and Opera 9.
 *
 * @author attila@google.com (Attila Bodis)
 */

/*
 * Default rule; only Safari, Webkit, and Opera handle it without hacks.
 */
.goog-inline-block {
  position: relative;
  display: -moz-inline-box; /* Ignored by FF3 and later. */
  display: inline-block;
}

/*
 * Pre-IE7 IE hack.  On IE, "display: inline-block" only gives the element
 * layout, but doesn't give it inline behavior.  Subsequently setting display
 * to inline does the trick.
 */
* html .goog-inline-block {
  display: inline;
}

/*
 * IE7-only hack.  On IE, "display: inline-block" only gives the element
 * layout, but doesn't give it inline behavior.  Subsequently setting display
 * to inline does the trick.
 */
*:first-child+html .goog-inline-block {
  display: inline;
}

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
k4compiler-0.0.1 third_party/closure-library/closure/goog/css/common.css
middleman-wizard-template-1.0.4 lib/middleman-wizard-template/template/closure/library/closure/goog/css/common.css
middleman-wizard-template-1.0.3 lib/middleman-wizard-template/template/closure/library/closure/goog/css/common.css
middleman-wizard-template-1.0.2 lib/middleman-wizard-template/template/closure/library/closure/goog/css/common.css
middleman-wizard-template-1.0.1 lib/middleman-wizard-template/template/closure/library/closure/goog/css/common.css
middleman-wizard-template-1.0.0.pre.1 lib/middleman-wizard-template/template/closure/library/closure/goog/css/common.css
closure-1.2.701 closure-library/closure/goog/css/common.css
closure-1.1.692 closure-library/closure/goog/css/common.css