summaryrefslogtreecommitdiff
path: root/test/HTML5
diff options
context:
space:
mode:
Diffstat (limited to 'test/HTML5')
-rw-r--r--test/HTML5/ElementsTest.php10
-rw-r--r--test/HTML5/Html5Test.php2
2 files changed, 6 insertions, 6 deletions
diff --git a/test/HTML5/ElementsTest.php b/test/HTML5/ElementsTest.php
index d426aef..e0a8905 100644
--- a/test/HTML5/ElementsTest.php
+++ b/test/HTML5/ElementsTest.php
@@ -269,7 +269,7 @@ class ElementsTest extends TestCase
foreach ($this->mathmlElements as $element) {
$this->assertTrue(Elements::isMathMLElement($element), 'MathML element test failed on: ' . $element);
- // MathML is case sensetitive so these should all fail.
+ // MathML is case sensitive so these should all fail.
$this->assertFalse(Elements::isMathMLElement(strtoupper($element)), 'MathML element test failed on: ' . strtoupper($element));
}
@@ -288,7 +288,7 @@ class ElementsTest extends TestCase
foreach ($this->svgElements as $element) {
$this->assertTrue(Elements::isSvgElement($element), 'SVG element test failed on: ' . $element);
- // SVG is case sensetitive so these should all fail.
+ // SVG is case sensitive so these should all fail.
$this->assertFalse(Elements::isSvgElement(strtoupper($element)), 'SVG element test failed on: ' . strtoupper($element));
}
@@ -313,15 +313,15 @@ class ElementsTest extends TestCase
foreach ($this->mathmlElements as $element) {
$this->assertTrue(Elements::isElement($element), 'MathML element test failed on: ' . $element);
- // MathML is case sensetitive so these should all fail.
+ // MathML is case sensitive so these should all fail.
$this->assertFalse(Elements::isElement(strtoupper($element)), 'MathML element test failed on: ' . strtoupper($element));
}
foreach ($this->svgElements as $element) {
$this->assertTrue(Elements::isElement($element), 'SVG element test failed on: ' . $element);
- // SVG is case sensetitive so these should all fail. But, there is duplication
- // html5 and SVG. Since html5 is case insensetitive we need to make sure
+ // SVG is case sensitive so these should all fail. But, there is duplication
+ // html5 and SVG. Since html5 is case insensitive we need to make sure
// it's not a html5 element first.
if (! in_array($element, $this->html5Elements)) {
$this->assertFalse(Elements::isElement(strtoupper($element)), 'SVG element test failed on: ' . strtoupper($element));
diff --git a/test/HTML5/Html5Test.php b/test/HTML5/Html5Test.php
index 77643c4..7873cd9 100644
--- a/test/HTML5/Html5Test.php
+++ b/test/HTML5/Html5Test.php
@@ -237,7 +237,7 @@ class Html5Test extends TestCase
$this->assertFalse($svg->hasAttribute('viewbox'));
// Test a mixed case tag.
- // Note: getElementsByTagName is not case sensetitive.
+ // Note: getElementsByTagName is not case sensitive.
$list = $dom->getElementsByTagName('textPath');
$this->assertNotEmpty($list->length);
$textPath = $list->item(0);