lighthouse 9.5.0-dev.20221031 → 9.5.0-dev.20221101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -94,17 +94,29 @@ class DOMSize extends Audit {
|
|
|
94
94
|
const items = [
|
|
95
95
|
{
|
|
96
96
|
statistic: str_(UIStrings.statisticDOMElements),
|
|
97
|
-
value:
|
|
97
|
+
value: {
|
|
98
|
+
type: 'numeric',
|
|
99
|
+
granularity: 1,
|
|
100
|
+
value: stats.totalBodyElements,
|
|
101
|
+
},
|
|
98
102
|
},
|
|
99
103
|
{
|
|
100
104
|
node: Audit.makeNodeItem(stats.depth),
|
|
101
105
|
statistic: str_(UIStrings.statisticDOMDepth),
|
|
102
|
-
value:
|
|
106
|
+
value: {
|
|
107
|
+
type: 'numeric',
|
|
108
|
+
granularity: 1,
|
|
109
|
+
value: stats.depth.max,
|
|
110
|
+
},
|
|
103
111
|
},
|
|
104
112
|
{
|
|
105
113
|
node: Audit.makeNodeItem(stats.width),
|
|
106
114
|
statistic: str_(UIStrings.statisticDOMWidth),
|
|
107
|
-
value:
|
|
115
|
+
value: {
|
|
116
|
+
type: 'numeric',
|
|
117
|
+
granularity: 1,
|
|
118
|
+
value: stats.width.max,
|
|
119
|
+
},
|
|
108
120
|
},
|
|
109
121
|
];
|
|
110
122
|
|
package/package.json
CHANGED