Open Bug 1255373 Opened 8 years ago Updated 2 years ago

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

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

Tracking Status
firefox48 --- affected

People

(Reporter: sebo, Unassigned)

References

(Blocks 1 open bug)

Details

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
background-size seems ok now, after bug 1156019, but background-position still is not.
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
background-position has the keywords now.
background-size has they auto keyword now.

However, calc is still missing.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.