Changes between Version 8 and Version 9 of ScalesAndZooms


Ignore:
Timestamp:
Jan 8, 2013 2:29:02 AM (8 years ago)
Author:
mnaganov@chromium.org
Comment:

Logical pixels -> DIP pixels, see https://bugs.webkit.org/show_bug.cgi?id=106021

Legend:

Unmodified
Added
Removed
Modified
  • ScalesAndZooms

    v8 v9  
    1111
    1212 * CSS pixel - the unit '1px' in CSS, basis of most other CSS units of length.  Also known as a layout pixel.  Represented in WebCore by the LayoutUnit type.
    13  * Logical pixel - also known sometimes as "UI pixel" or "device-independent pixel".
     13 * DIP pixel - a Density Independent Pixel, also known sometimes as "UI pixel".
    1414 * Physical pixel - represents one unit of display on the physical display.  Also known as device-dependent pixel.
    1515 * CSS viewport - dimensions of the CSS initial containing block, in CSS pixels.
    16  * Virtual viewport - visible region of the screen when using zoom gestures, measured in logical pixels.
     16 * Virtual viewport - visible region of the screen when using zoom gestures, measured in DIP pixels.
    1717
    1818= Types of scales and zooms =
     
    2121
    2222|| '''Name''' || '''Ratio''' || '''Changes CSS viewport size''' || '''Exposed directly to web content''' ||
    23 || Device Scale || Physical pixel : Logical pixel || No || Yes - window.devicePixelRatio, CSS media queries ||
    24 || Page scale || Logical pixel : CSS pixel || No || No ||
    25 || Page zoom || Logical pixel : CSS pixel || Yes || No ||
     23|| Device Scale || Physical pixel : DIP pixel || No || Yes - window.devicePixelRatio, CSS media queries ||
     24|| Page scale || DIP pixel : CSS pixel || No || No ||
     25|| Page zoom || DIP pixel : CSS pixel || Yes || No ||
    2626|| Text zoom || Specified font size : Actual font size || No || No ||
    2727|| CSS/SVG scale transform || Local coordinate space || No || Yes ||
     
    3434
    3535== Page zoom ==
    36 Page zoom is used to implement browser zoom functionality present in many desktop browsers.  A page zoom factor of 120% means that one CSS pixel occupies 1.2 logical/UI pixels.  Changing the page zoom factor typically does not change the logical size of the viewport, meaning that with a page zoom greater than one the viewport is effectively smaller in terms of CSS pixels.  Because of this, changing the page zoom factor typically changes the layout of a page significantly.
     36Page zoom is used to implement browser zoom functionality present in many desktop browsers.  A page zoom factor of 120% means that one CSS pixel occupies 1.2 DIP pixels.  Changing the page zoom factor typically does not change the logical size of the viewport, meaning that with a page zoom greater than one the viewport is effectively smaller in terms of CSS pixels.  Because of this, changing the page zoom factor typically changes the layout of a page significantly.
    3737
    3838== Text zoom ==