Closed Bug 1452309 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10300 - [css-typed-om] Add support for background properties.


(Core :: DOM: CSS Object Model, enhancement, P4)




Tracking Status
firefox61 --- fixed


(Reporter:, Unassigned)




(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10300 into mozilla-central (this bug is closed when the sync is complete).

Details from upstream follow.

Darren Shen <> wrote:
>  [css-typed-om] Add support for background properties.
>  We cannot support background-repeat and background-position yet because
>  they are both implemented as shorthands in Blink, but are not shorthands
>  in the spec.
>  We'd need to refactor the existing code to allow shorthands to reify
>  as proper Typed OM objects. There are also some tricky bits to support
>  styleMap.set with shorthands given a proper Typed OM object.
>  Bug: 820299
>  Change-Id: I064ce37a48bee3d73965b66b323e20abf5a9099f
>  Reviewed-on:
>  Commit-Queue: Darren Shen <>
>  Reviewed-by: Rune Lillesveen <>
>  Cr-Commit-Position: refs/heads/master@{#548705}
Component: web-platform-tests → DOM: CSS Object Model
Product: Testing → Core
Ran 7 tests and 7 subtests
OK     : 7
FAIL   : 7

New tests that have failures or other problems:
    'background-attachment' property: FAIL
    'background-blend-mode' property: FAIL
    'background-clip' property: FAIL
    'background-origin' property: FAIL
    'background-position' property: FAIL
    'background-repeat' property: FAIL
    'background-size' property: FAIL
Pushed by
[wpt PR 10300] - [css-typed-om] Add support for background properties., a=testonly
[wpt PR 10300] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.