{"ScriptPreparationCode":"function makeImage( src ) {\r\n var img = document.createElement( \u0027img\u0027 );\r\n img.className=\u0027nail\u0027;\r\n if ( src ) {\r\n img.src=\u0027data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=\u0027;\r\n }\r\n return img;\r\n}\r\n\r\nwithSrc = makeImage( true );\r\nwithoutSrc = makeImage( false );","TestCases":[{"Name":"creation with src","Code":"makeImage( true );","IsDeferred":false},{"Name":"creation without src","Code":"makeImage( false );","IsDeferred":false},{"Name":"clone with src","Code":"withSrc.cloneNode();","IsDeferred":false},{"Name":"clone without src","Code":"withoutSrc.cloneNode();","IsDeferred":false},{"Name":"clone without src then set src","Code":"const cloned = withoutSrc.cloneNode();\r\ncloned.src = \u0027data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=\u0027","IsDeferred":false}]}