Skip to content

Commit 053dea7

Browse files
tidy
1 parent 20e8bc9 commit 053dea7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

js/css.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ function get_computed_styles() {
199199
el.innerHTML = display
200200
if (i > 0) {if (hashes[i] != hashes[0]) {isSame = false}}
201201
}
202-
// show/hide rows | fixup label
202+
// show/hide rows & fixup label
203203
dom.togCSSb.style.display = (isSame ? "none" : "table-row")
204204
dom.togCSSc.style.display = (isSame ? "none" : "table-row")
205205
if (!isSame) {
@@ -255,10 +255,8 @@ function get_mm_css() {
255255
let res = []
256256
get_mm("prefers-reduced-motion","PRM",63,"no-preference") // FF63+
257257
get_mm("prefers-color-scheme","PCS",67,"light") // FF67+: 1494034
258+
get_mm("forced-colors","FC") // FF89+: 1659511: not RFP protected
258259
get_mm("prefers-contrast","PC")
259-
get_mm("forced-colors","FC") // FF89+: 1659511
260-
261-
// ToDo: forced-colors: RFP & version check FF89+: 1659511: layout.css.forced-colors.enabled
262260
// ToDo: contrast: RFP & version check
263261
// 1506364: layout.css.prefers-contrast.enabled / browser.display.prefers_low_contrast boolean [hidden]
264262

@@ -274,10 +272,8 @@ function get_system_fonts() {
274272
m = "-moz-",
275273
aFonts = ["caption","icon","menu","message-box","small-caption","status-bar",m+"window",m+"desktop",
276274
m+"document",m+"workspace",m+"info",m+"pull-down-menu",m+"dialog",m+"button",m+"list",m+"field"]
277-
278275
let sName = "css_system_fonts"
279276
clearDetail(sName)
280-
281277
try {
282278
let el = dom.sysFont
283279
aFonts.forEach(function(font){

0 commit comments

Comments
 (0)