Run same tests for layout-2020 and layout-2013 (#30092)

Most tests were only being run for layout-2013, not for layout-2020.
This wasn't great since layout-2020 is now the default.

So this patch unifies the lists of included tests for both layouts.
For layout-2013 this implies adding css/css-content/, css/css-logical/
and css/css-masking/clip/.
For layout-2020 this implies adding several additional css tests, and
also tests like dom/, js/, html/, etc.
This commit is contained in:
Oriol Brufau 2023-08-15 02:28:32 +02:00 committed by GitHub
parent 78c7011240
commit 963104e5fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4797 changed files with 679983 additions and 5390 deletions

View file

@ -42,3 +42,5 @@
[Test that convertToBlob with default arguments produces correct result in a worker]
expected: FAIL
[Test that call convertToBlob on a OffscreenCanvas with tainted origin throws exception in a worker]
expected: FAIL

View file

@ -0,0 +1,15 @@
[2d.text.draw.generic.family.html]
[Test that drawing sans-serif produces the same result between canvas and OffscreenCanvas]
expected: FAIL
[Test that drawing serif produces the same result between canvas and OffscreenCanvas]
expected: FAIL
[Test that drawing cursive produces the same result between canvas and OffscreenCanvas]
expected: FAIL
[Test that drawing fantasy produces the same result between canvas and OffscreenCanvas]
expected: FAIL
[Test that drawing monospace produces the same result between canvas and OffscreenCanvas]
expected: FAIL

View file

@ -0,0 +1,16 @@
[2d.text.draw.generic.family.w.html]
expected: ERROR
[Test that drawing sans-serif produces the same result between canvas and OffscreenCanvas in a Worker]
expected: TIMEOUT
[Test that drawing serif produces the same result between canvas and OffscreenCanvas in a Worker]
expected: TIMEOUT
[Test that drawing cursive produces the same result between canvas and OffscreenCanvas in a Worker]
expected: TIMEOUT
[Test that drawing fantasy produces the same result between canvas and OffscreenCanvas in a Worker]
expected: TIMEOUT
[Test that drawing monospace produces the same result between canvas and OffscreenCanvas in a Worker]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[offscreencanvas.filter.html]
[none]
expected: FAIL

View file

@ -1,4 +1,4 @@
[offscreencanvas.filter.w.html]
expected: ERROR
[offscreencanvas]
expected: FAIL

View file

@ -0,0 +1,27 @@
[image.smoothing.html]
[When the context is created, imageSmoothingEnabled must be set to true.]
expected: FAIL
[On getting imageSmoothingEnabled, the user agent must return the last value it was set to.]
expected: FAIL
[Test that image smoothing is actually on by default.]
expected: FAIL
[Test that image smoothing works when imageSmoothingEnabled is set to true]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with drawImage().]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with fillRect and createPattern().]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with fill() and createPattern().]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with stroke() and createPattern().]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) still works after repaints.]
expected: FAIL

View file

@ -0,0 +1,27 @@
[image.smoothing.worker.html]
[When the context is created, imageSmoothingEnabled must be set to true.]
expected: FAIL
[On getting imageSmoothingEnabled, the user agent must return the last value it was set to.]
expected: FAIL
[Test that image smoothing is actually on by default.]
expected: FAIL
[Test that image smoothing works when imageSmoothingEnabled is set to true]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with drawImage().]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with fillRect and createPattern().]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with fill() and createPattern().]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) works with stroke() and createPattern().]
expected: FAIL
[Test that imageSmoothingEnabled = false (nearest-neighbor interpolation) still works after repaints.]
expected: FAIL

View file

@ -2,3 +2,8 @@
[Test that OffscreenCanvas constructor handles invalid arguments correctly]
expected: FAIL
[OffscreenCanvas constructor called as normal function]
expected: FAIL
[Test that calling OffscreenCanvas's constructor generates correct width and height.]
expected: FAIL

View file

@ -2,3 +2,5 @@
[Test that OffscreenCanvas constructor handles invalid arguments correctly in a worker]
expected: FAIL
[Test that calling OffscreenCanvas's constructor generates correct width and height.]
expected: FAIL

View file

@ -14,3 +14,11 @@
[Test that getContext twice with different context type returns null the second time]
expected: FAIL
[Test that 2dcontext.canvas should return the original OffscreenCanvas]
expected: FAIL
[Test that OffscreenCanvasRenderingContext2D with alpha enabled preserves the alpha]
expected: FAIL
[Test that 'alpha' context creation attribute is true by default]
expected: FAIL

View file

@ -14,3 +14,11 @@
[Test that getContext twice with different context type returns null the second time]
expected: FAIL
[Test that 2dcontext.canvas should return the original OffscreenCanvas]
expected: FAIL
[Test that OffscreenCanvasRenderingContext2D with alpha enabled preserves the alpha]
expected: FAIL
[Test that 'alpha' context creation attribute is true by default]
expected: FAIL

View file

@ -20,3 +20,11 @@
[Verify that writing to the width or height attribute of a placeholder canvas throws an exception even when not changing the value of the attribute.]
expected: FAIL
[Verify that writing to the width and height attributes of an OffscreenCanvas works when there is no context attached.]
expected: FAIL
[Verify that resizing a 2d context resets its state.]
expected: FAIL
[Verify that setting the size of a 2d context to the same size it already had resets its state.]
expected: FAIL

View file

@ -14,3 +14,5 @@
[Test that calling getContext('2d') on a detached OffscreenCanvas throws exception.]
expected: FAIL
[Test that transfer an OffscreenCanvas that already have a 2d context throws exception.]
expected: FAIL

View file

@ -0,0 +1,2 @@
[2d.transformation.getTransform.html]
expected: ERROR