|
|
|
@ -297,7 +297,7 @@ K.options = {
|
|
|
|
|
'td,th': [
|
|
|
|
|
'id', 'class', 'align', 'valign', 'width', 'height', 'colspan', 'rowspan', 'bgcolor',
|
|
|
|
|
'.text-align', '.color', '.background-color', '.font-size', '.font-family', '.font-weight',
|
|
|
|
|
'.font-style', '.text-decoration', '.vertical-align', '.background', '.border', '.text-overflow','.overflow','.white-space'
|
|
|
|
|
'.font-style', '.text-decoration', '.vertical-align', '.background', '.border','.border-color', '.text-overflow','.overflow','.white-space'
|
|
|
|
|
],
|
|
|
|
|
a : ['id', 'class', 'href', 'target', 'name'],
|
|
|
|
|
embed : ['id', 'class', 'src', 'width', 'height', 'type', 'loop', 'autostart', 'quality', '.width', '.height', 'align', 'allowscriptaccess'],
|
|
|
|
@ -2539,7 +2539,8 @@ function _nativeCommand(doc, key, val) {
|
|
|
|
|
function _nativeCommandValue(doc, key) {
|
|
|
|
|
var val = '';
|
|
|
|
|
try {
|
|
|
|
|
val = doc.query_nativeCommand(self.doc, name, val);Value(key);
|
|
|
|
|
// val = doc.query_nativeCommand(self.doc, name, val);Value(key);
|
|
|
|
|
val = doc.queryCommandValue(key);
|
|
|
|
|
} catch (e) {}
|
|
|
|
|
if (typeof val !== 'string') {
|
|
|
|
|
val = '';
|
|
|
|
|