Screen: thuộc tính mozBrightness
Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.
Chỉ ra độ sáng của đèn nền màn hình, trên thang đo từ 0 (rất tối) đến 1 (độ sáng tối đa); giá trị này là một số thực double-precision.
Bạn có thể đọc và ghi thuộc tính này ngay cả khi màn hình bị tắt, nhưng đèn nền sẽ tắt trong khi màn hình bị vô hiệu hóa. Nếu bạn ghi giá trị X vào thuộc tính này, thuộc tính có thể không có cùng giá trị X khi bạn đọc lại sau đó. Hầu hết các màn hình không hỗ trợ nhiều mức độ sáng khác nhau như số lượng số double giữa 0 và 1. Độ chính xác của giá trị có thể bị giảm trước khi lưu trữ.