File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -744,6 +744,23 @@ Privacy and Security Considerations {#priv-sec}
744744 via {{getComputedStyle()}} ,
745745 which can increase fingerprinting surface.
746746
747+ <div class=note>
748+ Avoiding this comes with unfortunate drawbacks that were deemed too significant to be ignored.
749+ Namely:
750+
751+ * preserving system colors as keywords until actual-value time
752+ would break a significant amount of deployed script,
753+ as the initial value of 'color' is a system color already
754+ (but a huge amount of script implicitly expects to see an RGB color from 'color' )
755+ * lying about system colors from the scripting APIs
756+ (pretending they're always some static values)
757+ can result in any colors calculated <em> from</em> page colors in script
758+ being unreadable when used with the <em> actual</em> system colors.
759+
760+ See <a href="https://github.com/w3c/csswg-drafts/issues/5710#issuecomment-840772752">Issue 5710</a>
761+ for discussion on this topic.
762+ </div>
763+
747764 Additionally, it may be possible for an embedded document
748765 to use timing attacks to determine whether its own 'color-scheme'
749766 matches that of its embedding <{iframe}> or not.
You can’t perform that action at this time.
0 commit comments