layout/reftests/native-theme/scroll-thumb-minimum-size-theme.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/native-theme/scroll-thumb-minimum-size-theme.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +<!DOCTYPE html>
     1.5 +<div style="width: 200px; height: 200px; overflow: scroll;">
     1.6 +  <div style="width: 1753px; height: 1753px"></div>
     1.7 +</div>
     1.8 +<!--
     1.9 +See scroll-thumb-minimum-size-notheme.html for the formula.
    1.10 +
    1.11 +On XP/Vista at 96 dpi with theme enabled:
    1.12 +  thumb_size = 17 (minimum size)
    1.13 +  button_size = 17
    1.14 +  scrollbar_thickness = 17
    1.15 +
    1.16 +  inner_div_size = (200 - 2 * 17 - 17) * (200 / 17) = 1753
    1.17 +-->

mercurial