Open
Bug 1255389
Opened 9 years ago
Updated 2 years ago
inIDOMUtils.getCSSValuesForProperty() is missing keywords for font-* properties
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox48 | --- | affected |
People
(Reporter: sebo, Unassigned)
References
(Blocks 1 open bug)
Details
Affected properties:
- font (missing the values from font-family below)
- font-family (missing <generic-family> keywords)
- font-feature-settings (missing 'on' and 'off')
- font-synthesis (missing all keywords)
- font-variant (missing the values from the font-variant-* properties below)
- font-variant-alternates (missing all keywords and functions)
- font-variant-east-asian (missing all keywords)
- font-variant-ligatures (missing all keywords)
- font-variant-numeric (missing all keywords)
- font-variant-position (missing all keywords)
- font-weight (missing all keywords)
Test case (to execute in Scratchpad):
let DOMUtils = Cc["@mozilla.org/inspector/dom-utils;1"].getService(Ci.inIDOMUtils);
let names = ["font", "font-family", "font-feature-settings", "font-synthesis", "font-variant", "font-variant-alternates", "font-variant-east-asian", "font-variant-ligatures", "font-variant-numeric", "font-variant-position", "font-weight"];
for (let name of names) {
console.log(DOMUtils.getCSSValuesForProperty(name));
}
Sebastian
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•