Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fabric.Canvas) Remove controls check in the pixel accuracy target find #6798

Merged
merged 14 commits into from
Jan 30, 2021

Conversation

asturur
Copy link
Member

@asturur asturur commented Jan 9, 2021

Custom controls can be positioned anywhere, and so the perPixelTargetFind could possibly not work.
This will put back the control checks in the findTarget function.

close #6826

@asturur
Copy link
Member Author

asturur commented Jan 9, 2021

Needs tests

@stale
Copy link

stale bot commented Jan 24, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue marked as stale by the stale bot label Jan 24, 2021
@asturur
Copy link
Member Author

asturur commented Jan 30, 2021

stale bot go away

@stale stale bot removed the stale Issue marked as stale by the stale bot label Jan 30, 2021
@github-actions
Copy link
Contributor

Code Coverage Summary

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2021

Code Coverage Summary

> fabric@4.3.1 coverage /home/runner/work/fabric.js/fabric.js
> npm run test:coverage && npm run test:visual:coverage && npm run cover:report


> fabric@4.3.1 test:coverage /home/runner/work/fabric.js/fabric.js
> nyc --silent qunit test/node_test_setup.js test/lib test/unit

TAP version 13
ok 1 fabric.ActiveSelection > constructor
ok 2 fabric.ActiveSelection > toString
ok 3 fabric.ActiveSelection > toObject
ok 4 fabric.ActiveSelection > toObject without default values
ok 5 fabric.ActiveSelection > _renderControls
ok 6 fabric.ActiveSelection > fromObject
ok 7 fabric.ActiveSelection > get with locked objects
ok 8 fabric.ActiveSelection > insertAt
ok 9 fabric.ActiveSelection > group addWithUpdate
ok 10 fabric.ActiveSelection > group removeWithUpdate
ok 11 fabric.ActiveSelection > ActiveSelection shouldCache
ok 12 fabric.ActiveSelection > canvas property propagation
ok 13 fabric.ActiveSelection > moveTo on activeSelection
ok 14 fabric.util.animate > animateColor
ok 15 fabric.util.animate > animate
ok 16 fabric.util.animate > animate with increment
ok 17 fabric.util.animate > animate with keypath
ok 18 fabric.util.animate > animate with color
ok 19 fabric.util.animate > animate with decrement
ok 20 fabric.util.animate > animate with object
ok 21 fabric.util.animate > animate multiple properties
ok 22 fabric.util.animate > animate multiple properties with callback
ok 23 fabric.util.animate > animate with abort
ok 24 fabric.util.animate > animate easing easeInQuad
ok 25 fabric.util.animate > animate easing easeOutQuad
ok 26 fabric.util.animate > animate easing easeInOutQuad
ok 27 fabric.util.animate > animate easing easeInCubic
ok 28 fabric.util.animate > animate easing easeOutCubic
ok 29 fabric.util.animate > animate easing easeInOutCubic
ok 30 fabric.util.animate > animate easing easeInQuart
ok 31 fabric.util.animate > animate easing easeOutQuart
ok 32 fabric.util.animate > animate easing easeInOutQuart
ok 33 fabric.util.animate > animate easing easeInQuint
ok 34 fabric.util.animate > animate easing easeOutQuint
ok 35 fabric.util.animate > animate easing easeInOutQuint
ok 36 fabric.util.animate > animate easing easeInSine
ok 37 fabric.util.animate > animate easing easeOutSine
ok 38 fabric.util.animate > animate easing easeInOutSine
ok 39 fabric.util.animate > animate easing easeInExpo
ok 40 fabric.util.animate > animate easing easeOutExpo
ok 41 fabric.util.animate > animate easing easeInOutExpo
ok 42 fabric.util.animate > animate easing easeInCirc
ok 43 fabric.util.animate > animate easing easeOutCirc
ok 44 fabric.util.animate > animate easing easeInOutCirc
ok 45 fabric.util.animate > animate easing easeInElastic
ok 46 fabric.util.animate > animate easing easeOutElastic
ok 47 fabric.util.animate > animate easing easeInOutElastic
ok 48 fabric.util.animate > animate easing easeInBack
ok 49 fabric.util.animate > animate easing easeOutBack
ok 50 fabric.util.animate > animate easing easeInOutBack
ok 51 fabric.util.animate > animate easing easeInBounce
ok 52 fabric.util.animate > animate easing easeOutBounce
ok 53 fabric.util.animate > animate easing easeInOutBounce
ok 54 fabric.BaseBrush > fabric brush constructor
ok 55 fabric.BaseBrush > fabric pencil brush constructor
ok 56 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = true > fabric pencil brush draw point
ok 57 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = true > fabric pencil brush multiple points
ok 58 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = true > fabric pencil brush multiple points not discarded
ok 59 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = true > fabric pencil brush multiple points outside canvas
ok 60 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = true > fabric pencil brush multiple points outside canvas, limitedToCanvasSize true
ok 61 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = true > fabric pencil brush multiple points not discarded
ok 62 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = false > fabric pencil brush draw point
ok 63 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = false > fabric pencil brush multiple points
ok 64 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = false > fabric pencil brush multiple points not discarded
ok 65 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = false > fabric pencil brush multiple points outside canvas
ok 66 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = false > fabric pencil brush multiple points outside canvas, limitedToCanvasSize true
ok 67 fabric.BaseBrush > fabric.BaseBrush with canvas.enableRetinaScaling = false > fabric pencil brush multiple points not discarded
ok 68 fabric.Canvas > initialProperties
ok 69 fabric.Canvas > getObjects
ok 70 fabric.Canvas > getElement
ok 71 fabric.Canvas > item
ok 72 fabric.Canvas > preserveObjectStacking
ok 73 fabric.Canvas > uniformScaling
ok 74 fabric.Canvas > uniScaleKey
ok 75 fabric.Canvas > centeredScaling
ok 76 fabric.Canvas > centeredRotation
ok 77 fabric.Canvas > centeredKey
ok 78 fabric.Canvas > altActionKey
ok 79 fabric.Canvas > interactive
ok 80 fabric.Canvas > selection
ok 81 fabric.Canvas > _initInteractive
ok 82 fabric.Canvas > renderTop
ok 83 fabric.Canvas > _chooseObjectsToRender
ok 84 fabric.Canvas > calcOffset
ok 85 fabric.Canvas > add
ok 86 fabric.Canvas > insertAt
ok 87 fabric.Canvas > remove
ok 88 fabric.Canvas > remove actual hovered target
ok 89 fabric.Canvas > before:selection:cleared
ok 90 fabric.Canvas > before:selection:cleared gets target the active object
ok 91 fabric.Canvas > selection:cleared
ok 92 fabric.Canvas > create active selection fires selection:created
ok 93 fabric.Canvas > create active selection fires selected on new object
ok 94 fabric.Canvas > update active selection selection:updated
ok 95 fabric.Canvas > update active selection fires deselected on an object
ok 96 fabric.Canvas > update active selection fires selected on an object
ok 97 fabric.Canvas > setActiveObject fires deselected
ok 98 fabric.Canvas > _createGroup respect order of objects
ok 99 fabric.Canvas > _createGroup respect order of objects (inverted)
ok 100 fabric.Canvas > _groupSelectedObjects fires selected for objects
ok 101 fabric.Canvas > _groupSelectedObjects fires selection:created if more than one object is returned
ok 102 fabric.Canvas > _groupSelectedObjects fires selection:created if one only object is returned
ok 103 fabric.Canvas > _collectObjects collects object contained in area
ok 104 fabric.Canvas > _collectObjects do not collects object if area is outside
ok 105 fabric.Canvas > _collectObjects collect included objects that are not touched by the selection sides
ok 106 fabric.Canvas > _collectObjects collect topmost object if no dragging occurs
ok 107 fabric.Canvas > _collectObjects collect objects if the drag is inside the object
ok 108 fabric.Canvas > _collectObjects collects object fully contained in area
ok 109 fabric.Canvas > _collectObjects does not collect objects not fully contained
ok 110 fabric.Canvas > _collectObjects does not collect objects that have onSelect returning true
ok 111 fabric.Canvas > _collectObjects does not call onSelect on objects that are not intersected
ok 112 fabric.Canvas > _shouldGroup return false if onSelect return true
ok 113 fabric.Canvas > _shouldGroup return true if onSelect return false and selectionKey is true
ok 114 fabric.Canvas > _shouldGroup return false if selectionKey is false
ok 115 fabric.Canvas > _fireSelectionEvents fires multiple things
ok 116 fabric.Canvas > getContext
ok 117 fabric.Canvas > clearContext
ok 118 fabric.Canvas > clear
ok 119 fabric.Canvas > renderAll
ok 120 fabric.Canvas > _drawSelection
ok 121 fabric.Canvas > findTarget
ok 122 fabric.Canvas > findTarget preserveObjectStacking false
ok 123 fabric.Canvas > findTarget preserveObjectStacking true
ok 124 fabric.Canvas > findTarget with subTargetCheck
ok 125 fabric.Canvas > findTarget with subTargetCheck and canvas zoom
ok 126 fabric.Canvas > findTarget with subTargetCheck on activeObject
ok 127 fabric.Canvas > findTarget with subTargetCheck on activeObject and preserveObjectStacking true
ok 128 fabric.Canvas > findTarget with perPixelTargetFind
ok 129 fabric.Canvas > findTarget with perPixelTargetFind in nested group
ok 130 fabric.Canvas > findTarget on activegroup
ok 131 fabric.Canvas > findTarget on activegroup with perPixelTargetFind
ok 132 fabric.Canvas > ActiveSelection sendToBack
ok 133 fabric.Canvas > activeGroup bringToFront
ok 134 fabric.Canvas > activeGroup bringForward
ok 135 fabric.Canvas > activeGroup sendBackwards
ok 136 fabric.Canvas > toDataURL
ok 137 fabric.Canvas > getCenter
ok 138 fabric.Canvas > centerObjectH
ok 139 fabric.Canvas > centerObjectV
ok 140 fabric.Canvas > centerObject
ok 141 fabric.Canvas > straightenObject
ok 142 fabric.Canvas > toJSON
ok 143 fabric.Canvas > toJSON with active group
ok 144 fabric.Canvas > toDatalessJSON
ok 145 fabric.Canvas > toObject
ok 146 fabric.Canvas > toObject with clipPath
ok 147 fabric.Canvas > toDatalessObject
ok 148 fabric.Canvas > isEmpty
ok 149 fabric.Canvas > loadFromJSON with json string Canvas
ok 150 fabric.Canvas > loadFromJSON with json object
ok 151 fabric.Canvas > loadFromJSON with json object without default values
ok 152 fabric.Canvas > loadFromJSON with reviver function
ok 153 fabric.Canvas > loadFromJSON with no objects
ok 154 fabric.Canvas > loadFromJSON without "objects" property
ok 155 fabric.Canvas > loadFromJSON with empty fabric.Group
ok 156 fabric.Canvas > loadFromJSON with async content
ok 157 fabric.Canvas > loadFromJSON with custom properties on Canvas with no async object
ok 158 fabric.Canvas > loadFromJSON with custom properties on Canvas with image
ok 159 fabric.Canvas > normalize pointer
ok 160 fabric.Canvas > restorePointerVpt
ok 161 fabric.Canvas > sendToBack
ok 162 fabric.Canvas > bringToFront
ok 163 fabric.Canvas > sendBackwards
ok 164 fabric.Canvas > bringForward
ok 165 fabric.Canvas > setActiveObject
ok 166 fabric.Canvas > getActiveObject
ok 167 fabric.Canvas > getsetActiveObject
ok 168 fabric.Canvas > item
ok 169 fabric.Canvas > discardActiveObject on ActiveSelection
ok 170 fabric.Canvas > _discardActiveObject
ok 171 fabric.Canvas > discardActiveObject
ok 172 fabric.Canvas > complexity
ok 173 fabric.Canvas > toString
ok 174 fabric.Canvas > toSVG with active group
ok 175 fabric.Canvas > active group objects reordering
ok 176 fabric.Canvas > dispose
ok 177 fabric.Canvas > clone
ok 178 fabric.Canvas > cloneWithoutData
ok 179 fabric.Canvas > getSetWidth
ok 180 fabric.Canvas > getSetHeight
ok 181 fabric.Canvas > setWidth css only
ok 182 fabric.Canvas > setHeight css only
ok 183 fabric.Canvas > setWidth backstore only
ok 184 fabric.Canvas > setHeight backstore only
ok 185 fabric.Canvas > setupCurrentTransform
ok 186 fabric.Canvas > fxRemove
ok 187 fabric.Canvas > isTargetTransparent
ok 188 fabric.Canvas > isTargetTransparent without objectCaching
ok 189 fabric.Canvas > isTargetTransparent as active object
ok 190 fabric.Canvas > canvas inheritance
ok 191 fabric.Canvas > _shouldCenterTransform
ok 192 fabric.Canvas events mixin > _beforeTransform
ok 193 fabric.Canvas events mixin > cache and reset event properties
ok 194 fabric.Canvas events mixin > mouse:down with different buttons
ok 195 fabric.Canvas events mixin > mouse:down:before with different buttons
ok 196 fabric.Canvas events mixin > mouse:down and group selector
ok 197 fabric.Canvas events mixin > activeOn object selection
ok 198 fabric.Canvas events mixin > specific bug #5317 for shift+click and active selection
ok 199 fabric.Canvas events mixin > specific bug #6314 for partial intersection with drag
ok 200 fabric.Canvas events mixin > mouse:up isClick = true
ok 201 fabric.Canvas events mixin > setDimensions and active brush
ok 202 fabric.Canvas events mixin > mouse:up isClick = false
ok 203 fabric.Canvas events mixin > mouse:up should return target and currentTarget
ok 204 fabric.Canvas events mixin > fires object:modified and object:moved
ok 205 fabric.Canvas events mixin > drag small object when mousemove + drag, not active
ok 206 fabric.Canvas events mixin > scale small object when mousemove + drag, active
ok 207 fabric.Canvas events mixin > avoid multiple bindings
ok 208 fabric.Canvas events mixin > avoid multiple registration - DragEnter
ok 209 fabric.Canvas events mixin > avoid multiple registration - DragLeave
ok 210 fabric.Canvas events mixin > avoid multiple registration - DragOver
ok 211 fabric.Canvas events mixin > avoid multiple registration - Drop
ok 212 fabric.Canvas events mixin > Fabric event fired - DragEnter
ok 213 fabric.Canvas events mixin > Fabric event fired - DragLeave
ok 214 fabric.Canvas events mixin > Fabric event fired - DragOver
ok 215 fabric.Canvas events mixin > Fabric event fired - Drop
ok 216 fabric.Canvas events mixin > _simpleEventHandler fires on object and canvasDragEnter
ok 217 fabric.Canvas events mixin > _simpleEventHandler fires on object and canvasDragLeave
ok 218 fabric.Canvas events mixin > _simpleEventHandler fires on object and canvasDragOver
ok 219 fabric.Canvas events mixin > _simpleEventHandler fires on object and canvasDrop
ok 220 fabric.Canvas events mixin > Fabric event fired - mousedown
ok 221 fabric.Canvas events mixin > Fabric event fired - mousemove
ok 222 fabric.Canvas events mixin > Fabric event fired - wheel
ok 223 fabric.Canvas events mixin > Fabric event fired - dblclick
ok 224 fabric.Canvas events mixin > Fabric event fired - mouseout
ok 225 fabric.Canvas events mixin > Fabric event fired - mouseenter
ok 226 fabric.Canvas events mixin > mouseover and mouseout with subtarget check
ok 227 fabric.Canvas events mixin > Fabric mouseover, mouseout events fire for subTargets when subTargetCheck is enabled
ok 228 fabric.Canvas events mixin > avoid multiple registration - MouseDown
ok 229 fabric.Canvas events mixin > avoid multiple registration - MouseMove
ok 230 fabric.Canvas events mixin > avoid multiple registration - MouseOut
ok 231 fabric.Canvas events mixin > avoid multiple registration - MouseEnter
ok 232 fabric.Canvas events mixin > avoid multiple registration - MouseWheel
ok 233 fabric.Canvas events mixin > avoid multiple registration - DoubleClick
ok 234 fabric.Canvas events mixin > avoid multiple registration - mouseup
ok 235 fabric.Canvas events mixin > mouseEnter removes _hoveredTarget
ok 236 fabric.Canvas events mixin > mouseEnter does not remove _hoveredTarget if a transform is happening
ok 237 fabric.Canvas events mixin > mouseEnter removes __corner
ok 238 fabric.Canvas events mixin > mouseEnter does not removes __corner if there is a transform
ok 239 fabric.Canvas events mixin > avoid multiple events on window
ok 240 fabric.Canvas events mixin > getCornerCursor 
ok 241 fabric.Canvas events mixin > _addEventOptions return the correct event name
ok 242 fabric.StaticCanvas > initialProperties
ok 243 fabric.StaticCanvas > getObjects
ok 244 fabric.StaticCanvas > getObjects with type
ok 245 fabric.StaticCanvas > getElement
ok 246 fabric.StaticCanvas > item
ok 247 fabric.StaticCanvas > calcOffset
ok 248 fabric.StaticCanvas > add
ok 249 fabric.StaticCanvas > add renderOnAddRemove disabled
ok 250 fabric.StaticCanvas > object:added
ok 251 fabric.StaticCanvas > insertAt
ok 252 fabric.StaticCanvas > insertAt renderOnAddRemove disabled
ok 253 fabric.StaticCanvas > remove
ok 254 fabric.StaticCanvas > remove renderOnAddRemove disabled
ok 255 fabric.StaticCanvas > object:removed
ok 256 fabric.StaticCanvas > clearContext
ok 257 fabric.StaticCanvas > clear
ok 258 fabric.StaticCanvas > renderAll
ok 259 fabric.StaticCanvas > toCanvasElement
ok 260 fabric.StaticCanvas > toCanvasElement with multiplier
ok 261 fabric.StaticCanvas > toDataURL
ok 262 fabric.StaticCanvas > toDataURL with enableRetinaScaling: true and no multiplier
ok 263 fabric.StaticCanvas > toDataURL with enableRetinaScaling: true and multiplier = 1
ok 264 fabric.StaticCanvas > toDataURL with enableRetinaScaling: true and multiplier = 3
ok 265 fabric.StaticCanvas > toDataURL with enableRetinaScaling: false and no multiplier
ok 266 fabric.StaticCanvas > toDataURL with enableRetinaScaling: false and multiplier = 1
ok 267 fabric.StaticCanvas > toDataURL with enableRetinaScaling: false and multiplier = 3
ok 268 fabric.StaticCanvas > toDataURL with enableRetinaScaling: false
ok 269 fabric.StaticCanvas > toDataURL jpeg
ok 270 fabric.StaticCanvas > toDataURL cropping
ok 271 fabric.StaticCanvas > centerObjectH
ok 272 fabric.StaticCanvas > centerObjectV
ok 273 fabric.StaticCanvas > centerObject
ok 274 fabric.StaticCanvas > viewportCenterObjectH
ok 275 fabric.StaticCanvas > viewportCenterObjectV
ok 276 fabric.StaticCanvas > viewportCenterObject
ok 277 fabric.StaticCanvas > straightenObject
ok 278 fabric.StaticCanvas > toSVG
ok 279 fabric.StaticCanvas > toSVG with different encoding (ISO-8859-1)
ok 280 fabric.StaticCanvas > toSVG without preamble
ok 281 fabric.StaticCanvas > toSVG with viewBox
ok 282 fabric.StaticCanvas > toSVG with reviver
ok 283 fabric.StaticCanvas > toSVG with reviver 2
ok 284 fabric.StaticCanvas > toSVG with exclude from export
ok 285 fabric.StaticCanvas > toSVG with a clipPath
ok 286 fabric.StaticCanvas > toSVG with exclude from export background
ok 287 fabric.StaticCanvas > toJSON
ok 288 fabric.StaticCanvas > toJSON custom properties non-existence check
ok 289 fabric.StaticCanvas > toJSON backgroundImage
ok 290 fabric.StaticCanvas > toJSON backgroundImage with custom props
ok 291 fabric.StaticCanvas > toJSON overlayImage
ok 292 fabric.StaticCanvas > toJSON overlayImage with custom props
ok 293 fabric.StaticCanvas > toDatalessJSON
ok 294 fabric.StaticCanvas > toObject
ok 295 fabric.StaticCanvas > toObject non includeDefaultValues
ok 296 fabric.StaticCanvas > toObject excludeFromExport
ok 297 fabric.StaticCanvas > toObject excludeFromExport bgImage overlay
ok 298 fabric.StaticCanvas > toDatalessObject
ok 299 fabric.StaticCanvas > toObject with additional properties
ok 300 fabric.StaticCanvas > isEmpty
ok 301 fabric.StaticCanvas > loadFromJSON with json string staticCanvas
ok 302 fabric.StaticCanvas > loadFromJSON with json object
ok 303 fabric.StaticCanvas > loadFromJSON with json object without default values
ok 304 fabric.StaticCanvas > loadFromJSON with image background and color
ok 305 fabric.StaticCanvas > loadFromJSON custom properties
ok 306 fabric.StaticCanvas > loadFromJSON with text
ok 307 fabric.StaticCanvas > loadFromJSON with clipPath
ok 308 fabric.StaticCanvas > sendToBack
ok 309 fabric.StaticCanvas > bringToFront
ok 310 fabric.StaticCanvas > sendBackwards
ok 311 fabric.StaticCanvas > bringForward
ok 312 fabric.StaticCanvas > moveTo
ok 313 fabric.StaticCanvas > item
ok 314 fabric.StaticCanvas > complexity
ok 315 fabric.StaticCanvas > toString
ok 316 fabric.StaticCanvas > dispose clear references
ok 317 fabric.StaticCanvas > clone
ok 318 fabric.StaticCanvas > getSetWidth
ok 319 fabric.StaticCanvas > getSetHeight
ok 320 fabric.StaticCanvas > setWidth css only
ok 321 fabric.StaticCanvas > setHeight css only
ok 322 fabric.StaticCanvas > setDimensions css only
ok 323 fabric.StaticCanvas > setWidth backstore only
ok 324 fabric.StaticCanvas > setHeight backstore only
ok 325 fabric.StaticCanvas > setDimensions backstore only
ok 326 fabric.StaticCanvas > fxRemove
ok 327 fabric.StaticCanvas > options in setBackgroundImage from URL
ok 328 fabric.StaticCanvas > options in setOverlayImage from URL
ok 329 fabric.StaticCanvas > setViewportTransform
ok 330 fabric.StaticCanvas > setViewportTransform calls objects setCoords
ok 331 fabric.StaticCanvas > getZoom
ok 332 fabric.StaticCanvas > setZoom
ok 333 fabric.StaticCanvas > zoomToPoint
ok 334 fabric.StaticCanvas > absolutePan
ok 335 fabric.StaticCanvas > relativePan
ok 336 fabric.StaticCanvas > getContext
ok 337 fabric.StaticCanvas > calcViewportBoundaries
ok 338 fabric.StaticCanvas > calcViewportBoundaries with zoom
ok 339 fabric.StaticCanvas > calcViewportBoundaries with zoom and translation
ok 340 fabric.StaticCanvas > _isRetinaScaling
ok 341 fabric.StaticCanvas > getRetinaScaling
ok 342 fabric.StaticCanvas > options in setBackgroundImage from image instance
ok 343 fabric.StaticCanvas > options in setOverlayImage from image instance
ok 344 fabric.StaticCanvas > createPNGStream
ok 345 fabric.StaticCanvas > createJPEGStream
ok 346 fabric.StaticCanvas > toSVG with background
ok 347 fabric.StaticCanvas > toSVG with background and zoom and svgViewportTransformation
ok 348 fabric.StaticCanvas > toSVG with background gradient
ok 349 fabric.StaticCanvas > toSVG with background gradient and transforms
JSDOM CATCHED FETCHING a.jpeg
Error loading a.jpeg
ok 350 fabric.StaticCanvas > toSVG with background pattern
ok 351 fabric.StaticCanvas > requestRenderAll and cancelRequestedRender
ok 352 fabric.Circle > constructor
ok 353 fabric.Circle > constructor with radius
ok 354 fabric.Circle > getRadiusX, getRadiusY
ok 355 fabric.Circle > setRadius
ok 356 fabric.Circle > set radius
ok 357 fabric.Circle > complexity
ok 358 fabric.Circle > toObject
ok 359 fabric.Circle > toSVG with full circle
ok 360 fabric.Circle > toSVG with half circle
ok 361 fabric.Circle > fromElement
ok 362 fabric.Circle > fromObject
ok 363 fabric.Circle > cloning and radius, width, height
ok 364 fabric.Collection > add
ok 365 fabric.Collection > insertAt
ok 366 fabric.Collection > remove
ok 367 fabric.Collection > forEachObject
ok 368 fabric.Collection > getObjects
ok 369 fabric.Collection > item
ok 370 fabric.Collection > isEmpty
ok 371 fabric.Collection > size
ok 372 fabric.Collection > contains
ok 373 fabric.Collection > complexity
ok 374 fabric.Color > constructor
ok 375 fabric.Color > empty args
ok 376 fabric.Color > getSource
ok 377 fabric.Color > setSource
ok 378 fabric.Color > toRgb
ok 379 fabric.Color > toRgba
ok 380 fabric.Color > toHsl
ok 381 fabric.Color > toHsla
ok 382 fabric.Color > toHex
ok 383 fabric.Color > toHexa
ok 384 fabric.Color > getAlpha
ok 385 fabric.Color > setAlpha
ok 386 fabric.Color > toGrayscale
ok 387 fabric.Color > toBlackWhite
ok 388 fabric.Color > fromRgb
ok 389 fabric.Color > fromRgb (with whitespaces)
ok 390 fabric.Color > fromRgb (percentage values)
ok 391 fabric.Color > fromRgb (percentage values with whitespaces)
ok 392 fabric.Color > fromRgb (uppercase)
ok 393 fabric.Color > fromRgba (uppercase)
ok 394 fabric.Color > fromRgba
ok 395 fabric.Color > fromRgba (with missing 0)
ok 396 fabric.Color > fromRgba (with whitespaces)
ok 397 fabric.Color > fromRgba (percentage values)
ok 398 fabric.Color > fromRgba (percentage values with whitespaces)
ok 399 fabric.Color > fromRgba (percentage values with decimals)
ok 400 fabric.Color > fromHsl
ok 401 fabric.Color > fromHsl (with whitespaces)
ok 402 fabric.Color > fromHsl (uppercase)
ok 403 fabric.Color > fromHsla (uppercase)
ok 404 fabric.Color > fromHsla
ok 405 fabric.Color > fromHsla (with whitespaces)
ok 406 fabric.Color > fromHex
ok 407 fabric.Color > sourceFromRgb
ok 408 fabric.Color > sourceFromHsl
ok 409 fabric.Color > sourceFromHex
ok 410 fabric.Color > fromSource
ok 411 fabric.Color > overlayWith
ok 412 fabric.Color > transparent
ok 413 fabric.controlsUtils > changeWidth changes the width
ok 414 fabric.controlsUtils > changeWidth changes the width with centered transform
ok 415 fabric.controlsUtils > changeWidth changes the width with big strokeWidth
ok 416 fabric.controlsUtils > changeWidth changes the width with big strokeWidth and strokeUniform
ok 417 fabric.controlsUtils > changeWidth changes the width with big strokeWidth and strokeUniform + scaling
ok 418 fabric.controlsUtils > changeWidth changes the width with big strokeWidth + scaling
ok 419 fabric.controlsUtils > changeWidth will fire events on canvas and target resizing
ok 420 fabric.controlsUtils > scalingXOrSkewingY changes scaleX
ok 421 fabric.controlsUtils > scalingXOrSkewingY changes scaleX to flip
ok 422 fabric.controlsUtils > scalingXOrSkewingY blocks scaleX to flip
ok 423 fabric.controlsUtils > scalingYOrSkewingX changes scaleY
ok 424 fabric.controlsUtils > scalingYOrSkewingX changes scaleY to flip
ok 425 fabric.controlsUtils > scalingYOrSkewingX blocks scaleX to flip
ok 426 fabric.controlsUtils > scalingXOrSkewingY changes skewY if shift pressed
ok 427 fabric.controlsUtils > scalingYOrSkewingX changes skewX if shift pressed
ok 428 fabric.controlsUtils > scalingXOrSkewingY will fire events on canvas and target
ok 429 fabric.controlsUtils > wrapWithFixedAnchor
ok 430 fabric.Ellipse > constructor
ok 431 fabric.Ellipse > complexity
ok 432 fabric.Ellipse > toObject
ok 433 fabric.Ellipse > isNotVisible
ok 434 fabric.Ellipse > toSVG
ok 435 fabric.Ellipse > toSVG with a clipPath
ok 436 fabric.Ellipse > toSVG with a clipPath absolute positioned
ok 437 fabric.Ellipse > fromElement
ok 438 fabric.Ellipse > fromObject
ok 439 fabric.Gradient > constructor linearGradient
ok 440 fabric.Gradient > constructor radialGradient
ok 441 fabric.Gradient > properties linearGradient
ok 442 fabric.Gradient > properties radialGradient
ok 443 fabric.Gradient > toObject linearGradient
ok 444 fabric.Gradient > toObject with custom props
ok 445 fabric.Gradient > toObject radialGradient
ok 446 fabric.Gradient > toLive linearGradient
ok 447 fabric.Gradient > toLive radialGradient
ok 448 fabric.Gradient > fromElement linearGradient
ok 449 fabric.Gradient > fromElement linearGradient with floats percentage - objectBoundingBox
ok 450 fabric.Gradient > fromElement linearGradient with floats percentage - userSpaceOnUse
ok 451 fabric.Gradient > fromElement linearGradient with Infinity
ok 452 fabric.Gradient > fromElement without stop
ok 453 fabric.Gradient > fromElement with x1,x2,y1,2 linear
ok 454 fabric.Gradient > fromElement with x1,x2,y1,2 radial
ok 455 fabric.Gradient > fromElement with x1,x2,y1,2 radial userSpaceOnUse
ok 456 fabric.Gradient > fromElement with x1,x2,y1,2 linear userSpaceOnUse
ok 457 fabric.Gradient > fromElement radialGradient defaults
ok 458 fabric.Gradient > fromElement radialGradient with transform
ok 459 fabric.Gradient > fromElement linearGradient colorStop attributes/styles
ok 460 fabric.Gradient > fromElement radialGradient colorStop attributes/styles
ok 461 fabric.Gradient > toSVG
ok 462 fabric.Gradient > toSVG linear
ok 463 fabric.Gradient > toSVG radial
ok 464 fabric.Gradient > toSVG radial with r1 > 0
ok 465 fabric.Gradient > toSVG radial with r1 > 0 swapped
ok 466 fabric.Gradient > toSVG linear objectBoundingBox
ok 467 fabric.Gradient > toSVG radial objectBoundingBox
ok 468 fabric.Group > constructor
ok 469 fabric.Group > toString
ok 470 fabric.Group > getObjects
ok 471 fabric.Group > getObjects with type
ok 472 fabric.Group > add
ok 473 fabric.Group > remove
ok 474 fabric.Group > size
ok 475 fabric.Group > set
ok 476 fabric.Group > contains
ok 477 fabric.Group > toObject
ok 478 fabric.Group > toObject without default values
ok 479 fabric.Group > render
ok 480 fabric.Group > item
ok 481 fabric.Group > moveTo
ok 482 fabric.Group > complexity
ok 483 fabric.Group > destroy
ok 484 fabric.Group > setObjectCoords
ok 485 fabric.Group > containsPoint
ok 486 fabric.Group > forEachObject
ok 487 fabric.Group > fromObject
ok 488 fabric.Group > fromObject with clipPath
ok 489 fabric.Group > fromObject restores oCoords
ok 490 fabric.Group > fromObject does not delete objects from source
ok 491 fabric.Group > fromObject with svg url
ok 492 fabric.Group > toSVG
ok 493 fabric.Group > toSVG with a clipPath
ok 494 fabric.Group > toSVG with a clipPath absolutePositioned
ok 495 fabric.Group > toSVG with a group as a clipPath
ok 496 fabric.Group > cloning group with 2 objects
ok 497 fabric.Group > get with locked objects
ok 498 fabric.Group > z-index methods with group objects
ok 499 fabric.Group > group reference on an object
ok 500 fabric.Group > insertAt
ok 501 fabric.Group > dirty flag propagation from children up
ok 502 fabric.Group > dirty flag propagation from children up is stopped if group is not caching
ok 503 fabric.Group > dirty flag propagation from children up does not happen if value does not change really
ok 504 fabric.Group > dirty flag propagation from children up with
ok 505 fabric.Group > _getCacheCanvasDimensions returns dimensions and zoom for cache canvas are influenced by group
ok 506 fabric.Group > test group - pixels.
ok 507 fabric.Group > group toDatalessObject
ok 508 fabric.Group > group addWithUpdate
ok 509 fabric.Group > group removeWithUpdate
ok 510 fabric.Group > group willDrawShadow
ok 511 fabric.Group > group willDrawShadow with no offsets
ok 512 fabric.Group > group shouldCache
ok 513 fabric.Group > useSetOnGroup
ok 514 fabric.Group > canvas prop propagation with set
ok 515 fabric.Group > canvas prop propagation with add
ok 516 fabric.Group > canvas prop propagation with add to group
ok 517 fabric header.js > default values
ok 518 fabric header.js > initFilterBackend
ok 519 fabric.Image > constructor
ok 520 fabric.Image > toObject
ok 521 fabric.Image > setSrc
ok 522 fabric.Image > setSrc with crossOrigin
ok 523 fabric.Image > toObject with no element
ok 524 fabric.Image > toObject with resize filter
ok 525 fabric.Image > toObject with normal filter and resize filter
ok 526 fabric.Image > toObject with applied resize filter
ok 527 fabric.Image > toString
ok 528 fabric.Image > toSVG with crop
ok 529 fabric.Image > hasCrop
ok 530 fabric.Image > toSVG
ok 531 fabric.Image > toSVG with imageSmoothing false
ok 532 fabric.Image > toSVG with missing element
ok 533 fabric.Image > getSrc
ok 534 fabric.Image > getSrc with srcFromAttribute
ok 535 fabric.Image > getElement
ok 536 fabric.Image > setElement
ok 537 fabric.Image > setElement resets the webgl cache
ok 538 fabric.Image > crossOrigin
ok 539 fabric.Image > clone
ok 540 fabric.Image > cloneWidthHeight
ok 541 fabric.Image > fromObject
ok 542 fabric.Image > fromObject with clipPath
ok 543 fabric.Image > fromObject does not mutate data
ok 544 fabric.Image > fromURL
JSDOM CATCHED FETCHING http://www.google.com/non-existing
Error loading http://www.google.com/non-existing
ok 545 fabric.Image > fromURL error
ok 546 fabric.Image > fromElement
ok 547 fabric.Image > fromElement imageSmoothing
ok 548 fabric.Image > fromElement with preserveAspectRatio
ok 549 fabric.Image > fromElement with preserveAspectRatio and smaller bbox
ok 550 fabric.Image > fromElement with preserveAspectRatio and smaller bbox xMidYmax
ok 551 fabric.Image > fromElement with preserveAspectRatio and smaller bbox xMidYmin
ok 552 fabric.Image > fromElement with preserveAspectRatio and smaller V bbox xMinYMin
ok 553 fabric.Image > fromElement with preserveAspectRatio and smaller V bbox xMidYmin
ok 554 fabric.Image > fromElement with preserveAspectRatio and smaller V bbox xMaxYMin
ok 555 fabric.Image > consecutive dataURLs give same result.
ok 556 fabric.Image > apply filters run isNeutralState implementation of filters
ok 557 fabric.Image > apply filters set the image dirty
ok 558 fabric.Image > apply filters reset _element and _filteredEl
ok 559 fabric.Image > apply filters and resize filter
ok 560 fabric.Image > apply filters set the image dirty and also the group
ok 561 fabric.Image > _renderFill respects source boundaries crop < 0 and width > elWidth
ok 562 fabric.Image > _renderFill respects source boundaries crop < 0 and width > elWidth
ok 563 fabric.Image.filters.Brightness > constructor
ok 564 fabric.Image.filters.Brightness > properties
ok 565 fabric.Image.filters.Brightness > applyTo2d
ok 566 fabric.Image.filters.Brightness > applyTo2d values
ok 567 fabric.Image.filters.Brightness > toObject
ok 568 fabric.Image.filters.Brightness > toJSON
ok 569 fabric.Image.filters.Brightness > fromObject
ok 570 fabric.Image.filters.Brightness > isNeutralState
ok 571 fabric.Image.filters.Composed > constructor
ok 572 fabric.Image.filters.Composed > properties
ok 573 fabric.Image.filters.Composed > has not applyTo2d
ok 574 fabric.Image.filters.Composed > toObject
ok 575 fabric.Image.filters.Composed > toObject with subfilters
ok 576 fabric.Image.filters.Composed > toJSON
ok 577 fabric.Image.filters.Composed > fromObject
ok 578 fabric.Image.filters.Composed > fromObject with subfilters
ok 579 fabric.Image.filters.Composed > isNeutralState
ok 580 fabric.Image.filters.ColorMatrix > constructor
ok 581 fabric.Image.filters.ColorMatrix > properties
ok 582 fabric.Image.filters.ColorMatrix > applyTo2d
ok 583 fabric.Image.filters.ColorMatrix > applyTo2d values
ok 584 fabric.Image.filters.ColorMatrix > toObject
ok 585 fabric.Image.filters.ColorMatrix > toJSON
ok 586 fabric.Image.filters.ColorMatrix > fromObject
ok 587 fabric.Image.filters.ColorMatrix > isNeutralState
ok 588 fabric.Image.filters.HueRotation > constructor
ok 589 fabric.Image.filters.HueRotation > properties
ok 590 fabric.Image.filters.HueRotation > applyTo2d
ok 591 fabric.Image.filters.HueRotation > applyTo2d values
ok 592 fabric.Image.filters.HueRotation > toObject
ok 593 fabric.Image.filters.HueRotation > toJSON
ok 594 fabric.Image.filters.HueRotation > fromObject
ok 595 fabric.Image.filters.HueRotation > isNeutralState
ok 596 fabric.Image.filters.Contrast > constructor
ok 597 fabric.Image.filters.Contrast > properties
ok 598 fabric.Image.filters.Contrast > applyTo2d
ok 599 fabric.Image.filters.Contrast > applyTo2d values
ok 600 fabric.Image.filters.Contrast > toObject
ok 601 fabric.Image.filters.Contrast > toJSON
ok 602 fabric.Image.filters.Contrast > fromObject
ok 603 fabric.Image.filters.Contrast > isNeutralState
ok 604 fabric.Image.filters.Saturation > constructor
ok 605 fabric.Image.filters.Saturation > properties
ok 606 fabric.Image.filters.Saturation > applyTo2d
ok 607 fabric.Image.filters.Saturation > applyTo2d values Saturation
ok 608 fabric.Image.filters.Saturation > toObject
ok 609 fabric.Image.filters.Saturation > toJSON
ok 610 fabric.Image.filters.Saturation > fromObject
ok 611 fabric.Image.filters.Saturation > isNeutralState
ok 612 fabric.Image.filters.Gamma > constructor
ok 613 fabric.Image.filters.Gamma > properties
ok 614 fabric.Image.filters.Gamma > applyTo2d
ok 615 fabric.Image.filters.Gamma > applyTo2d values
ok 616 fabric.Image.filters.Gamma > toObject
ok 617 fabric.Image.filters.Gamma > toJSON
ok 618 fabric.Image.filters.Gamma > fromObject
ok 619 fabric.Image.filters.Gamma > isNeutralState
ok 620 fabric.Image.filters.Convolute > constructor
ok 621 fabric.Image.filters.Convolute > properties
ok 622 fabric.Image.filters.Convolute > applyTo2d
ok 623 fabric.Image.filters.Convolute > toObject
ok 624 fabric.Image.filters.Convolute > toJSON
ok 625 fabric.Image.filters.Convolute > fromObject
ok 626 fabric.Image.filters.Convolute > isNeutralState
ok 627 fabric.Image.filters.Grayscale > constructor
ok 628 fabric.Image.filters.Grayscale > properties
ok 629 fabric.Image.filters.Grayscale > applyTo2d
ok 630 fabric.Image.filters.Grayscale > applyTo2d values Grayscale average
ok 631 fabric.Image.filters.Grayscale > applyTo2d values Grayscale lightness
ok 632 fabric.Image.filters.Grayscale > applyTo2d values Grayscale luminosity
ok 633 fabric.Image.filters.Grayscale > toObject
ok 634 fabric.Image.filters.Grayscale > toJSON
ok 635 fabric.Image.filters.Grayscale > fromObject
ok 636 fabric.Image.filters.Grayscale > isNeutralState
ok 637 fabric.Image.filters.Invert > constructor
ok 638 fabric.Image.filters.Invert > properties
ok 639 fabric.Image.filters.Invert > applyTo2d
ok 640 fabric.Image.filters.Invert > applyTo2d values Invert
ok 641 fabric.Image.filters.Invert > toObject
ok 642 fabric.Image.filters.Invert > toJSON
ok 643 fabric.Image.filters.Invert > fromObject
ok 644 fabric.Image.filters.Invert > isNeutralState
ok 645 fabric.Image.filters.Noise > constructor
ok 646 fabric.Image.filters.Noise > properties
ok 647 fabric.Image.filters.Noise > applyTo2d
ok 648 fabric.Image.filters.Noise > toObject
ok 649 fabric.Image.filters.Noise > toJSON
ok 650 fabric.Image.filters.Noise > fromObject
ok 651 fabric.Image.filters.Noise > isNeutralState
ok 652 fabric.Image.filters.Pixelate > constructor
ok 653 fabric.Image.filters.Pixelate > properties
ok 654 fabric.Image.filters.Pixelate > applyTo2d
ok 655 fabric.Image.filters.Pixelate > applyTo2d values Pixelate
ok 656 fabric.Image.filters.Pixelate > toObject
ok 657 fabric.Image.filters.Pixelate > toJSON
ok 658 fabric.Image.filters.Pixelate > fromObject
ok 659 fabric.Image.filters.Pixelate > isNeutralState
ok 660 fabric.Image.filters.RemoveColor > constructor
ok 661 fabric.Image.filters.RemoveColor > properties
ok 662 fabric.Image.filters.RemoveColor > applyTo2d
ok 663 fabric.Image.filters.RemoveColor > applyTo2d
ok 664 fabric.Image.filters.RemoveColor > toObject
ok 665 fabric.Image.filters.RemoveColor > toJSON
ok 666 fabric.Image.filters.RemoveColor > fromObject
ok 667 fabric.Image.filters.RemoveColor > isNeutralState
ok 668 fabric.Image.filters.Sepia > constructor
ok 669 fabric.Image.filters.Sepia > properties
ok 670 fabric.Image.filters.Sepia > applyTo2d
ok 671 fabric.Image.filters.Sepia > toObject
ok 672 fabric.Image.filters.Sepia > toJSON
ok 673 fabric.Image.filters.Sepia > fromObject
ok 674 fabric.Image.filters.Sepia > isNeutralState
ok 675 fabric.Image.filters.Resize > constructor
ok 676 fabric.Image.filters.Resize > properties
ok 677 fabric.Image.filters.Resize > applyTo2d
ok 678 fabric.Image.filters.Resize > toObject
ok 679 fabric.Image.filters.Resize > fromObject
ok 680 fabric.Image.filters.Resize > isNeutralState
ok 681 fabric.Image.filters.Blur > isNeutralState
ok 682 fabric.Intersection > constructor & properties
ok 683 fabric.Intersection > appendPoint
ok 684 fabric.Intersection > appendPoints
ok 685 fabric.Intersection > intersectLineLine simple intersection
ok 686 fabric.Intersection > intersectLineLine parallel
ok 687 fabric.Intersection > intersectLineLine coincident
ok 688 fabric.Intersection > intersectLineLine coincident but different
ok 689 fabric.Intersection > intersectLineLine no intersect
ok 690 fabric.Intersection > intersectLinePolygon
ok 691 fabric.Intersection > intersectLinePolygon in one point
ok 692 fabric.Intersection > intersectLinePolygon in one point
ok 693 fabric.Intersection > intersectLinePolygon on a polygon segment
ok 694 fabric.Intersection > intersectPolygonPolygon not intersecting
ok 695 fabric.Intersection > intersectPolygonPolygon intersecting
ok 696 fabric.Intersection > intersectPolygonRectangle intersecting
ok 697 fabric.Intersection > intersectPolygonRectangle not intersecting
ok 698 fabric.IText > constructor
ok 699 fabric.IText > initial properties
ok 700 fabric.IText > instances
ok 701 fabric.IText > fromObject
ok 702 fabric.IText > lineHeight with single line
ok 703 fabric.IText > lineHeight with multi line
ok 704 fabric.IText > toObject
ok 705 fabric.IText > setSelectionStart
ok 706 fabric.IText > empty itext
ok 707 fabric.IText > setSelectionEnd
ok 708 fabric.IText > get2DCursorLocation
ok 709 fabric.IText > isEmptyStyles
ok 710 fabric.IText > selectAll
ok 711 fabric.IText > getSelectedText
ok 712 fabric.IText > enterEditing, exitEditing
ok 713 fabric.IText > enterEditing, exitEditing and saved props
ok 714 fabric.IText > event firing
ok 715 fabric.IText > insertNewlineStyleObject
ok 716 fabric.IText > insertNewlineStyleObject with existing style
ok 717 fabric.IText > shiftLineStyles
ok 718 fabric.IText > selectWord
ok 719 fabric.IText > selectLine
ok 720 fabric.IText > findWordBoundaryLeft
ok 721 fabric.IText > findWordBoundaryRight
ok 722 fabric.IText > findLineBoundaryLeft
ok 723 fabric.IText > findLineBoundaryRight
ok 724 fabric.IText > getSelectionStyles with no arguments
ok 725 fabric.IText > getSelectionStyles with 2 args
ok 726 fabric.IText > setSelectionStyles
ok 727 fabric.IText > getCurrentCharFontSize
ok 728 fabric.IText > object removal from canvas
ok 729 fabric.IText > getCurrentCharColor
ok 730 fabric.IText > toSVGWithFonts
ok 731 fabric.IText > toSVGWithFontsInGroups
ok 732 fabric.IText > space wrap attribute
ok 733 fabric.IText > _removeExtraneousStyles
ok 734 fabric.IText > fabric.IText with canvas.enableRetinaScaling = false > hiddenTextarea does not move DOM
ok 735 fabric.IText > fabric.IText with canvas.enableRetinaScaling = true > hiddenTextarea does not move DOM
ok 736 iText click interaction > doubleClickHandler
ok 737 iText click interaction > doubleClickHandler no editing
ok 738 iText click interaction > tripleClickHandler
ok 739 iText click interaction > tripleClickHandler
ok 740 iText click interaction > _getNewSelectionStartFromOffset end of line
ok 741 iText click interaction > _getNewSelectionStartFromOffset middle of line
ok 742 iText click interaction > _getNewSelectionStartFromOffset middle of line
ok 743 iText click interaction > _getNewSelectionStartFromOffset middle of line
ok 744 iText click interaction > _mouseDownHandlerBefore set up selected property
ok 745 iText click interaction > _mouseUpHandler set selected as true
ok 746 iText click interaction > _mouseUpHandler on a selected object enter edit
ok 747 iText click interaction > _mouseUpHandler on a selected object does enter edit if there is an activeObject
ok 748 iText click interaction > _mouseUpHandler on a selected text in a group DOES NOT enter edit
ok 749 iText click interaction > _mouseUpHandler on a corner of selected text DOES NOT enter edit
ok 750 iText click interaction > iText click interaction with canvas.enableRetinaScaling = false > click on editing itext make selection:changed fire
ok 751 iText click interaction > iText click interaction with canvas.enableRetinaScaling = true > click on editing itext make selection:changed fire
ok 752 fabric.Intersection > event selection:changed firing
ok 753 fabric.Intersection > moving cursor with shift
ok 754 fabric.Intersection > copy
ok 755 fabric.Intersection > copy with fabric.disableStyleCopyPaste
ok 756 fabric.Intersection > removeChars
ok 757 fabric.Intersection > insertChars
ok 758 fabric.Intersection > insertChars can remove chars
ok 759 fabric.Intersection > insertChars pick up the style of the character behind and replicates it
ok 760 fabric.Intersection > insertChars removes style from the removed text
ok 761 fabric.Intersection > insertChars handles new lines correctly
ok 762 fabric.Intersection > insertChars can accept some style for the new text
ok 763 fabric.Intersection > missingNewlineOffset
ok 764 fabric.Line > constructor
ok 765 fabric.Line > complexity
ok 766 fabric.Line > toSVG
ok 767 fabric.Line > toObject
ok 768 fabric.Line > fromObject
ok 769 fabric.Line > fromElement
ok 770 fabric.Line > straight lines may have 0 width or height
ok 771 fabric.Line > changing x/y coords should update width/height
ok 772 fabric.Line > stroke-width in a style
ok 773 fabric.Line > stroke-less line coords default to 0 left and 0 top
ok 774 fabric.Line > stroke-less line coords origin defaults to left-top
ok 775 fabric.Line > stroke-less line coords equal smallest points when origin is left-top and line not offset
ok 776 fabric.Line > stroke-less line coords include offsets for left-top origin
ok 777 fabric.Line > stroke-less line coords equal half-dimensions when origin is center and line not offset
ok 778 fabric.Line > stroke-less line coords include offsets for center-center origin
ok 779 fabric.Line > stroke-less line coords equal full dimensions when origin is right-bottom and line not offset
ok 780 fabric.Line > stroke-less line coords include offsets for right-bottom origin
ok 781 fabric.Line > stroke-less line coords arent changed by rotation for left-top origin
ok 782 fabric.Line > stroke-less line coords arent changed by rotation for right-bottom origin
ok 783 fabric.Line > stroke-less line coords arent changed by scaling for left-top origin
ok 784 fabric.Line > stroke-less line coords arent changed by scaling for right-bottom origin
ok 785 fabric.Line > stroke-less line coords arent changed by strokeWidth for left-top origin
ok 786 fabric.Line > stroke-less line coords arent changed by strokeWidth for center-center origin
ok 787 fabric.Line > stroke-less line coords arent changed by strokeWidth for right-bottom origin
ok 788 fabric.Line > stroke-less line coords left and top options override points
ok 789 fabric.Line > stroke-less line coords 0 left and 0 top options override points
ok 790 fabric.Line > stroke-less line coords equal x2 and y2 for left-top origin when x1 and y1 are largest and line not offset
ok 791 fabric.Line > stroke-less line coords equal half-dimensions for center-center origin when x1 and y1 are largest and line not offset
ok 792 fabric.Line > stroke-less line coords equal x1 and y1 for right-bottom origin when x1 and y1 are largest and line not offset
ok 793 fabric.Line > Line.getLeftToOriginX() is x1 for left origin and x1 lesser than x2
ok 794 fabric.Line > Line.getLeftToOriginX() is x2 for left origin and x1 greater than x2
ok 795 fabric.Line > Line.getLeftToOriginX() includes positive offset for left origin
ok 796 fabric.Line > Line.getLeftToOriginX() includes negative offset for left origin
ok 797 fabric.Line > Line.getLeftToOriginX() is half of x1 for center origin and x1 > x2
ok 798 fabric.Line > Line.getLeftToOriginX() is half of x2 for center origin and x1 < x2
ok 799 fabric.Line > Line.getLeftToOriginX() includes positive offset for center origin
ok 800 fabric.Line > Line.getLeftToOriginX() includes negative offset for center origin
ok 801 fabric.Line > Line.getLeftToOriginX() is x1 for right origin and x1 > x2
ok 802 fabric.Line > Line.getLeftToOriginX() is x2 for right origin and x1 < x2
ok 803 fabric.Line > Line.getLeftToOriginX() includes positive offset for right origin
ok 804 fabric.Line > Line.getLeftToOriginX() includes negative offset for right origin
ok 805 fabric.Line > Line._getTopToOriginY() is y1 for top origin and y1 lesser than y2
ok 806 fabric.Line > Line._getTopToOriginY() is y2 for top origin and y1 greater than y2
ok 807 fabric.Line > Line._getTopToOriginY() includes positive offset for top origin
ok 808 fabric.Line > Line._getTopToOriginY() includes negative offset for top origin
ok 809 fabric.Line > Line._getTopToOriginY() is half of y1 for center origin and y1 > y2
ok 810 fabric.Line > Line._getTopToOriginY() is half of y2 for center origin and y1 < y2
ok 811 fabric.Line > Line._getTopToOriginY() includes positive offset for center origin
ok 812 fabric.Line > Line._getTopToOriginY() includes negative offset for center origin
ok 813 fabric.Line > Line._getTopToOriginY() is y1 for bottom origin and y1 > y2
ok 814 fabric.Line > Line._getTopToOriginY() is y2 for bottom origin and y1 < y2
ok 815 fabric.Line > Line._getTopToOriginY() includes positive offset for bottom origin
ok 816 fabric.Line > Line._getTopToOriginY() includes negative offset for bottom origin
ok 817 fabric.Object > constructor & properties
ok 818 fabric.Object > get
ok 819 fabric.Object > set
ok 820 fabric.Object > set with object of prop/values
ok 821 fabric.Object > stateProperties
ok 822 fabric.Object > transform
ok 823 fabric.Object > toJSON
ok 824 fabric.Object > toObject
ok 825 fabric.Object > toObject without default values
ok 826 fabric.Object > toDatalessObject
ok 827 fabric.Object > toString
ok 828 fabric.Object > render
ok 829 fabric.Object > rotate
ok 830 fabric.Object > scale
ok 831 fabric.Object > setOpacity
ok 832 fabric.Object > getAngle
ok 833 fabric.Object > rotate
ok 834 fabric.Object > drawBorders
ok 835 fabric.Object > drawControls
ok 836 fabric.Object > clone
ok 837 fabric.Object > cloneAsImage
ok 838 fabric.Object > cloneAsImage with retina scaling enabled
ok 839 fabric.Object > toCanvasElement
ok 840 fabric.Object > toCanvasElement activeSelection
ok 841 fabric.Object > toCanvasElement does not modify oCoords on zoomed canvas
ok 842 fabric.Object > toDataURL
ok 843 fabric.Object > toDataURL & reference to canvas
ok 844 fabric.Object > isType
ok 845 fabric.Object > toggle
ok 846 fabric.Object > _setLineDash
ok 847 fabric.Object > straighten
ok 848 fabric.Object > fxStraighten
ok 849 fabric.Object > on off fire are chainable
ok 850 fabric.Object > observable
ok 851 fabric.Object > object:added
ok 852 fabric.Object > canvas reference
ok 853 fabric.Object > object:removed
ok 854 fabric.Object > center
ok 855 fabric.Object > centerH
ok 856 fabric.Object > centerV
ok 857 fabric.Object > viewportCenter
ok 858 fabric.Object > viewportCenterH
ok 859 fabric.Object > viewportCenterV
ok 860 fabric.Object > sendToBack
ok 861 fabric.Object > bringToFront
ok 862 fabric.Object > sendBackwards
ok 863 fabric.Object > bringForward
ok 864 fabric.Object > moveTo
ok 865 fabric.Object > getTotalObjectScaling with zoom
ok 866 fabric.Object > getTotalObjectScaling with retina
ok 867 fabric.Object > getObjectScaling
ok 868 fabric.Object > getObjectScaling in group
ok 869 fabric.Object > getObjectScaling in group with object rotated
ok 870 fabric.Object > dirty flag on set property
ok 871 fabric.Object > _createCacheCanvas sets object as dirty
ok 872 fabric.Object > isCacheDirty statefullCache disabled
ok 873 fabric.Object > isCacheDirty statefullCache enabled
ok 874 fabric.Object > _getCacheCanvasDimensions returns dimensions and zoom for cache canvas
ok 875 fabric.Object > _getCacheCanvasDimensions and strokeUniform
ok 876 fabric.Object > _updateCacheCanvas check if cache canvas should be updated
ok 877 fabric.Object > _limitCacheSize limit min to 256
ok 878 fabric.Object > _limitCacheSize does not limit if not necessary
ok 879 fabric.Object > _limitCacheSize does cap up minCacheSideLimit
ok 880 fabric.Object > _limitCacheSize does cap up if necessary
ok 881 fabric.Object > _limitCacheSize does cap up if necessary to maxCacheSideLimit
ok 882 fabric.Object > _limitCacheSize does cap up if necessary to maxCacheSideLimit, different AR
ok 883 fabric.Object > _setShadow
ok 884 fabric.Object > willDrawShadow
ok 885 fabric.Object > _set  change a property
ok 886 fabric.Object > _set can rise the dirty flag
ok 887 fabric.Object > _set rise dirty flag only if value changed
ok 888 fabric.Object > isNotVisible
ok 889 fabric.Object > shouldCache
ok 890 fabric.Object > needsItsOwnCache
ok 891 fabric.Object > hasStroke
ok 892 fabric.Object > hasFill
ok 893 fabric.Object - clipPath > constructor & properties
ok 894 fabric.Object - clipPath > toObject with clipPath
ok 895 fabric.Object - clipPath > from object with clipPath
ok 896 fabric.Object - clipPath > from object with clipPath inverted, absolutePositioned
ok 897 fabric.Object - clipPath > from object with clipPath, nested
ok 898 fabric.Object - clipPath > from object with clipPath, nested inverted, absolutePositioned
ok 899 fabric.Object - clipPath > _setClippingProperties fix the context props
ok 900 fabric.Object - clipPath > clipPath caching detection
ok 901 fabric.Object - clipPath > clipPath caching detection with canvas object
ok 902 fabric.ObjectGeometry > intersectsWithRectangle
ok 903 fabric.ObjectGeometry > intersectsWithRectangle absolute
ok 904 fabric.ObjectGeometry > intersectsWithObject
ok 905 fabric.ObjectGeometry > isContainedWithinRect
ok 906 fabric.ObjectGeometry > isContainedWithinRect absolute
ok 907 fabric.ObjectGeometry > intersectsWithRect
ok 908 fabric.ObjectGeometry > intersectsWithObject
ok 909 fabric.ObjectGeometry > isContainedWithinObject
ok 910 fabric.ObjectGeometry > isContainedWithinRect
ok 911 fabric.ObjectGeometry > isContainedWithinRect
ok 912 fabric.ObjectGeometry > containsPoint
ok 913 fabric.ObjectGeometry > containsPoint with padding
ok 914 fabric.ObjectGeometry > setCoords
ok 915 fabric.ObjectGeometry > setCoords and aCoords
ok 916 fabric.ObjectGeometry > isOnScreen
ok 917 fabric.ObjectGeometry > transformMatrixKey depends from properties
ok 918 fabric.ObjectGeometry > transformMatrixKey depends from originX/originY
ok 919 fabric.ObjectGeometry > isOnScreen with object that include canvas
ok 920 fabric.ObjectGeometry > isOnScreen with object that is in top left corner of canvas
ok 921 fabric.ObjectGeometry > calcTransformMatrix with no group
ok 922 fabric.ObjectGeometry > calcOwnMatrix
ok 923 fabric.ObjectGeometry > _calcDimensionsTransformMatrix
ok 924 fabric.ObjectGeometry > _calcDimensionsTransformMatrix with flipping
ok 925 fabric.ObjectGeometry > _calcRotateMatrix
ok 926 fabric.ObjectGeometry > _calcTranslateMatrix
ok 927 fabric.ObjectGeometry > scaleToWidth
ok 928 fabric.ObjectGeometry > scaleToWidth with zoom
ok 929 fabric.ObjectGeometry > scaleToHeight
ok 930 fabric.ObjectGeometry > scaleToHeight with zoom
ok 931 fabric.ObjectGeometry > scaleToWidth on rotated object
ok 932 fabric.ObjectGeometry > scaleToHeight on rotated object
ok 933 fabric.ObjectGeometry > getBoundingRect with absolute coords
ok 934 fabric.ObjectGeometry > getBoundingRect
ok 935 fabric.ObjectGeometry > getBoundingRectWithStroke
ok 936 fabric.ObjectGeometry > getScaledWidth
ok 937 fabric.ObjectGeometry > getScaledHeight
ok 938 fabric.ObjectGeometry > scale
ok 939 fabric.ObjectGeometry > _constrainScale
ok 940 fabric.ObjectGeometry > getCoords return coordinate of object in canvas coordinate.
ok 941 fabric.ObjectGeometry > getCoords return coordinate of object in zoomed canvas coordinate.
ok 942 fabric.ObjectGeometry > getCoords return coordinate of object in absolute coordinates and ignore canvas zoom
ok 943 fabric.ObjectGeometry > getCoords absolute with angle
ok 944 fabric.ObjectGeometry > getCoords with angle
ok 945 fabric.ObjectGeometry > getCoords absolute with skewX
ok 946 fabric.ObjectGeometry > getCoords with skewX
ok 947 fabric.ObjectGeometry > getCoords absolute with skewY
ok 948 fabric.ObjectGeometry > getCoords with skewY
ok 949 fabric.ObjectGeometry > getCoords absolute with skewY skewX angle
ok 950 fabric.ObjectGeometry > getCoords with skewY skewX angle
ok 951 fabric.ObjectGeometry > isPartiallyOnScreen
ok 952 fabric.ObjectGeometry > isPartiallyOnScreen with object inside and outside of canvas
ok 953 fabric.ObjectInteractivity > isControlVisible
ok 954 fabric.ObjectInteractivity > setControlVisible
ok 955 fabric.ObjectInteractivity > setControlVisible is per object
ok 956 fabric.ObjectInteractivity > setControlsVisibility
ok 957 fabric.ObjectInteractivity > _setCornerCoords
ok 958 fabric.ObjectInteractivity > _setCornerCoords_customControlSize
ok 959 fabric.ObjectInteractivity > _findTargetCorner
ok 960 fabric.ObjectInteractivity > _findTargetCorner for touches
ok 961 fabric.ObjectInteractivity > _calculateCurrentDimensions
ok 962 fabric.ObjectInteractivity > _getTransformedDimensions
ok 963 fabric.ObjectInteractivity > _getNonTransformedDimensions
ok 964 fabric.ObjectOrigins > getCenterPoint
ok 965 fabric.ObjectOrigins > translateToCenterPoint
ok 966 fabric.ObjectOrigins > translateToCenterPointRotated
ok 967 fabric.ObjectOrigins > translateToOriginPoint
ok 968 fabric.ObjectOrigins > translateToOriginPointRotated
ok 969 fabric.ObjectOrigins > toLocalPoint
ok 970 fabric.ObjectOrigins > toLocalPointRotated
ok 971 fabric.ObjectOrigins > adjustPosition
ok 972 fabric.ObjectOrigins > adjustPositionRotated
ok 973 fabric.ObjectOrigins > translateToCenterPoint with numeric origins
ok 974 fabric.ObjectOrigins > translateToCenterPointRotated with numeric origins
ok 975 fabric.ObjectOrigins > translateToOriginPoint with numeric origins
ok 976 fabric.ObjectOrigins > translateToOriginPointRotated with numeric origins
ok 977 fabric.ObjectOrigins > toLocalPoint with numeric origins
ok 978 fabric.ObjectOrigins > toLocalPointRotated with numeric origins
ok 979 fabric.ObjectOrigins > adjustPosition with numeric origins
ok 980 fabric.ObjectOrigins > adjustPositionRotated with numeric origins
ok 981 fabric.Observable > fabric.Observable exists
ok 982 fabric.Observable > fire + on
ok 983 fabric.Observable > off
ok 984 fabric.Observable > off without handler
ok 985 fabric.Observable > off multiple handlers
ok 986 fabric.Observable > off all events
ok 987 fabric.Observable > on multiple handlers
ok 988 fabric.Observable > event options
ok 989 fabric.Observable > fire
ok 990 fabric.Observable > removal of past events
ok 991 fabric.Observable > removal of past events inner loop
ok 992 fabric.Observable > adding events
ok 993 fabric.Observable > chaining
ok 994 fabric.Parser > parseAttributes
ok 995 fabric.Parser > parseAttributesNoneValues
ok 996 fabric.Parser > parseAttributesFillRule
ok 997 fabric.Parser > parseAttributesFillRuleWithoutTransformation
ok 998 fabric.Parser > parseAttributesTransform
ok 999 fabric.Parser > parseAttributesWithParent
ok 1000 fabric.Parser > parseAttributesWithGrandParentSvg
ok 1001 fabric.Parser > parseAttributeFontValueStartWithFontSize
ok 1002 fabric.Parser > parseElements
ok 1003 fabric.Parser > parseStyleAttribute
ok 1004 fabric.Parser > parseStyleAttribute with one pair
ok 1005 fabric.Parser > parseStyleAttribute with trailing spaces
ok 1006 fabric.Parser > parseStyleAttribute with value normalization
ok 1007 fabric.Parser > parseStyleAttribute with short font declaration
ok 1008 fabric.Parser > parseAttributes (style to have higher priority than attribute)
ok 1009 fabric.Parser > parseAttributes stroke-opacity and fill-opacity
ok 1010 fabric.Parser > parse 0 attribute
ok 1011 fabric.Parser > parsePointsAttribute
ok 1012 fabric.Parser > parseTransformAttribute
ok 1013 fabric.Parser > parseNestedTransformAttribute
ok 1014 fabric.Parser > parseSVGFromString id polyfill
ok 1015 fabric.Parser > parseSVGFromString with gradient and fill url with quotes
ok 1016 fabric.Parser > parseSVGFromString with xlink:href
ok 1017 fabric.Parser > parseSVGFromString with href
ok 1018 fabric.Parser > parseSVGFromString nested opacity
ok 1019 fabric.Parser > parseSVGFromString path fill-opacity with gradient
ok 1020 fabric.Parser > parseSVGFromString with svg:namespace
ok 1021 fabric.Parser > opacity attribute
ok 1022 fabric.Parser > fill-opacity attribute with fill attribute
ok 1023 fabric.Parser > fill-opacity attribute without fill attribute
ok 1024 fabric.Parser > fill-opacity attribute with fill none
ok 1025 fabric.Parser > stroke-opacity attribute with stroke attribute
ok 1026 fabric.Parser > stroke-opacity attribute without stroke attribute
ok 1027 fabric.Parser > stroke-opacity attribute with stroke none
ok 1028 fabric.Parser > getCssRule
ok 1029 fabric.Parser > getCssRule with same selectors
ok 1030 fabric.Parser > parseSVGFromString with nested clippath
ok 1031 fabric.Parser > parseSVGFromString with missing clippath
ok 1032 fabric.Parser > parseSVGFromString with empty <style/>
ok 1033 fabric.Path > constructor
ok 1034 fabric.Path > initialize
ok 1035 fabric.Path > initialize with strokeWidth
ok 1036 fabric.Path > initialize with strokeWidth with originX and originY
ok 1037 fabric.Path > toString
ok 1038 fabric.Path > toObject
ok 1039 fabric.Path > toObject
ok 1040 fabric.Path > toSVG
ok 1041 fabric.Path > toSVG with a clipPath path
ok 1042 fabric.Path > toSVG with a clipPath path absolutePositioned
ok 1043 fabric.Path > path array not shared when cloned
ok 1044 fabric.Path > toDatalessObject
ok 1045 fabric.Path > toDatalessObject with sourcePath
ok 1046 fabric.Path > complexity
ok 1047 fabric.Path > fromObject
ok 1048 fabric.Path > fromObject with sourcePath
ok 1049 fabric.Path > fromElement
ok 1050 fabric.Path > numbers with leading decimal point
ok 1051 fabric.Path > multiple sequences in path commands
ok 1052 fabric.Path > multiple M/m coordinates converted all L
ok 1053 fabric.Path > multiple M/m commands converted all as M commands
ok 1054 fabric.Path > compressed path commands
ok 1055 fabric.Path > compressed path commands with e^x
ok 1056 fabric.util - path.js > fabric.util.parsePath
ok 1057 fabric.util - path.js > fabric.util.parsePath can parse arcs correctly when no spaces between flags
ok 1058 fabric.util - path.js > fabric.util.getPathSegmentsInfo
ok 1059 fabric.util - path.js > fabric.util.getPathSegmentsInfo test Z command
ok 1060 fabric.Pattern > constructor
ok 1061 fabric.Pattern > constructor with source string and with callback
ok 1062 fabric.Pattern > properties
ok 1063 fabric.Pattern > toObject
ok 1064 fabric.Pattern > toObject with custom props
ok 1065 fabric.Pattern > toObject with custom props
ok 1066 fabric.Pattern > toObject with crossOrigin
ok 1067 fabric.Pattern > fromObject with crossOrigin
ok 1068 fabric.Pattern > toLive
ok 1069 fabric.Pattern > pattern serialization / deserialization (image source)
ok 1070 fabric.Pattern > toSVG
ok 1071 fabric.Pattern > toSVG repeat-y
ok 1072 fabric.Pattern > toSVG repeat-x
ok 1073 fabric.Pattern > toSVG no-repeat
ok 1074 fabric.Pattern > toSVG no-repeat offsetX and offsetY
ok 1075 fabric.Pattern > initPattern from object
ok 1076 fabric.Point > constructor & properties
ok 1077 fabric.Point > point add
ok 1078 fabric.Point > point addEquals
ok 1079 fabric.Point > scalarAdd
ok 1080 fabric.Point > scalarAddEquals
ok 1081 fabric.Point > point subtract
ok 1082 fabric.Point > point subtractEquals
ok 1083 fabric.Point > scalarSubtract
ok 1084 fabric.Point > scalarSubtractEquals
ok 1085 fabric.Point > multiply
ok 1086 fabric.Point > multiplyEquals
ok 1087 fabric.Point > divide
ok 1088 fabric.Point > divideEquals
ok 1089 fabric.Point > point eq
ok 1090 fabric.Point > point lt
ok 1091 fabric.Point > point gt
ok 1092 fabric.Point > point lte
ok 1093 fabric.Point > point gte
ok 1094 fabric.Point > point lerp
ok 1095 fabric.Point > point distance from
ok 1096 fabric.Point > midPointFrom
ok 1097 fabric.Point > min
ok 1098 fabric.Point > max
ok 1099 fabric.Point > toString
ok 1100 fabric.Point > setXY
ok 1101 fabric.Point > setX
ok 1102 fabric.Point > setY
ok 1103 fabric.Point > setFromPoint
ok 1104 fabric.Point > swap
ok 1105 fabric.Point > clone
ok 1106 fabric.Polygon > constructor
ok 1107 fabric.Polygon > complexity
ok 1108 fabric.Polygon > toObject
ok 1109 fabric.Polygon > toSVG
ok 1110 fabric.Polygon > fromObject
ok 1111 fabric.Polygon > fromElement without points
ok 1112 fabric.Polygon > fromElement with empty points
ok 1113 fabric.Polygon > fromElement with points
ok 1114 fabric.Polygon > fromElement with points and custom attributes
ok 1115 fabric.Polygon > fromElement with null
ok 1116 fabric.Polyline > constructor
ok 1117 fabric.Polyline > complexity
ok 1118 fabric.Polyline > toObject
ok 1119 fabric.Polyline > toSVG
ok 1120 fabric.Polyline > fromObject
ok 1121 fabric.Polyline > fromElement without points
ok 1122 fabric.Polyline > fromElement with empty points
ok 1123 fabric.Polyline > fromElement
ok 1124 fabric.Polyline > fromElement with custom attr
ok 1125 fabric.Polyline > fromElement with nothing
ok 1126 fabric.Rect > constructor
ok 1127 fabric.Rect > complexity
ok 1128 fabric.Rect > cache properties
ok 1129 fabric.Rect > toObject
ok 1130 fabric.Rect > fabric.Rect.fromObject
ok 1131 fabric.Rect > fabric.Rect.fromObject with pattern fill
ok 1132 fabric.Rect > fabric.Rect.fromElement
ok 1133 fabric.Rect > fabric.Rect.fromElement with custom attributes
ok 1134 fabric.Rect > empty fromElement
ok 1135 fabric.Rect > clone with rounded corners
ok 1136 fabric.Rect > toSVG with rounded corners
ok 1137 fabric.Rect > toSVG with alpha colors fill
ok 1138 fabric.Rect > toSVG with id
ok 1139 fabric.Rect > toSVG with alpha colors stroke
ok 1140 fabric.Rect > toSVG with paintFirst set to stroke
ok 1141 fabric.Rect > toObject without default values
ok 1142 fabric.Rect > paintFirst life cycle
ok 1143 fabric.Shadow > constructor
ok 1144 fabric.Shadow > initializing with object
ok 1145 fabric.Shadow > initializing with string
ok 1146 fabric.Shadow > properties
ok 1147 fabric.Shadow > toString
ok 1148 fabric.Shadow > toObject
ok 1149 fabric.Shadow > clone with affectStroke
ok 1150 fabric.Shadow > toObject without default value
ok 1151 fabric.Shadow > toSVG
ok 1152 fabric.Shadow > toSVG with flipped object
ok 1153 fabric.Shadow > toSVG with rotated object
ok 1154 fabric.Shadow > toSVG with rotated flipped object
ok 1155 fabric.stateful > hasStateChanged
ok 1156 fabric.stateful > saveState
ok 1157 fabric.stateful > saveState with extra props
ok 1158 fabric.stateful > saveState with array
ok 1159 fabric.stateful > saveState with array to null
ok 1160 fabric.stateful > saveState with fabric class gradient
ok 1161 fabric.stateful > saveState with fabric class gradient to other types
ok 1162 fabric.stateful > savestate with custom property set
ok 1163 fabric.Text > constructor
ok 1164 fabric.Text > toString
ok 1165 fabric.Text > _getFontDeclaration
ok 1166 fabric.Text > _getFontDeclaration with coma
ok 1167 fabric.Text > _getFontDeclaration with genericFonts
ok 1168 fabric.Text > _getFontDeclaration with genericFonts
ok 1169 fabric.Text > _getFontDeclaration with genericFonts
ok 1170 fabric.Text > _getFontDeclaration with genericFonts
ok 1171 fabric.Text > _getFontDeclaration with genericFonts
ok 1172 fabric.Text > toObject
ok 1173 fabric.Text > complexity
ok 1174 fabric.Text > set
ok 1175 fabric.Text > lineHeight with single line
ok 1176 fabric.Text > lineHeight with multi line
ok 1177 fabric.Text > set with "hash"
ok 1178 fabric.Text > get bounding rect after init
ok 1179 fabric.Text > fabric.Text.fromObject
ok 1180 fabric.Text > fabric.Text.fromElement
ok 1181 fabric.Text > fabric.Text.fromElement with custom attributes
ok 1182 fabric.Text > empty fromElement
ok 1183 fabric.Text > dimensions after text change
ok 1184 fabric.Text > dimensions without text
ok 1185 fabric.Text > setting fontFamily
ok 1186 fabric.Text > text styleHas
ok 1187 fabric.Text > text cleanStyle
ok 1188 fabric.Text > text cleanStyle with different sub styles styles
ok 1189 fabric.Text > text cleanStyle with undefined and set styles
ok 1190 fabric.Text > text cleanStyle with empty styles
ok 1191 fabric.Text > text cleanStyle with full style
ok 1192 fabric.Text > text cleanStyle with no relevant style
ok 1193 fabric.Text > text removeStyle with some style
ok 1194 fabric.Text > getFontCache works with fontWeight numbers
ok 1195 fabric.Text > getFontCache is case insensitive
ok 1196 fabric.Text > getSelectionStyles with no arguments
ok 1197 fabric.Text > getSelectionStyles with 2 args
ok 1198 fabric.Text > setSelectionStyles
ok 1199 fabric.Text > getStyleAtPosition
ok 1200 fabric.Text > _splitText
ok 1201 fabric.Text > getStyleAtPosition complete
ok 1202 fabric.Text > toSVG with NUM_FRACTION_DIGITS
ok 1203 fabric.Text > getSvgSpanStyles produces correct output
ok 1204 fabric.Text > getSvgSpanStyles produces correct output with useWhiteSpace
ok 1205 fabric.Text > getSvgTextDecoration with overline true produces correct output
ok 1206 fabric.Text > getSvgTextDecoration with overline underline true produces correct output
ok 1207 fabric.Text > getSvgTextDecoration with overline underline true produces correct output
ok 1208 fabric.Text > getSvgTextDecoration with overline underline true produces correct output
ok 1209 fabric.Text > text superscript
ok 1210 fabric.Text > text subscript
ok 1211 fabric.Text > getHeightOfLine measures height of aline
ok 1212 fabric.Text > _measureChar handles 0 width chars
ok 1213 fabric.Text > _deleteStyleDeclaration
ok 1214 fabric.Text > _setStyleDeclaration
ok 1215 fabric.Text > styleHas
ok 1216 fabric.Text > text with a path
ok 1217 fabric.Text > cacheProperties for text
ok 1218 fabric.Text > toSVG
ok 1219 fabric.Text > toSVG justified
ok 1220 fabric.Text > toSVG with multiple spaces
ok 1221 fabric.Text > toSVG with deltaY
ok 1222 fabric.Text > toSVG with font
ok 1223 fabric.Text > toSVG with text as a clipPath
ok 1224 fabric.Textbox > constructor
ok 1225 fabric.Textbox > constructor with width
ok 1226 fabric.Textbox > constructor with width too small
ok 1227 fabric.Textbox > initial properties
ok 1228 fabric.Textbox > toObject
ok 1229 fabric.Textbox > fromObject
ok 1230 fabric.Textbox > isEndOfWrapping
ok 1231 fabric.Textbox > _removeExtraneousStyles
ok 1232 fabric.Textbox > isEmptyStyles
ok 1233 fabric.Textbox > isEmptyStyles does not crash on null styles
ok 1234 fabric.Textbox > isEmptyStyles alternate lines
ok 1235 fabric.Textbox > wrapping with charspacing
ok 1236 fabric.Textbox > wrapping with charspacing and splitByGrapheme positive
ok 1237 fabric.Textbox > wrapping with charspacing and splitByGrapheme negative
ok 1238 fabric.Textbox > wrapping with different things
ok 1239 fabric.Textbox > wrapping with splitByGrapheme
ok 1240 fabric.Textbox > wrapping with custom space
ok 1241 fabric.Textbox > wrapping an empty line
ok 1242 fabric.Textbox > texbox will change width from the mr corner
ok 1243 fabric.Textbox > texbox will change width from the ml corner
ok 1244 fabric.Textbox > _removeExtraneousStyles
ok 1245 fabric.Textbox > get2DCursorLocation with splitByGrapheme
ok 1246 fabric.Textbox > missingNewlineOffset with splitByGrapheme
ok 1247 fabric.Textbox > missingNewlineOffset with normal split
ok 1248 fabric.Textbox > _getLineStyle
ok 1249 fabric.Textbox > _setLineStyle
ok 1250 fabric.Textbox > _deleteStyleDeclaration
ok 1251 fabric.Textbox > _setStyleDeclaration
ok 1252 fabric.Textbox > styleHas
ok 1253 fabric.Textbox > The same text does not need to be wrapped.
ok 1254 fabric.util > fabric.util.toFixed
ok 1255 fabric.util > fabric.util.removeFromArray
ok 1256 fabric.util > fabric.util.degreesToRadians
ok 1257 fabric.util > fabric.util.radiansToDegrees
ok 1258 fabric.util > fabric.util.getRandomInt
ok 1259 fabric.util > fabric.util.falseFunction
ok 1260 fabric.util > String.prototype.trim
ok 1261 fabric.util > fabric.util.string.camelize
ok 1262 fabric.util > fabric.util.string.graphemeSplit
ok 1263 fabric.util > fabric.util.string.escapeXml
ok 1264 fabric.util > fabric.util.string.capitalize
ok 1265 fabric.util > fabric.util.object.extend
ok 1266 fabric.util > fabric.util.object.extend deep
ok 1267 fabric.util > fabric.util.object.clone
ok 1268 fabric.util > Function.prototype.bind
ok 1269 fabric.util > fabric.util.getById
ok 1270 fabric.util > fabric.util.toArray
ok 1271 fabric.util > fabric.util.makeElement
ok 1272 fabric.util > fabric.util.addClass
ok 1273 fabric.util > fabric.util.wrapElement
ok 1274 fabric.util > fabric.util.makeElementUnselectable
ok 1275 fabric.util > fabric.util.makeElementSelectable
ok 1276 fabric.util > fabric.loadSVGFromURL
ok 1277 fabric.util > fabric.loadSVGFromString
ok 1278 fabric.util > fabric.loadSVGFromString with surrounding whitespace
ok 1279 fabric.util > fabric.util.loadImage
ok 1280 fabric.util > fabric.util.loadImage with no args
ok 1281 fabric.util > fabric.util.loadImage with crossOrigin
JSDOM CATCHED FETCHING http://www.google.com/non-existing
Error loading http://www.google.com/non-existing
ok 1282 fabric.util > fabric.util.loadImage with url for a non exsiting image
ok 1283 fabric.util > fabric.util.groupSVGElements
ok 1284 fabric.util > fabric.util.groupSVGElements #2
ok 1285 fabric.util > fabric.util.createClass
ok 1286 fabric.util > fabric.util.addListener
ok 1287 fabric.util > fabric.util.removeListener
ok 1288 fabric.util > fabric.util.drawDashedLine
ok 1289 fabric.util > fabric.util.array.invoke
ok 1290 fabric.util > fabric.util.array.min
ok 1291 fabric.util > fabric.util.array.max
ok 1292 fabric.util > fabric.util.populateWithProperties
ok 1293 fabric.util > getKlass
ok 1294 fabric.util > resolveNamespace
ok 1295 fabric.util > clearFabricFontCache
ok 1296 fabric.util > clearFabricFontCache wrong case
ok 1297 fabric.util > parsePreserveAspectRatioAttribute
ok 1298 fabric.util > multiplyTransformMatrices
ok 1299 fabric.util > resetObjectTransform
ok 1300 fabric.util > saveObjectTransform
ok 1301 fabric.util > invertTransform
ok 1302 fabric.util > fabric.util.request
ok 1303 fabric.util > fabric.util.getPointer
ok 1304 fabric.util > rotateVector
ok 1305 fabric.util > rotatePoint
ok 1306 fabric.util > transformPoint
ok 1307 fabric.util > makeBoundingBoxFromPoints
ok 1308 fabric.util > parseUnit
ok 1309 fabric.util > createCanvasElement
ok 1310 fabric.util > createImage
ok 1311 fabric.util > qrDecompose with identity matrix
ok 1312 fabric.util > qrDecompose with matrix
ok 1313 fabric.util > composeMatrix with defaults
ok 1314 fabric.util > composeMatrix with options
ok 1315 fabric.util > drawArc
ok 1316 fabric.util > get bounds of arc
ok 1317 fabric.util > fabric.util.limitDimsByArea
ok 1318 fabric.util > fabric.util.limitDimsByArea ar > 1
ok 1319 fabric.util > fabric.util.limitDimsByArea ar < 1
ok 1320 fabric.util > fabric.util.capValue ar < 1
ok 1321 fabric.util > fabric.util.capValue ar < 1
ok 1322 fabric.util > fabric.util.capValue ar < 1
ok 1323 fabric.util > fabric.util.cos
ok 1324 fabric.util > fabric.util.getSvgAttributes
ok 1325 fabric.util > fabric.util.enlivenPatterns
ok 1326 fabric.util > fabric.util.copyCanvasElement
ok 1327 fabric.util > fabric.util.findScaleToCover
ok 1328 fabric.util > fabric.util.findScaleToFit
ok 1329 fabric.util > fabric.util.isTouchEvent
1..1329
# pass 1329
# skip 0
# todo 0
# fail 0

