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

NEW
Unassigned

Status

()

3 years ago
7 months ago

People

(Reporter: sebo, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox48 affected)

Details

(Reporter)

Description

3 years ago
Affected properties:

- text-align (missing 'match-parent')
- text-decoration (missing the keywords from 'text-decoration-line')
- text-decoration-line (missing all keywords)
- text-emphasis (missing all keywords from the 'text-emphasis-*' longhands)
- text-emphasis-position (missing all keywords)
- text-emphasis-style (missing all keywords)
- text-overflow (missing all keywords)
- text-shadow (missing <color> keywords)

Test case (to execute in Scratchpad):

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

let names = ["text-align", "text-decoration", "text-decoration-line", "text-emphasis", "text-emphasis-position", "text-emphasis-style", "text-overflow
text-shadow"];

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

Sebastian

Comment 1

7 months ago
I'm going to file a separate bug for text-align, as it has a unique underlying problem.

Updated

7 months ago
Depends on: 1430616

Comment 2

7 months ago
text-shadow is being handled over in bug 1255378
You need to log in before you can comment on or make changes to this bug.