Esempio n. 1
0
 /**
  * @group ZF-9532
  */
 public function testRenderConditionalCommentsShouldNotContainHtmlEscaping()
 {
     $style = 'a{display:none;}';
     $this->helper->appendStyle($style, array('conditional' => 'IE 8'));
     $value = $this->helper->toString();
     $this->assertNotContains('<!--' . PHP_EOL, $value);
     $this->assertNotContains(PHP_EOL . '-->', $value);
 }
Esempio n. 2
0
 /**
  * @return HeadStyle
  */
 public function headStyle()
 {
     $this->__initialized__ && $this->__initialized__->__invoke();
     if (null === $this->headStyle) {
         $this->headStyle = new HeadStyle();
         $this->headStyle->setView($this->view);
     }
     return $this->headStyle;
 }