summaryrefslogtreecommitdiff
path: root/src/HTML5
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTML5')
-rw-r--r--src/HTML5/Elements.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/HTML5/Elements.php b/src/HTML5/Elements.php
index 511da9d..6a46f5a 100644
--- a/src/HTML5/Elements.php
+++ b/src/HTML5/Elements.php
@@ -485,10 +485,6 @@ class Elements
*/
public static function isA($name, $mask)
{
- if (! static::isElement($name)) {
- return false;
- }
-
return (static::element($name) & $mask) == $mask;
}