Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /usr/share/nodejs/jsdom/lib/jsdom/living/helpers/svg/ drwxr-xr-x |
Viewing file: Select action/file-type: "use strict"; const { SVG_NS } = require("../namespaces"); // https://svgwg.org/svg2-draft/render.html#TermNeverRenderedElement const neverRenderedElements = new Set([ "clipPath", "defs", "desc", "linearGradient", "marker", "mask", "metadata", "pattern", "radialGradient", "script", "style", "title", "symbol" ]); // https://svgwg.org/svg2-draft/render.html#Rendered-vs-NonRendered exports.isRenderedElement = elImpl => { if (neverRenderedElements.has(elImpl._localName)) { return false; } // This does not check for elements excluded because of conditional processing attributes or ‘switch’ structures, // because conditional processing is not implemented. // https://svgwg.org/svg2-draft/struct.html#ConditionalProcessing // This does not check for computed style of display being none, since that is not yet implemented for HTML // focusability either (and there are no tests yet). if (!elImpl.isConnected) { return false; } // The spec is unclear about how to deal with non-SVG parents, so we only perform this check for SVG-namespace // parents. if (elImpl.parentElement && elImpl.parentElement._namespaceURI === SVG_NS && !exports.isRenderedElement(elImpl.parentNode)) { return false; } return true; }; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0044 ]-- |