Closed Bug 1464848 Opened 7 years ago Closed 7 years ago

Italic toggle defaults to "initial" on first click

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1464340

People

(Reporter: mbalfanz, Unassigned)

References

Details

Attachments

(1 file)

Attached video italic.mp4
When using the italic toggle, the first click set's a value of "initial" in stead of "italic" or "normal" STR: 1. Go to any website and open the fonts editor on any font 2. Flip the italic toggle Expected result: - the font-style property is set to italic or normal (the opposite of the previous value) Actual result: - on first click, font-style is set to initial - after that it works as expected
Other properties such as font-weight can exhibit the same issue; this was mentioned in passing in bug 1464340, though that was primarily filed about a somewhat different problem. I had the impression that perhaps it happens whenever the property was not already present in the element's (inline) styles.
See Also: → 1464340
You are right, it works correctly as soon as some font-style is set. I'll mark this bug as duplicate.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
Component: Inspector: Fonts → Inspector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: