Closed
Bug 1464848
Opened 6 years ago
Closed 6 years ago
Italic toggle defaults to "initial" on first click
Categories
(DevTools :: Inspector, defect, P2)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1464340
People
(Reporter: mbalfanz, Unassigned)
References
Details
Attachments
(1 file)
373.15 KB,
video/mp4
|
Details |
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
Comment 1•6 years ago
|
||
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.
Reporter | ||
Comment 2•6 years ago
|
||
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: 6 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
Assignee | ||
Updated•3 years ago
|
Component: Inspector: Fonts → Inspector
You need to log in
before you can comment on or make changes to this bug.
Description
•