Closed Bug 1255391 Opened 7 years ago Closed 3 years ago

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

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: sebo, Unassigned)

References

(Blocks 1 open bug)

Details

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
I'm going to file a separate bug for text-align, as it has a unique underlying problem.
Depends on: 1430616
text-shadow is being handled over in bug 1255378

I've checked all properties again in Firefox 73 and the auto-completion now provides all keywords that were previously missing, so I am closing this issue.

Sebastian

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.