This change adds "alpha" option to PaintWorklet.

Usage example:
registerPaint('foo', class {
  static get alpha() { return true; }

  paint() { }
});

If true (default) the backdrop of the rendering context is transparent, if false the backdrop is opaque.

css-houdini-drafts github issue: https://github.com/w3c/css-houdini-drafts/issues/220

BUG=578252

TEST=third_party/WebKit/LayoutTests/csspaint/background-image-alpha.html

Review-Url: https://codereview.chromium.org/2077413005
Cr-Commit-Position: refs/heads/master@{#403967}
15 files changed