show only non-default values in Computed view (for shorthand properties)

NEW
Unassigned

Status

()

Firefox
Developer Tools: Computed Styles Inspector
P3
enhancement
6 years ago
5 months ago

People

(Reporter: Kevin Dangoor, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [computedview])

(Reporter)

Description

6 years ago
If you set a shorthand property like "font" (this example taken from http://html5boilerplate.com):

font: 300 16px/1.5 "Helvetica Neue", sans-serif;

then you get infrequently used properties like font-stretch appearing in the Computed view. The computed view could filter out the properties that are just the default values.

Updated

6 years ago
Summary: show only non-default values in Computed view → show only non-default values in Computed view (for shorthand properties)
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [computedview]

Comment 1

6 years ago
triage, filter on centaur
Priority: -- → P3
Isn't that already fixed? I.e. browser styles are hidden behind the 'Browser styles' checkbox.

Sebastian
Flags: needinfo?(dangoor)
(In reply to Sebastian Zartner [:sebo] from comment #2)
> Isn't that already fixed? I.e. browser styles are hidden behind the 'Browser
> styles' checkbox.
> 
> Sebastian

This is not about browser / user agent styles.  If you try the example in comment 0, you'll see it's still true today.
Flags: needinfo?(dangoor)
Ah, I misinterpreted the description. So in the example it's just expected to see

font-family   "Open Sans",sans-serif
font-size     17px
line-height   23.8px

and no other longhand properties for

font: 17px/1.4 "Open Sans",sans-serif;

Sebastian

Updated

2 years ago
Component: Developer Tools: Inspector → Developer Tools: Computed Styles Inspector

Updated

5 months ago
Severity: normal → enhancement
You need to log in before you can comment on or make changes to this bug.