!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/node_modules/svg.js/spec/spec/   drwxrwxr-x
Free 13.06 GB of 57.97 GB (22.54%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     doc.js (2.12 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
describe('Doc', function() {

  describe('create()', function(){
    it('doenst alter size when adopting width SVG()', function() {
      var svg = SVG('inlineSVG')
      expect(svg.width()).toBe(0)
      expect(svg.height()).toBe(0)
    })
  })

  it('is an instance of SVG.Container', function() {
    expect(draw instanceof SVG.Container).toBe(true)
  })

  it('is an instance of SVG.Doc', function() {
    expect(draw instanceof SVG.Doc).toBe(true)
  })

  it('returns itself as Doc', function() {
    expect(draw.doc()).toBe(draw)
  })

  it('has a defs element', function() {
    expect(draw.defs() instanceof SVG.Defs).toBe(true)
  })

  describe('defs()', function() {
    it('returns defs element', function(){
      expect(draw.defs()).toBe(draw._defs)
    })
    it('references parent node', function(){
      expect(draw.defs().parent()).toBe(draw)
    })
  })

  describe('remove()', function() {
    it('removes the doc from the dom only if doc is not root element', function() {
      var cnt = window.document.querySelectorAll('svg').length
      draw.remove()
      if(parserInDoc){
        expect(window.document.querySelectorAll('svg').length).toBe(cnt)
      }else{
        expect(window.document.querySelectorAll('svg').length).toBe(cnt-1)
      }

      draw = SVG(drawing).size(100,100);
      expect(window.document.querySelectorAll('svg').length).toBe(cnt)
    })
  })

  describe('clone()', function () {
    it('clones the doc and inserts the clone after the doc', function () {
      var clone = draw.clone()

      expect(draw.node.nextSibling).toBe(clone.node)
      clone.remove()
    })
    it('clones the doc and inserts the clone in the provided parent', function () {
      var el = document.createElement('div')
      var clone = draw.clone(el)

      expect(clone.node.parentNode).toBe(el)
    })
  })

  describe('parent()', function () {
    it('returns null if nodeName is document-fragment', function() {
      var fragment = document.createDocumentFragment();
      var svgFrag = new SVG(fragment);
      expect(svgFrag.parent()).toBe(null);
    })
  })

})

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0049 ]--