mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-06 21:50:05 +02:00
use terser and clean-css directly
create a sourcemap as well by default
This commit is contained in:
2
node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js
generated
vendored
2
node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js
generated
vendored
@@ -20,7 +20,7 @@ class SVGSVGElementImpl extends SVGGraphicsElementImpl {
|
||||
getElementById(elementId) {
|
||||
// TODO: optimize with _ids caching trick; see Document class.
|
||||
for (const node of domSymbolTree.treeIterator(this)) {
|
||||
if (node.nodeType === ELEMENT_NODE && node.getAttribute("id") === elementId) {
|
||||
if (node.nodeType === ELEMENT_NODE && node.getAttributeNS(null, "id") === elementId) {
|
||||
return node;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user