Lines Matching refs:height

15      * The element that have an width and height
28 * On height, if set, the design is constrained and overflow
36 * Logical height and width
37 * used by default to define the width and height of an image or a css box
39 const HEIGHT_KEY = 'height';
77 * A element with a natural height is responsive, we set only the max-height
79 * By default, the image has a `height: auto` due to the img-fluid class
80 * Making its height responsive
82 $attributes->addStyleDeclarationIfNotSet("max-height", $heightValue);
89 * Without the height value, a block display will collapse
94 * The box is constrained in height
97 $attributes->addStyleDeclarationIfNotSet("height", $heightValue);
109 // The block should collapse to this height
110 $attributes->addStyleDeclarationIfNotSet("min-height", $heightValue);
119 PluginUtility::getSnippetManager()->attachCssInternalStyleSheet("height-toggle");
123 PluginUtility::getSnippetManager()->attachJavascriptFromComponentId("height-toggle");
125 $toggleOnClickId = "height-toggle-onclick";
131 * The height when there is not the show class
132 * is the original height
136 height: $heightValue;
137 transition: height .35s ease;
140 PluginUtility::getSnippetManager()->attachCssInternalStyleSheet("height-toggle-show", $css);
142 $buttonClass = StyleAttribute::addComboStrapSuffix("height-toggle");
163 * min-height and not height to not constraint the box
165 $attributes->addStyleDeclarationIfNotSet("min-height", $heightValue);
221 list($width, $height) = explode(":", $stringRatio, 2);
228 $height = DataType::toInteger($height);
230 throw new ExceptionBadSyntax("The width value ($height) of the ratio `$stringRatio` is not numeric", PageImageTag::CANONICAL);
232 if ($height === 0) {
233 throw new ExceptionBadSyntax("The height value of the ratio `$stringRatio` should not be zero", PageImageTag::CANONICAL);
235 return floatval($width / $height);
265 * They have width and height **element** attribute
281 * For an image, the dimension are restricted by height