> fabric@4.3.1 test:visual:coverage /home/runner/work/fabric.js/fabric.js
> nyc --silent --no-clean qunit test/node_test_setup.js test/lib test/visual

TAP version 13
ok 1 Clipping shapes > Clip a rect with a circle, no zoom
ok 2 Clipping shapes > A clippath ignores fill and stroke for drawing, not positioning
ok 3 Clipping shapes > falsy values for fill are handled
ok 4 Clipping shapes > Clip a rect with a circle, with zoom
ok 5 Clipping shapes > Clip a group with a circle
ok 6 Clipping shapes > ClipPath can be transformed
ok 7 Clipping shapes > ClipPath can be a group with many objects
ok 8 Clipping shapes > ClipPath can be inverted, it will clip what is outside the clipPath
ok 9 Clipping shapes > an absolute positioned clipPath, shared
ok 10 Clipping shapes > a clipPath on the canvas
ok 11 Clipping shapes > clipPath with a path on a simple elements
ok 12 Clipping shapes > clipPath made of polygons and paths
ok 13 Controls rendering > Rect with default controls
ok 14 Controls rendering > Rect with padding
ok 15 Controls rendering > transparent corner square
ok 16 Controls rendering > circle corners green
ok 17 Controls rendering > circle corners solid red
ok 18 Controls rendering > corner size 20 rect style
ok 19 Controls rendering > corner size 20 rect style
ok 20 Controls rendering > control visibility
ok 21 Controls rendering > control with fill and stroke and dash array
ok 22 Controls rendering > control with fill and stroke and dash array with borderScaleFactor
ok 23 Free Drawing > Simple free drawing, with opacity
ok 24 Free Drawing > Simple free drawing
ok 25 Free Drawing > Simple free drawing, large brush no offset
ok 26 Free Drawing > Simple free drawing, with shadow
ok 27 Free Drawing > Simple free drawing to dot
ok 28 Free Drawing > Simple free drawing, with high decimation
ok 29 Generic rendering > Rect with strokeUniform: true
ok 30 Generic rendering > Rect DropShadow with nonScaling: true
ok 31 Generic rendering > polygon position independently from strokeWidth and origin
ok 32 Generic rendering > canvas can have a gradient background
ok 33 Generic rendering > canvas can have a gradient background and being zoomed
ok 34 Generic rendering > canvas can have a gradient background with zoom but being unaffected
ok 35 Generic rendering > objects in activeSelection toCanvasElement
ok 36 Generic rendering > canvas with background pattern and export
ok 37 Generic rendering > canvas with background pattern and multiplier
ok 38 Generic rendering > fabric.Image with imageSmoothing false
ok 39 Generic rendering > gradient should be applied to path
ok 40 Image resize filter test > Image resize with canvas zoom
ok 41 Image resize filter test > Image resize without zoom
ok 42 Image resize filter test > Image resize with scaled group
ok 43 Image Blend test > Blend image test with flip
ok 44 Image Blend test > Blend image test
ok 45 Simple svg import test > Svg import test svg_stroke_1
ok 46 Simple svg import test > Svg import test svg_stroke_2
ok 47 Simple svg import test > Svg import test svg_stroke_3
ok 48 Simple svg import test > Svg import test svg_stroke_4
ok 49 Simple svg import test > Svg import test svg_stroke_5
ok 50 Simple svg import test > Svg import test svg_stroke_6
ok 51 Simple svg import test > Svg import test svg_stroke_7
ok 52 Simple svg import test > Svg import test svg_stroke_8
ok 53 Simple svg import test > Svg import test svg_linear_1
ok 54 Simple svg import test > Svg import test svg_linear_2
ok 55 Simple svg import test > Svg import test svg_linear_3
ok 56 Simple svg import test > Svg import test svg_linear_4
ok 57 Simple svg import test > Svg import test svg_linear_5
ok 58 Simple svg import test > Svg import test svg_linear_6
ok 59 Simple svg import test > Svg import test svg_linear_7
ok 60 Simple svg import test > Svg import test svg_linear_8
ok 61 Simple svg import test > Svg import test svg_linear_9
ok 62 Simple svg import test > Svg import test svg_radial_1
ok 63 Simple svg import test > Svg import test svg_radial_2
ok 64 Simple svg import test > Svg import test svg_radial_3
ok 65 Simple svg import test > Svg import test svg_radial_4
ok 66 Simple svg import test > Svg import test svg_radial_5
ok 67 Simple svg import test > Svg import test svg_radial_6
ok 68 Simple svg import test > Svg import test svg_radial_8
ok 69 Simple svg import test > Svg import test svg_radial_9
ok 70 Simple svg import test > Svg import test svg_radial_10
ok 71 Simple svg import test > Svg import test svg_radial_11
ok 72 Simple svg import test > Svg import test svg_radial_12
ok 73 Simple svg import test > Svg import test svg_radial_13
ok 74 Simple svg import test > Svg import test svg_text_letterspacing
ok 75 Simple svg import test > Svg import test clippath-5
ok 76 Simple svg import test > Svg import test clippath-6
ok 77 Simple svg import test > Svg import test clippath-7
ok 78 Simple svg import test > Svg import test clippath-9
ok 79 Simple svg import test > Svg import test vector-effect
ok 80 Simple svg import test > Svg import test svg-with-no-dim-rect
ok 81 Simple svg import test > Svg import test notoemoji-person
ok 82 Simple svg import test > Svg import test emoji-b
ok 83 Simple svg import test > Svg import test gold-logo
ok 84 Simple svg import test > Svg import test svg_missing_clippath
ok 85 Simple svg import test > Svg import test image-rendering-attr
JSDOM CATCHED FETCHING 956ACC63.png
JSDOM CATCHED FETCHING 956ACC61.png
JSDOM CATCHED FETCHING 956ACC67.png
JSDOM CATCHED FETCHING 956ACC60.png
JSDOM CATCHED FETCHING 956ACC6E.png
Error loading 956ACC63.png
Error loading 956ACC61.png
Error loading 956ACC67.png
Error loading 956ACC60.png
Error loading 956ACC6E.png
ok 86 Simple svg import test > Svg import test svg-missing-images
ok 87 Simple svg import test > Svg import test nested-svgs
ok 88 Simple svg import test > Svg import test arc1
ok 89 Simple svg import test > Svg import test arc2
ok 90 Simple svg import test > Svg import test arc3
ok 91 Simple svg import test > Svg import test cs
ok 92 Simple svg import test > Svg import test qt
ok 93 Simple svg import test > Svg import test generic-path
ok 94 Simple svg import test > Svg import test 177
ok 95 Text > simple text test
ok 96 Text > Text with trailing spaces
ok 97 Text > Text with styles
ok 98 Text > Text on a transformed canvas
ok 99 Text > Text with custom fonts
ok 100 Text > Text percentage gradient
ok 101 Text > Text with pattern and gradient
ok 102 Text > Text on a path
ok 103 Text on paths > text on a circle path
ok 104 Text on paths > text on a triangle with background color
ok 105 Text on paths > Textpath on a particular bezier
ok 106 DataURL exports > Text to DataURL
ok 107 DataURL exports > Text to DataURL with shadow no offset
ok 108 DataURL exports > Text to DataURL with shadow large offset
ok 109 DataURL exports > a flipped text
ok 110 DataURL exports > Canvas toDataURL with objects
ok 111 DataURL exports > Canvas toDataURL with objects and multiplier 0.3
ok 112 DataURL exports > Canvas toDataURL with objects and multiplier 4
ok 113 DataURL exports > Canvas toDataURL with objects and cropping and high multiplier
ok 114 DataURL exports > Canvas toDataURL with objects and cropping and high multiplier
ok 115 DataURL exports > Canvas toDataURL with objects and cropping and small multiplier
ok 116 DataURL exports > shadow offsets dataUrl with retina
ok 117 DataURL exports > shadow offsets dataUrl without retina
ok 118 DataURL exports > shadow offsets dataUrl with retina and retinaScaling enable in export
ok 119 DataURL exports > images with odd pixels will render crisp
ok 120 DataURL exports > images with even pixels will render crisp
ok 121 DataURL exports > images with even strokeWidth will render crisp
ok 122 Export clippaths to SVG > Clip a rect with a circle, no zoom
ok 123 Export clippaths to SVG > A clippath ignores fill and stroke for drawing, not positioning
ok 124 Export clippaths to SVG > Clip a rect with a circle, with zoom
ok 125 Export clippaths to SVG > Clip a group with a circle
ok 126 Export clippaths to SVG > Isolation of clipPath of group and inner objects
ok 127 Export clippaths to SVG > ClipPath can be transformed
ok 128 Export clippaths to SVG > ClipPath can be a group with many objects
ok 129 Export clippaths to SVG > Many Objects can share the same clipPath
ok 130 Export clippaths to SVG > an absolute positioned clipPath, shared
ok 131 Export clippaths to SVG > a clipPath on the canvas
ok 132 Export clippaths to SVG > clipPath with a path on a simple elements
ok 133 Export clippaths to SVG > clipPath made of polygons and paths
ok 134 Export clippaths to SVG > Export a radial svg with scaling
ok 135 Export clippaths to SVG > Export complex gradients
ok 136 Export clippaths to SVG > Group with opacity and shadow
ok 137 Export clippaths to SVG > Multiple gradients import
ok 138 Export clippaths to SVG > gradient should be applied to path in svg
1..138
# pass 138
# skip 0
# todo 0
# fail 0

> fabric@4.3.1 cover:report /home/runner/work/fabric.js/fabric.js
> nyc report --reporter=lcov --reporter=text-summary


=============================== Coverage summary ===============================
Statements   : 82.68% ( 8204/9922 )
Branches     : 76.83% ( 4300/5597 )
Functions    : 85.62% ( 1250/1460 )
Lines        : 82.45% ( 7826/9492 )
================================================================================

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2021

Code Coverage Summary

> fabric@4.3.1 coverage:report /home/runner/work/fabric.js/fabric.js
> nyc report --reporter=lcov --reporter=text

-----------|---------|----------|---------|---------|-----------------------------------------------
File       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                             
-----------|---------|----------|---------|---------|-----------------------------------------------
All files  |   82.68 |    76.86 |   85.62 |   82.45 |                                               
 fabric.js |   82.68 |    76.86 |   85.62 |   82.45 | ...,29480,29605,29685-29750,29873,29972,30189 
-----------|---------|----------|---------|---------|-----------------------------------------------

@asturur asturur merged commit 5dcd92e into master Jan 30, 2021
@asturur
Copy link
Member Author

asturur commented Jan 30, 2021

Ok this pr came out a bit of a mess.

@asturur asturur mentioned this pull request Apr 7, 2021
@asturur asturur deleted the customControls-perpixelTargetFind branch August 8, 2021 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object corner points in multiselection not calculated correctly
1 participant