Closed Bug 1255402 Opened 9 years ago Closed 7 years ago

inIDOMUtils.getCSSValuesForProperty() is missing values for 'object-position' and 'perspective-origin'

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla59
Tracking Status
firefox59 --- verified

People

(Reporter: sebo, Assigned: tromey)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The 'object-position' and 'perspective-origin' properties are missing their <position> keywords 'top', 'left', 'bottom', 'right' and 'center' as well as the cal() (and -moz-calc()) function. Test case (to execute in Scratchpad): let DOMUtils = Cc["@mozilla.org/inspector/dom-utils;1"].getService(Ci.inIDOMUtils); let names = ["object-position", "perspective-origin"]; for (let name of names) { console.log(DOMUtils.getCSSValuesForProperty(name)); } Sebastian
Still missing calc().
Assignee: nobody → ttromey
Forgot to update the database, again.
Comment on attachment 8942964 [details] Bug 1255402 - fix getCSSValuesForProperty for object-position and perspective-origin; https://reviewboard.mozilla.org/r/213236/#review219186
Attachment #8942964 - Flags: review?(cam) → review+
Pushed by ttromey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34c24c0414fa fix getCSSValuesForProperty for object-position and perspective-origin; r=heycam
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Works for me in 59.0a1 (2018-01-18). Thanks Tom! Sebastian
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: