Changeset 118184 in webkit


Ignore:
Timestamp:
May 23, 2012 9:17:19 AM (12 years ago)
Author:
eae@chromium.org
Message:

Add test for subpixel precision in DOM APIs
https://bugs.webkit.org/show_bug.cgi?id=85534

Reviewed by Eric Seidel.

Add test for increased precision due to subpixel support in the
getBoundingClientRect api. Also test that clientWidth returns the pixel
snapped value.

  • fast/sub-pixel/client-rect-has-subpixel-precision-expected.html: Added.
  • fast/sub-pixel/client-rect-has-subpixel-precision.html: Added.
  • platform/efl/Skipped:
  • platform/gtk-wk2/Skipped:
  • platform/mac-lion/Skipped:
  • platform/mac-snowleopard/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/mac/Skipped:
  • platform/qt-4.8/Skipped:
  • platform/qt/Skipped:
  • platform/win-wk2/Skipped:
  • platform/win-xp/Skipped:
  • platform/win/Skipped:
  • platform/wincairo/Skipped:
  • platform/wk2/Skipped:

Mark as skipped on all platforms but chromium for now.

Location:
trunk/LayoutTests
Files:
2 added
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r118182 r118184  
     12012-05-23  Emil A Eklund  <eae@chromium.org>
     2
     3        Add test for subpixel precision in DOM APIs
     4        https://bugs.webkit.org/show_bug.cgi?id=85534
     5
     6        Reviewed by Eric Seidel.
     7
     8        Add test for increased precision due to subpixel support in the
     9        getBoundingClientRect api. Also test that clientWidth returns the pixel
     10        snapped value.
     11
     12        * fast/sub-pixel/client-rect-has-subpixel-precision-expected.html: Added.
     13        * fast/sub-pixel/client-rect-has-subpixel-precision.html: Added.
     14        * platform/efl/Skipped:
     15        * platform/gtk-wk2/Skipped:
     16        * platform/mac-lion/Skipped:
     17        * platform/mac-snowleopard/Skipped:
     18        * platform/mac-wk2/Skipped:
     19        * platform/mac/Skipped:
     20        * platform/qt-4.8/Skipped:
     21        * platform/qt/Skipped:
     22        * platform/win-wk2/Skipped:
     23        * platform/win-xp/Skipped:
     24        * platform/win/Skipped:
     25        * platform/wincairo/Skipped:
     26        * platform/wk2/Skipped:
     27        Mark as skipped on all platforms but chromium for now.
     28
    1292012-05-23  Alexei Filippov  <alexeif@chromium.org>
    230
  • trunk/LayoutTests/platform/efl/Skipped

    r118160 r118184  
    15291529# Fail until SUBPIXEL_LAYOUT is enabled
    15301530# https://bugs.webkit.org/show_bug.cgi?id=85532
     1531fast/sub-pixel/client-rect-has-subpixel-precision.html
    15311532fast/sub-pixel/client-width-height-snapping.html
    15321533fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/gtk-wk2/Skipped

    r117771 r118184  
    341341# Fail until SUBPIXEL_LAYOUT is enabled
    342342# https://bugs.webkit.org/show_bug.cgi?id=85532
     343fast/sub-pixel/client-rect-has-subpixel-precision.html
    343344fast/sub-pixel/client-width-height-snapping.html
    344345fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/mac-lion/Skipped

    r117830 r118184  
    129129# Fail until SUBPIXEL_LAYOUT is enabled
    130130# https://bugs.webkit.org/show_bug.cgi?id=85532
     131fast/sub-pixel/client-rect-has-subpixel-precision.html
    131132fast/sub-pixel/client-width-height-snapping.html
    132133fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/mac-snowleopard/Skipped

    r116009 r118184  
    197197# Fail until SUBPIXEL_LAYOUT is enabled
    198198# https://bugs.webkit.org/show_bug.cgi?id=85532
     199fast/sub-pixel/client-rect-has-subpixel-precision.html
    199200fast/sub-pixel/client-width-height-snapping.html
    200201fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/mac-wk2/Skipped

    r117830 r118184  
    202202# Fail until SUBPIXEL_LAYOUT is enabled
    203203# https://bugs.webkit.org/show_bug.cgi?id=85532
     204fast/sub-pixel/client-rect-has-subpixel-precision.html
    204205fast/sub-pixel/client-width-height-snapping.html
    205206fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/mac/Skipped

    r118107 r118184  
    806806# Fail until SUBPIXEL_LAYOUT is enabled
    807807# https://bugs.webkit.org/show_bug.cgi?id=85532
     808fast/sub-pixel/client-rect-has-subpixel-precision.html
    808809fast/sub-pixel/client-width-height-snapping.html
    809810fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/qt-4.8/Skipped

    r117687 r118184  
    8585# Fail until SUBPIXEL_LAYOUT is enabled
    8686# https://bugs.webkit.org/show_bug.cgi?id=85532
     87fast/sub-pixel/client-rect-has-subpixel-precision.html
    8788fast/sub-pixel/client-width-height-snapping.html
    8889fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/qt/Skipped

    r118135 r118184  
    211211# Fail until SUBPIXEL_LAYOUT is enabled
    212212# https://bugs.webkit.org/show_bug.cgi?id=85532
     213fast/sub-pixel/client-rect-has-subpixel-precision.html
    213214fast/sub-pixel/client-width-height-snapping.html
    214215fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/win-wk2/Skipped

    r117830 r118184  
    936936# Fail until SUBPIXEL_LAYOUT is enabled
    937937# https://bugs.webkit.org/show_bug.cgi?id=85532
     938fast/sub-pixel/client-rect-has-subpixel-precision.html
    938939fast/sub-pixel/client-width-height-snapping.html
    939940fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/win-xp/Skipped

    r116009 r118184  
    3636# Fail until SUBPIXEL_LAYOUT is enabled
    3737# https://bugs.webkit.org/show_bug.cgi?id=85532
     38fast/sub-pixel/client-rect-has-subpixel-precision.html
    3839fast/sub-pixel/client-width-height-snapping.html
    3940fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/win/Skipped

    r117590 r118184  
    17361736# Fail until SUBPIXEL_LAYOUT is enabled
    17371737# https://bugs.webkit.org/show_bug.cgi?id=85532
     1738fast/sub-pixel/client-rect-has-subpixel-precision.html
    17381739fast/sub-pixel/client-width-height-snapping.html
    17391740fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/wincairo/Skipped

    r117394 r118184  
    20852085# Fail until SUBPIXEL_LAYOUT is enabled
    20862086# https://bugs.webkit.org/show_bug.cgi?id=85532
     2087fast/sub-pixel/client-rect-has-subpixel-precision.html
    20872088fast/sub-pixel/client-width-height-snapping.html
    20882089fast/sub-pixel/layout-boxes-with-zoom.html
  • trunk/LayoutTests/platform/wk2/Skipped

    r118092 r118184  
    8787# Fail until SUBPIXEL_LAYOUT is enabled
    8888# https://bugs.webkit.org/show_bug.cgi?id=85532
     89fast/sub-pixel/client-rect-has-subpixel-precision.html
    8990fast/sub-pixel/client-width-height-snapping.html
    9091fast/sub-pixel/layout-boxes-with-zoom.html
Note: See TracChangeset for help on using the changeset viewer.