Chart.js/test/specs
Guy B 9306d7fd49
fix: avoid resize loop when browser zoom is set to 90% (#10971)
* test: new test to reproduce issue #10951

* test:  validate the canvas style too

* fix: Avoid reassigning the the chart size. For specific values of pixelRatio the assignment would cause the size to reduce by 1px. Since it's called from the ResizeObserver it will be stuck in a loop that constantly reduce the size of the chart and canvas.

* Revert "fix: Avoid reassigning the the chart size. For specific values of pixelRatio the assignment would cause the size to reduce by 1px. Since it's called from the ResizeObserver it will be stuck in a loop that constantly reduce the size of the chart and canvas."

This reverts commit ed7a34814d.

* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.

* fix: getMaximumSize was flooring non-integer height values unnecessarily.

* Revert "fix: Avoid the resize loop by fixing the rounding error in the retinaScale function."

This reverts commit 23525abc6a.

* fix: Avoid the resize loop by fixing the rounding error in the retinaScale function.
2022-12-17 09:41:21 -05:00
..
controller.bar.tests.js fix: same-looking tooltips on charts (#10548) 2022-08-18 07:34:35 -04:00
controller.bubble.tests.js fix: same-looking tooltips on charts (#10548) 2022-08-18 07:34:35 -04:00
controller.doughnut.tests.js fix: same-looking tooltips on charts (#10548) 2022-08-18 07:34:35 -04:00
controller.line.tests.js fix: calc visible points on update (#10667) 2022-09-24 17:01:47 -04:00
controller.polarArea.tests.js fix: same-looking tooltips on charts (#10548) 2022-08-18 07:34:35 -04:00
controller.radar.tests.js fix: same-looking tooltips on charts (#10548) 2022-08-18 07:34:35 -04:00
controller.scatter.tests.js fix: same-looking tooltips on charts (#10548) 2022-08-18 07:34:35 -04:00
core.animation.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
core.animations.tests.js Fix typos found by codespell (#10103) 2022-01-27 09:24:55 -05:00
core.animator.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
core.controller.tests.js fix: respect aspect ratio with container height (#10646) 2022-09-02 08:03:41 -04:00
core.datasetController.tests.js fix: respect minBarLength in stacked bar chart (#10766) 2022-11-22 20:21:02 -05:00
core.defaults.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
core.element.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
core.helpers.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
core.interaction.tests.js Add option to include invisible points (#10362) 2022-05-25 13:25:27 +03:00
core.layouts.tests.js radialLinear: fix positioning & scaling (#10021) 2021-12-23 20:47:36 +02:00
core.plugin.tests.js Provide an empty object when the target of the resolver is undefined (#10655) 2022-09-15 12:12:35 -04:00
core.registry.tests.js Relocate chart type and dataset type defaults (#8563) 2021-03-06 10:34:52 -05:00
core.scale.tests.js add getLabelItems public method (#10966) 2022-12-16 07:36:14 +01:00
core.ticks.tests.js Refine logarithmic scaling / tick generation (#9166) 2022-08-22 14:05:27 -04:00
element.arc.tests.js Add circular prop to arc element (#10405) 2022-07-30 11:08:38 -04:00
element.bar.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
element.line.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
element.point.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
global.defaults.tests.js Fix the missing apply for the color on the legend labels (#10855) 2022-11-04 18:55:27 -04:00
global.namespace.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
helpers.canvas.tests.js Fix _isPointInArea helper when no area is provided (#9489) 2021-07-28 07:57:35 -04:00
helpers.collection.tests.js fix: calc visible points on update (#10667) 2022-09-24 17:01:47 -04:00
helpers.color.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
helpers.config.tests.js Pass object from array as value to _fallback (#9969) 2021-12-08 16:27:55 +02:00
helpers.core.tests.js parsing: support dot(s) in object keys (#10517) 2022-07-26 08:30:52 -04:00
helpers.curve.tests.js helpers.curve cleanup (#8608) 2021-03-10 09:32:54 -05:00
helpers.dom.tests.js fix: avoid resize loop when browser zoom is set to 90% (#10971) 2022-12-17 09:41:21 -05:00
helpers.easing.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
helpers.interpolation.tests.js Fix typos found by codespell (#10103) 2022-01-27 09:24:55 -05:00
helpers.math.tests.js Update eslint-config-chartjs to v0.3.0 (#8406) 2021-02-10 08:21:39 -05:00
helpers.options.tests.js Font validate style, move defaults to weight (#8877) 2021-04-10 15:58:11 -04:00
helpers.segment.tests.js Fix line segments with alignToPixel (#9042) 2021-05-06 21:06:40 -04:00
mixed.tests.js check the data set type in DoughnutController (#10867) 2022-11-12 15:41:21 -05:00
platform.basic.tests.js Disable animations for BasicPlatform (offcreen) (#9751) 2021-10-11 14:37:25 -04:00
platform.dom.tests.js fix: aspect ratio calc (#10693) 2022-09-28 15:31:19 -04:00
plugin.colors.tests.js Introduce Colors plugin (#10764) 2022-10-21 08:21:08 -04:00
plugin.decimation.tests.js Decimation: Prevent buffer overflow (#9367) 2021-07-07 17:45:31 -04:00
plugin.filler.tests.js Add warning if filler plugin is used but not registered (#10702) 2022-09-26 20:20:54 +02:00
plugin.legend.tests.js FIX: render multiline legend items without overlapping (#10532) (#10641) 2022-09-16 09:46:53 -04:00
plugin.subtitle.tests.js New plugin: subtitle (#9294) 2021-06-20 07:34:55 -04:00
plugin.title.tests.js Refactor radialLinear scale and renderText helper (#9276) 2021-06-18 14:12:27 -04:00
plugin.tooltip.tests.js feat: tooltip callbacks fallback (#10567) 2022-08-18 09:03:12 +03:00
scale.category.tests.js fix: treeshaking (#10504) 2022-08-04 09:17:40 -04:00
scale.linear.tests.js Put the border opts in own object (#10571) 2022-08-18 15:07:46 +02:00
scale.logarithmic.tests.js Refine logarithmic scaling / tick generation (#9166) 2022-08-22 14:05:27 -04:00
scale.radialLinear.tests.js radialLinear: fix positioning & scaling (#10021) 2021-12-23 20:47:36 +02:00
scale.time.tests.js Put the border opts in own object (#10571) 2022-08-18 15:07:46 +02:00