public function ElementsTest::testNormalizeSvgElement in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/ElementsTest.php \Masterminds\HTML5\Tests\ElementsTest::testNormalizeSvgElement()
File
- vendor/
masterminds/ html5/ test/ HTML5/ ElementsTest.php, line 442
Class
Namespace
Masterminds\HTML5\TestsCode
public function testNormalizeSvgElement() {
$tests = array(
'foo' => 'foo',
'altglyph' => 'altGlyph',
'BAR' => 'bar',
'fespecularlighting' => 'feSpecularLighting',
'bAz' => 'baz',
'foreignobject' => 'foreignObject',
);
foreach ($tests as $input => $expected) {
$this
->assertEquals($expected, Elements::normalizeSvgElement($input));
}
}