css/compositing

edit

WPT coverage of the tests of css/compositing at the revision c8fa86fb13d4. The tests link to their results in the browsers on wpt.fyi. The tentative tests (experimental features), the reftests and the crash tests are listed separately from the stable tests.

GroupPassingTestsDisabledPass rate
Stable1315087%
Tentative000–
Reftests5860097%
Crash tests660100%
All7781095%

Failure reasons

The tests that do not pass (failing or disabled), by kind of reason. A test with several reasons counts once per kind.

  • BUG: 2
  • TEST BUG: 2

Stable tests

TestResultSubtestsKindDescription
canvas-composite-modes.htmlFail12 / 15TEST BUGdestination and plus-darker are not operators of globalCompositeOperation (no browser supports them), and the expected alpha of lighter is not clamped to 1
inheritance.htmlPass6 / 6
isolation/animation/isolation-no-interpolation.htmlPass42 / 42
mix-blend-mode/mix-blend-mode-creates-stacking-context.htmlFail0 / 1TEST BUGthe test expects the computed z-index not to be auto when mix-blend-mode creates a stacking context, but z-index computes to its specified value (https://drafts.csswg.org/css-position-4/#propdef-z-index): a stacking context does not change it; Edge fails too (wpt.fyi)
mix-blend-mode/mix-blend-mode-parsing.htmlPass17 / 17
parsing/background-blend-mode-computed-multiple.htmlPass7 / 7
parsing/background-blend-mode-computed.htmlPass19 / 19
parsing/background-blend-mode-invalid.htmlPass2 / 2
parsing/background-blend-mode-valid.htmlPass17 / 17
parsing/isolation-computed.htmlPass2 / 2
parsing/isolation-invalid.htmlPass2 / 2
parsing/isolation-valid.htmlPass2 / 2
parsing/mix-blend-mode-computed.htmlPass16 / 16
parsing/mix-blend-mode-invalid.htmlPass3 / 3
parsing/mix-blend-mode-valid.htmlPass16 / 16

Reftests

TestResultVariantsKindDescription
background-blending/background-blend-mode-gradient-image.htmlPass1 / 1
background-blending/background-blend-mode-plus-lighter.htmlPass1 / 1
isolation/isolation-establishes-stacking-context.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-animation.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-blended-element-interposed.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-blended-element-overflow-hidden-and-border-radius.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-blended-element-overflow-scroll.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-blended-element-with-transparent-pixels.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-blended-with-3D-transform.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-blended-with-transform-and-perspective.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-blending-with-sibling.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-border-image.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-both-parent-and-blended-with-3D-transform.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-canvas-parent.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-canvas-sibling.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-filter.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-iframe-parent.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-iframe-sibling.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-image.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-intermediate-element-overflow-hidden-and-border-radius.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-mask.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-overflowing-child-of-blended-element.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-overflowing-child.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-paragraph-background-image.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-paragraph.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-parent-element-overflow-hidden-and-border-radius-2.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-parent-element-overflow-hidden-and-border-radius.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-parent-element-overflow-scroll-blended-position-fixed.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-parent-element-overflow-scroll.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-parent-with-3D-transform.htmlFail0 / 1BUG120 pixels of the row y=91 differ by up to 4 (no fuzziness is allowed): it is the top edge of the blended child, at a fraction of a pixel once projected by the rotateX(20deg) of its parent. The test blends the fuchsia child with difference once, with the coverage of the edge ((4,255,251)); the reference paints the fuchsia child and its yellow child over it, two antialiased layers with the same edge, which lets a part of the fuchsia show ((7,251,251))
mix-blend-mode/mix-blend-mode-parent-with-border-radius.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-parent-with-text.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-plus-lighter-basic.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-plus-lighter-svg-basic.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-plus-lighter-svg.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-plus-lighter.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-root-element-group.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-rotated-clip.htmlFail0 / 1BUGthe overlay of the red child over the lime backdrop gives lime everywhere, but the 120 pixels of the antialiased diagonals of the rotated (45deg) overflow clip are (11,244,0) instead of lime (the test allows 1 level on 30 pixels): the lime background of the clipping box (the backdrop, in the isolated group of the rotated box) and the red child clipped by its overflow clip have the same coverage c on these pixels and are composited one after the other, so the child is blended with a partially transparent backdrop and c(1-c) of its red stays (two coverages of the same edge)
mix-blend-mode/mix-blend-mode-script.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-sibling-with-3D-transform.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-simple.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-stacking-context-001.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-stacking-context-002.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-stacking-context-creates-isolation.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-svg.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-video-sibling.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-video.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-with-transform-and-preserve-3D.htmlPass1 / 1
root-element-background-image-transparency-001.htmlPass1 / 1
root-element-background-image-transparency-002.htmlPass1 / 1
root-element-background-image-transparency-003.htmlPass1 / 1
root-element-background-image-transparency-004.htmlPass1 / 1
root-element-background-margin-opacity.htmlPass1 / 1
root-element-background-transparency.htmlPass1 / 1
root-element-blend-mode.htmlPass1 / 1
root-element-filter.htmlPass1 / 1
root-element-opacity-change.htmlPass1 / 1
root-element-opacity.htmlPass1 / 1
svg/mix-blend-mode-in-svg-image.htmlPass1 / 1
svg/mix-blend-mode-svg-rectangle.htmlPass1 / 1

Crash tests

TestResultVariantsKindDescription
background-blending/crashtests/bgblend-root-change.htmlPass1 / 1
mix-blend-mode/mix-blend-mode-root-element-transform-crash.htmlPass1 / 1
opacity-and-transform-animation-crash.htmlPass1 / 1
root-element-background-contain-hidden-crash.htmlPass1 / 1
root-element-background-image-opaque-crash.htmlPass1 / 1
root-element-filter-background-clip-text-crash.htmlPass1 / 1