public function ElementsTest::testNormalizeSvgAttribute in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/masterminds/html5/test/HTML5/ElementsTest.php \Masterminds\HTML5\Tests\ElementsTest::testNormalizeSvgAttribute()
File
- vendor/
masterminds/ html5/ test/ HTML5/ ElementsTest.php, line 458
Class
Namespace
Masterminds\HTML5\TestsCode
public function testNormalizeSvgAttribute() {
$tests = array(
'foo' => 'foo',
'attributename' => 'attributeName',
'BAR' => 'bar',
'limitingconeangle' => 'limitingConeAngle',
'bAz' => 'baz',
'patterncontentunits' => 'patternContentUnits',
);
foreach ($tests as $input => $expected) {
$this
->assertEquals($expected, Elements::normalizeSvgAttribute($input));
}
}