inIDOMUtils.getCSSValuesForProperty() is missing keywords for background-* properties

NEW
Unassigned

Status

()

Core
CSS Parsing and Computation
2 years ago
a year ago

People

(Reporter: sebo, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(firefox48 affected)

Details

(Reporter)

Description

2 years ago
Affected properties:

- background (missing the values from the properties below)
- background-position (missing the <position> values top, left, bottom, right and the calc() (and -moz-calc()) function)
- background-size (missing cover, contain, auto)

Test case (to execute in Scratchpad):

let DOMUtils = Cc["@mozilla.org/inspector/dom-utils;1"].getService(Ci.inIDOMUtils);

let names = ["background", "background-position", "background-size"];

for (let name of names) {
  console.log(DOMUtils.getCSSValuesForProperty(name));
}

Sebastian

Comment 1

a year ago
background-size seems ok now, after bug 1156019, but background-position still is not.
(Reporter)

Comment 2

a year ago
The 'auto' value is also still missing from background-size.
Also, calc() is still missing from all properties, but that may be handled in a separate bug.

Sebastian
You need to log in before you can comment on or make changes to this bug.