https://wiki.mozilla.org/Security/Fingerprinting
For example, new Firefox windows will no longer open maximized, and users who prefer maximized browser windows would need to maximize them manually.
It's also he extremely hard to prevent any way of getting at it. For example, I could measure if a line of text overflows and by how much.
The only place that needs it, are those JS apps that manually position items.
Measuring text overflow is only possible by the APIs exposed by the CSSOM set [0], which also happens to include the window sizing elements. If we only allowed a subset of that group, all those problems might evaporate or become extremely difficult to successfully use.
@media (min-width: 600px) { .pixel { background-image: url("/pixel?width=600"); } }
@media (min-width: 700px) { .pixel { background-image: url("/pixel?width=700"); } }
You could add as many of these media queries as you like to increase the resolution of your tracking. Combine this with the min-height media query and you can get the absolute size of the view port.Whilst it's better-than-nothing fingerprinting, it is still far less effective than JS having access to the window and height properties directly.
So if a browser changes the prefetching algo, the method is immediately broken. (For example enabling network.predictor.enable-prefetch in Firefox).
It isn't an inherent weakness of CSS itself.