IE8 SVG Viewer下一些对象属性和方法

Stella981
• 阅读 701
doc:[object SVGDocument] = {
    createAttributeNS: unknown,
    referrer: ,
    hasAttributes: false,
    replaceChild: unknown,
    insertBefore: unknown,
    getElementById: unknown,
    getElementsByTagNameNS: unknown,
    documentElement: [object SVGSVGElement],
    title: null,
    previousSibling: null,
    normalize: undefined,
    createTextNode: unknown,
    domain: localhost:8080,
    URL: http://localhost:8080/svgdemo/resources/svg/test.svg,
    createDocumentFragment: [object DocumentFragment],
    parentNode: null,
    prefix: ,
    rootElement: [object SVGSVGElement],
    nodeType: 9,
    cloneNode: unknown,
    namespaceURI: ,
    hasChildNodes: true,
    nextSibling: null,
    importNode: unknown,
    isSupported: unknown,
    removeChild: unknown,
    createCDATASection: unknown,
    getElementsByTagName: unknown,
    createComment: unknown,
    createAttribute: unknown,
    createElementNS: unknown,
    localName: ,
    appendChild: unknown,
    firstChild: [object Comment],
    ownerDocument: null,
    childNodes: [object NodeList],
    createProcessingInstruction: unknown,
    nodeValue: null,
    createElement: unknown,
    lastChild: [object SVGSVGElement],
    nodeName: #document,
    doctype: [object DocumentType],
    implementation: [object DOMImplementation],
    createEntityReference: unknown,
    attributes: null,
}
root:[object SVGSVGElement] = {
    currentTranslate: [object SVGPoint],
    ownerDocument: [object SVGDocument],
    getElementById: unknown,
    pauseAnimations: undefined,
    replaceChild: unknown,
    setAttributeNS: unknown,
    localName: svg,
    parentNode: [object SVGDocument],
    nodeName: svg,
    hasChildNodes: true,
    createSVGMatrix: [object SVGMatrix],
    getAttributeNodeNS: unknown,
    attributes: [object NamedNodeMap],
    nodeValue: null,
    normalize: undefined,
    getCurrentTime: 0.2110000103712082,
    removeAttributeNS: unknown,
    firstChild: [object Text],
    setAttributeNode: unknown,
    previousSibling: [object Comment],
    tagName: svg,
    id: svg2991,
    isSupported: unknown,
    currentScale: 1,
    cloneNode: unknown,
    hasAttributeNS: unknown,
    childNodes: [object NodeList],
    addEventListener: unknown,
    setCurrentTime: unknown,
    unpauseAnimations: undefined,
    style: [object CSSStyleDeclaration],
    dispatchEvent: unknown,
    viewportElement: null,
    removeAttribute: unknown,
    getElementsByTagNameNS: unknown,
    appendChild: unknown,
    prefix: null,
    createSVGRect: [object SVGRect],
    removeEventListener: unknown,
    getCTM: [object SVGMatrix],
    removeChild: unknown,
    getElementsByTagName: unknown,
    removeAttributeNode: unknown,
    hasAttribute: unknown,
    lastChild: [object Text],
    animationsPaused: false,
    getAttributeNode: unknown,
    getBBox: [object SVGRect],
    nextSibling: null,
    insertBefore: unknown,
    namespaceURI: http://www.w3.org/2000/svg,
    createSVGPoint: [object SVGPoint],
    getAttributeNS: unknown,
    getAttribute: unknown,
    hasAttributes: true,
    setAttributeNodeNS: unknown,
    setAttribute: unknown,
    deselectAll: undefined,
    nodeType: 1,
}
rect:[object SVGRectElement] = {
    nodeName: rect,
    parentNode: [object SVGGElement],
    nodeType: 1,
    ownerDocument: [object SVGDocument],
    firstChild: null,
    addEventListener: unknown,
    appendChild: unknown,
    viewportElement: [object SVGSVGElement],
    namespaceURI: http://www.w3.org/2000/svg,
    hasAttributes: true,
    dispatchEvent: unknown,
    normalize: undefined,
    getElementsByTagName: unknown,
    getCTM: [object SVGMatrix],
    tagName: rect,
    prefix: null,
    id: rect1,
    getElementsByTagNameNS: unknown,
    lastChild: null,
    previousSibling: [object Text],
    removeAttributeNS: unknown,
    setAttributeNS: unknown,
    getBBox: [object SVGRect],
    nodeValue: null,
    nextSibling: [object Text],
    removeEventListener: unknown,
    cloneNode: unknown,
    hasAttributeNS: unknown,
    hasChildNodes: false,
    attributes: [object NamedNodeMap],
    setAttributeNode: unknown,
    removeAttribute: unknown,
    getAttributeNS: unknown,
    getAttributeNode: unknown,
    hasAttribute: unknown,
    localName: rect,
    style: [object CSSStyleDeclaration],
    replaceChild: unknown,
    removeChild: unknown,
    isSupported: unknown,
    getAttribute: unknown,
    setAttribute: unknown,
    removeAttributeNode: unknown,
    setAttributeNodeNS: unknown,
    getAttributeNodeNS: unknown,
    insertBefore: unknown,
    childNodes: [object NodeList],
}
matrix:[object SVGMatrix] = {
    scale: unknown,
    a: 1,
    b: 0,
    c: 0,
    d: 1,
    e: 0,
    f: 0,
    rotateFromVector: unknown,
    scaleNonUniform: unknown,
    translate: unknown,
    multiply: unknown,
    skewX: unknown,
    rotate: unknown,
    flipX: [object SVGMatrix],
    flipY: [object SVGMatrix],
    inverse: [object SVGMatrix],
    skewY: unknown,
}
rect:[object SVGRect] = {
    x: 0,
    y: 0,
    width: 0,
    height: 0,
}
point:[object SVGPoint] = {
    y: 0,
    matrixTransform: unknown,
    x: 0,
}
css:[object CSSStyleDeclaration] = {
    length: 0,
    getPropertyValue: unknown,
    parentRule: null,
    getPropertyCSSValue: unknown,
    item: unknown,
    cssText: ,
    setProperty: unknown,
    getPropertyPriority: unknown,
    removeProperty: unknown,
}
svg-evt:[object MouseEvent] = {
    type: mousedown,
    currentTarget: [object SVGSVGElement],
    clientY: 160,
    screenX: 325,
    cancelable: true,
    screenY: 160,
    shiftKey: false,
    eventPhase: 3,
    stopPropagation: undefined,
    metaKey: false,
    ctrlKey: false,
    detail: 1,
    target: [object SVGRectElement],
    clientX: 325,
    button: 0,
    preventDefault: undefined,
    relatedTarget: null,
    bubbles: true,
    altKey: false,
    currentNode: [object SVGSVGElement],
}
html-evt:[object Event] = {
    recordset: null,
    type: mousewheel,
    fromElement: null,
    toElement: null,
    altLeft: false,
    keyCode: 0,
    repeat: false,
    reason: 0,
    data: ,
    behaviorCookie: 0,
    source: null,
    contentOverflow: false,
    behaviorPart: 0,
    url: ,
    dataTransfer: null,
    ctrlKey: false,
    shiftLeft: false,
    dataFld: ,
    returnValue: undefined,
    qualifier: ,
    wheelDelta: -120,
    bookmarks: null,
    button: 0,
    srcFilter: null,
    nextPage: ,
    cancelBubble: false,
    x: 4,
    y: 3,
    srcElement: [object],
    screenX: 154,
    screenY: 189,
    srcUrn: ,
    origin: ,
    boundElements: [object HTMLCollection],
    clientX: 152,
    clientY: 73,
    propertyName: ,
    shiftKey: false,
    ctrlLeft: false,
    offsetX: 4,
    offsetY: 3,
    altKey: false,
}
点赞
收藏
评论区
推荐文章
blmius blmius
3年前
MySQL:[Err] 1292 - Incorrect datetime value: ‘0000-00-00 00:00:00‘ for column ‘CREATE_TIME‘ at row 1
文章目录问题用navicat导入数据时,报错:原因这是因为当前的MySQL不支持datetime为0的情况。解决修改sql\mode:sql\mode:SQLMode定义了MySQL应支持的SQL语法、数据校验等,这样可以更容易地在不同的环境中使用MySQL。全局s
Easter79 Easter79
3年前
springcloud gateway高级功能之监控metric中tag修改
背景springcloudgateway在集成Prometheus后看到监控图中uri是UNKNOWN,如下图:!在这里插入图片描述(https://imgblog.csdnimg.cn/20210104202715142.png?xossprocessimage/watermark,type_ZmFuZ3poZW5naGVpdGk
待兔 待兔
4个月前
手写Java HashMap源码
HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程HashMap的使用教程22
Stella981 Stella981
3年前
Charles的app抓包配置和抓包节点为unknown、乱码、手机无法上网等问题的处理
关于手机端抓包配置Charles的一些配置,并且解决,请求存在unknown和内容为乱码的问题   关于请求节点为unknown、内容为乱码和手机端无法访问网络其实都是手机端证书配置问题导致,有的配置后还是存在问题是因为新的ios系统需要Iphone设置关于本机证书信任设置(见2.7),允许操作,具体可以看以下步骤首先你要保证你的手机和电脑是
Wesley13 Wesley13
3年前
mysqldump unknown table 'column_statistics'
mysqldumpunknowntable'column\_statistics'ininformation\_schemamysqldump:Couldn'texecute'SELECTCOLUMN\
Wesley13 Wesley13
3年前
Unknown host 'services.gradle.org' 解决方法
报错如下:Unknownhost'services.gradle.org'.YoumayneedtoadjusttheproxysettingsinGradle.LearnaboutconfiguringHTTPproxiesinGradle解决方法:问题
Stella981 Stella981
3年前
PHP Primary script unknown 终极解决方法
相信很多配置php环境的都遇到过这个恼人的问题:浏览器访问php文件,返回来Filenotfound查看/var/log/nginx/error.log,有“Primaryscriptunknown”,类似如下:2019/01/0310:24:02error1193111931:260Fast
Stella981 Stella981
3年前
IE7、IE8、IE9对min
问题:    IE7、IE8、IE9对minheight不识别,其他无问题解决:   box{width:100px;height:35px;}   htmlbodybox{width:auto;height:auto;width:100px;minheight:35px;} 实例:
Wesley13 Wesley13
3年前
MDK常见错误详解集合
错误代码及错误信息 错误释义error 1: Out of memory 内存溢出error 2: Identifier expected 缺标识符error 3: Unknown identifier 未定义的标识符error 4: Duplicate identifier 重复定义的标识符error 5: Synt