PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.90
WindPress – Tailwind CSS integration for WordPress v3.2.90
3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 All 144 releases
← All changes | vendor/masterminds/html5/src/HTML5/Elements.php +7 -6 3.0.43.2.90 View file →
@@ -2,9 +2,9 @@
2 2
3 3 /**
4 4 * Provide general element functions.
5 5 */
6 -namespace WindPressPackages\Masterminds\HTML5;
6 +namespace WindPressDeps\Masterminds\HTML5;
7 7
8 8 /**
9 9 * This class provides general information about HTML5 elements,
10 10 * including syntactic and semantic issues.
@@ -316,8 +316,9 @@
316 316 'feConvolveMatrix' => 1,
317 317 'feDiffuseLighting' => 1,
318 318 'feDisplacementMap' => 1,
319 319 'feDistantLight' => 1,
320 + 'feDropShadow' => 1,
320 321 'feFlood' => 1,
321 322 'feFuncA' => 1,
322 323 'feFuncB' => 1,
323 324 'feFuncG' => 1,
@@ -390,9 +391,9 @@
390 391 *
391 392 * The map contains key/value store of the name is lowercase as the keys and
392 393 * the correct casing as the value.
393 394 */
394 - public static $svgCaseSensitiveElementMap = array('altglyph' => 'altGlyph', 'altglyphdef' => 'altGlyphDef', 'altglyphitem' => 'altGlyphItem', 'animatecolor' => 'animateColor', 'animatemotion' => 'animateMotion', 'animatetransform' => 'animateTransform', 'clippath' => 'clipPath', 'feblend' => 'feBlend', 'fecolormatrix' => 'feColorMatrix', 'fecomponenttransfer' => 'feComponentTransfer', 'fecomposite' => 'feComposite', 'feconvolvematrix' => 'feConvolveMatrix', 'fediffuselighting' => 'feDiffuseLighting', 'fedisplacementmap' => 'feDisplacementMap', 'fedistantlight' => 'feDistantLight', 'feflood' => 'feFlood', 'fefunca' => 'feFuncA', 'fefuncb' => 'feFuncB', 'fefuncg' => 'feFuncG', 'fefuncr' => 'feFuncR', 'fegaussianblur' => 'feGaussianBlur', 'feimage' => 'feImage', 'femerge' => 'feMerge', 'femergenode' => 'feMergeNode', 'femorphology' => 'feMorphology', 'feoffset' => 'feOffset', 'fepointlight' => 'fePointLight', 'fespecularlighting' => 'feSpecularLighting', 'fespotlight' => 'feSpotLight', 'fetile' => 'feTile', 'feturbulence' => 'feTurbulence', 'foreignobject' => 'foreignObject', 'glyphref' => 'glyphRef', 'lineargradient' => 'linearGradient', 'radialgradient' => 'radialGradient', 'textpath' => 'textPath');
395 + public static $svgCaseSensitiveElementMap = array('altglyph' => 'altGlyph', 'altglyphdef' => 'altGlyphDef', 'altglyphitem' => 'altGlyphItem', 'animatecolor' => 'animateColor', 'animatemotion' => 'animateMotion', 'animatetransform' => 'animateTransform', 'clippath' => 'clipPath', 'feblend' => 'feBlend', 'fecolormatrix' => 'feColorMatrix', 'fecomponenttransfer' => 'feComponentTransfer', 'fecomposite' => 'feComposite', 'feconvolvematrix' => 'feConvolveMatrix', 'fediffuselighting' => 'feDiffuseLighting', 'fedisplacementmap' => 'feDisplacementMap', 'fedistantlight' => 'feDistantLight', 'fedropshadow' => 'feDropShadow', 'feflood' => 'feFlood', 'fefunca' => 'feFuncA', 'fefuncb' => 'feFuncB', 'fefuncg' => 'feFuncG', 'fefuncr' => 'feFuncR', 'fegaussianblur' => 'feGaussianBlur', 'feimage' => 'feImage', 'femerge' => 'feMerge', 'femergenode' => 'feMergeNode', 'femorphology' => 'feMorphology', 'feoffset' => 'feOffset', 'fepointlight' => 'fePointLight', 'fespecularlighting' => 'feSpecularLighting', 'fespotlight' => 'feSpotLight', 'fetile' => 'feTile', 'feturbulence' => 'feTurbulence', 'foreignobject' => 'foreignObject', 'glyphref' => 'glyphRef', 'lineargradient' => 'linearGradient', 'radialgradient' => 'radialGradient', 'textpath' => 'textPath');
395 396 /**
396 397 * Check whether the given element meets the given criterion.
397 398 *
398 399 * Example:
@@ -420,9 +421,9 @@
420 421 public static function isHtml5Element($name)
421 422 {
422 423 // html5 element names are case insensitive. Forcing lowercase for the check.
423 424 // Do we need this check or will all data passed here already be lowercase?
424 - return isset(static::$html5[\strtolower($name)]);
425 + return isset(static::$html5[strtolower($name)]);
425 426 }
426 427 /**
427 428 * Test if an element name is a valid MathML presentation element.
428 429 *
@@ -488,9 +489,9 @@
488 489 * @return string the normalized form of the element name.
489 490 */
490 491 public static function normalizeSvgElement($name)
491 492 {
492 - $name = \strtolower($name);
493 + $name = strtolower($name);
493 494 if (isset(static::$svgCaseSensitiveElementMap[$name])) {
494 495 $name = static::$svgCaseSensitiveElementMap[$name];
495 496 }
496 497 return $name;
@@ -503,9 +504,9 @@
503 504 * @return string The normalized form of the attribute name.
504 505 */
505 506 public static function normalizeSvgAttribute($name)
506 507 {
507 - $name = \strtolower($name);
508 + $name = strtolower($name);
508 509 if (isset(static::$svgCaseSensitiveAttributeMap[$name])) {
509 510 $name = static::$svgCaseSensitiveAttributeMap[$name];
510 511 }
511 512 return $name;
@@ -519,9 +520,9 @@
519 520 * @return string The normalized form of the attribute name.
520 521 */
521 522 public static function normalizeMathMlAttribute($name)
522 523 {
523 - $name = \strtolower($name);
524 + $name = strtolower($name);
524 525 // Only one attribute has a mixed case form for MathML.
525 526 if ('definitionurl' === $name) {
526 527 $name = 'definitionURL';
527 528 }