Lines Matching refs:width

15      * The element that have an width and height
23 * On the width, if set, the design is fluid and will adapt to all screen
24 * with a min-width
36 * Logical height and width
37 * used by default to define the width and height of an image or a css box
40 const WIDTH_KEY = 'width';
221 list($width, $height) = explode(":", $stringRatio, 2);
223 $width = DataType::toInteger($width);
225 throw new ExceptionBadSyntax("The width value ($width) of the ratio `$stringRatio` is not numeric", PageImageTag::CANONICAL);
230 throw new ExceptionBadSyntax("The width value ($height) of the ratio `$stringRatio` is not numeric", PageImageTag::CANONICAL);
235 return floatval($width / $height);
249 LogUtility::error("The width value is empty for the tag ({$logicalTag})");
258 LogUtility::error("The width value ($widthValue) is not a valid length. Error: {$e->getMessage()}");
265 * They have width and height **element** attribute
284 $attributes->addStyleDeclarationIfNotSet("width", "auto");
291 * For an image, the dimension are restricted by width
292 * (max-width or 100% of the container )
295 $attributes->addStyleDeclarationIfNotSet('max-width', $conditionalWidthLength->toCssLength());
298 $attributes->addStyleDeclarationIfNotSet('max-width', $conditionalWidthLength->getLength());
300 $attributes->addStyleDeclarationIfNotSet('width', "100%");
319 $attributes->addStyleDeclarationIfNotSet('max-width', $conditionalWidthLength->toCssLength());
321 $attributes->setStyleDeclaration('width', 'auto');
324 $attributes->addStyleDeclarationIfNotSet('max-width', $conditionalWidthLength->getLength());