1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-05 13:00:08 +02:00

use terser and clean-css directly

create a sourcemap as well by default
This commit is contained in:
s2
2020-02-13 15:39:37 +01:00
parent db9b32db65
commit a4b62da0ba
535 changed files with 33708 additions and 63052 deletions

View File

@@ -84,7 +84,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
throw new TypeError("Illegal invocation");
}
const value = this.getAttribute("align");
const value = this.getAttributeNS(null, "align");
return value === null ? "" : value;
}
@@ -97,7 +97,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
context: "Failed to set the 'align' property on 'HTMLTableRowElement': The provided value"
});
this.setAttribute("align", V);
this.setAttributeNS(null, "align", V);
}
get ch() {
@@ -105,7 +105,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
throw new TypeError("Illegal invocation");
}
const value = this.getAttribute("char");
const value = this.getAttributeNS(null, "char");
return value === null ? "" : value;
}
@@ -118,7 +118,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
context: "Failed to set the 'ch' property on 'HTMLTableRowElement': The provided value"
});
this.setAttribute("char", V);
this.setAttributeNS(null, "char", V);
}
get chOff() {
@@ -126,7 +126,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
throw new TypeError("Illegal invocation");
}
const value = this.getAttribute("charoff");
const value = this.getAttributeNS(null, "charoff");
return value === null ? "" : value;
}
@@ -139,7 +139,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
context: "Failed to set the 'chOff' property on 'HTMLTableRowElement': The provided value"
});
this.setAttribute("charoff", V);
this.setAttributeNS(null, "charoff", V);
}
get vAlign() {
@@ -147,7 +147,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
throw new TypeError("Illegal invocation");
}
const value = this.getAttribute("vAlign");
const value = this.getAttributeNS(null, "valign");
return value === null ? "" : value;
}
@@ -160,7 +160,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
context: "Failed to set the 'vAlign' property on 'HTMLTableRowElement': The provided value"
});
this.setAttribute("vAlign", V);
this.setAttributeNS(null, "valign", V);
}
get bgColor() {
@@ -168,7 +168,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
throw new TypeError("Illegal invocation");
}
const value = this.getAttribute("bgColor");
const value = this.getAttributeNS(null, "bgcolor");
return value === null ? "" : value;
}
@@ -182,7 +182,7 @@ class HTMLTableRowElement extends HTMLElement.interface {
treatNullAsEmptyString: true
});
this.setAttribute("bgColor", V);
this.setAttributeNS(null, "bgcolor", V);
}
}
Object.defineProperties(HTMLTableRowElement.prototype, {