protected function elementIsBlock(DOMElement $element)
	{
		$style = $this->getStyle($element);
		if (preg_match('(\\bdisplay\\s*:\\s*block)i', $style))
		{
			return true;
		}
		if (preg_match('(\\bdisplay\\s*:\\s*(?:inli|no)ne)i', $style))
		{
			return false;
		}

		return ElementInspector::isBlock($element);
	}
protected function elementIsBlock(DOMElement $element)
	{
		$style = $this->getStyle($element);
		if (preg_match('(\\bdisplay\\s*:\\s*block)i', $style))
		{
			return true;
		}
		if (preg_match('(\\bdisplay\\s*:\\s*(?:inli|no)ne)i', $style))
		{
			return false;
		}

		return ElementInspector::isBlock($element);
	}
protected function elementIsBlock ( DOMElement $ element ) { $ style = $ this -> getStyle ( $ element ) ; if ( preg_match ( '(\\bdisplay\\s*:\\s*block)i' , $ style ) ) { return true ; } if ( preg_match ( '(\\bdisplay\\s*:\\s*(?:inli|no)ne)i' , $ style ) ) { return false ; } return ElementInspector :: isBlock ( $ element ) ; }
Test whether given element is a block-level element

@param  DOMElement $element
@return bool
Test whether given element is a block - level element