Skip to content

Commit

Permalink
setSameStyle() of version 1.5.2 produces E_USER_NOTICE
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/HTML_CSS/trunk@274081 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Laurent Laville committed Jan 21, 2009
1 parent b570e61 commit 14c90a6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/HTML_CSS_TestSuite_Bugs.php
Expand Up @@ -418,6 +418,21 @@ public function testBug10103()
"option '$opt' sets is invalid");
}
}

/**
* Regression test for bug #15690
*
* @return void
* @link http://pear.php.net/bugs/bug.php?id=15690
* @group bugs
*/
public function testBug15690()
{
$this->css->setStyle('p','font-size','12px');
$e = $this->css->setSameStyle('body, td, th, li, dt, dd', 'p');
$msg = PEAR::isError($e) ? $e->getMessage() : null;
$this->assertTrue(PEAR::isError($e), $msg);
}
}

// Call HTML_CSS_TestSuite_Bugs::main() if file is executed directly.
Expand Down

0 comments on commit 14c90a6

Please sign in to comment.