@@ -73,7 +73,7 @@ function get_colors() {
73
73
try {
74
74
if ( runSE ) { foo ++ }
75
75
let aTemp = [ ] , oTemp = { } , aList = oList [ type ]
76
- aList . forEach ( function ( style ) {
76
+ aList . forEach ( function ( style ) {
77
77
element . style . backgroundColor = strColor // reset color
78
78
element . style . backgroundColor = style
79
79
let rgb = window . getComputedStyle ( element , null ) . getPropertyValue ( 'background-color' )
@@ -323,7 +323,7 @@ function get_computed_styles(METRIC) {
323
323
324
324
function get_link ( METRIC ) {
325
325
// FF120+ 1858397: layout.css.always_underline_links
326
- let value , data = ''
326
+ let value , data = '' , notation = isVer < 120 ? '' : default_red
327
327
if ( ! isGecko || isVer < 120 ) {
328
328
value = zNA
329
329
} else {
@@ -334,11 +334,12 @@ function get_link(METRIC) {
334
334
if ( 'string' !== typeCheck ) { throw zErrType + typeCheck }
335
335
if ( ! property . includes ( 'rgb(' ) ) { throw zErrInvalid + 'got ' + property }
336
336
value = 'underline' == property . slice ( 0 , 9 ) ? zE : zD
337
+ if ( zD == value ) { notation = default_green }
337
338
} catch ( e ) {
338
339
value = e ; data = zErrLog
339
340
}
340
341
}
341
- addBoth ( 14 , METRIC , value , '' , '' , data )
342
+ addBoth ( 14 , METRIC , value , '' , notation , data )
342
343
return
343
344
}
344
345
0 commit comments