~smagoun/whoopsie/whoopsie-lp1017637

« back to all changes in this revision

Viewing changes to backend/stats/static/js/yui/releasenotes/HISTORY.scrollview.md

  • Committer: Evan Dandrea
  • Date: 2012-05-09 05:53:45 UTC
  • Revision ID: evan.dandrea@canonical.com-20120509055345-z2j41tmcbf4as5uf
The backend now lives in lp:daisy and the website (errors.ubuntu.com) now lives in lp:errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
ScrollView Change History
2
 
=========================
3
 
 
4
 
3.5.0
5
 
-----
6
 
 
7
 
  * Allow scrollbar to work with non-px width scrollviews
8
 
  * Added mousewheel support (#2529136)
9
 
 
10
 
3.4.1
11
 
-----
12
 
 
13
 
  * Fixed incorrect scroll width/height calculations to account for
14
 
    translate (for real this time) on Chrome, and now Safari. 
15
 
 
16
 
    translateZ applied for h/w acceleration was resulting in the incorrect 
17
 
    scroll values.
18
 
 
19
 
  * Removed fallback to cb.scrollWidth/Height, when determining scroll dimensions.
20
 
    This was masking the real problem with translate impacting boundingBox scroll 
21
 
    width/height calcs mentioned above.
22
 
 
23
 
  * Fixed scrollbar racing ahead of scroll position on FF 5+ with native transition
24
 
    support enabled.
25
 
 
26
 
  * Added ability to disable scrollview completely, disable flick or disable drag
27
 
   
28
 
    // Stops SV from moving through flick/drag or the API.
29
 
    sv.set("disabled", true); 
30
 
 
31
 
    // Stops SV from reacting to flick. Can still drag/scroll through API
32
 
    sv.set("flick", false);
33
 
 
34
 
    // Stops SV from reacting to drag. Can still flick, scroll through API
35
 
    sv.set("drag", false);  
36
 
 
37
 
  * Resync UI on scrollview-list class application.
38
 
 
39
 
3.4.0
40
 
-----
41
 
 
42
 
  * Fixed _uiDimensionsChange code which was looking explicitly for 
43
 
    the "width" attribute. Just plain wrong.
44
 
 
45
 
  * Added vertical paging support.
46
 
 
47
 
  * Removed DOMSubtreeModified event listening which was only really kicking
48
 
    in for Webkit and was too heavy handed. User now needs to call syncUI() 
49
 
    manually on all browsers, if the content of the scrollview is changed, 
50
 
    and may potentially result in dimension changes.
51
 
 
52
 
  * Broke out use of transform3d into a seperate method, and added a protected
53
 
    flag, _forceHWTransforms, to allow for customization if required 
54
 
    (H/W acceleration related glitches or changing the set of browsers for 
55
 
    which we attempt to force it).
56
 
 
57
 
  * Created Scrollview-List plugin to provide out-of-the-box handling of
58
 
    List (LI) content inside horizontal and vertical ScrollViews. 
59
 
 
60
 
  * Fixed incorrect scroll width/height calculations on Chrome 9+, FF
61
 
    when syncUI() [ or _uiDimensionsChange() ] was called when the ScrollView
62
 
    was scrolled over.
63
 
 
64
 
  * Protected state flags are now reset if _uiDimensionsChange results in
65
 
    flipped orientation.
66
 
 
67
 
  * Use the larger of bb.scrollWidth/Height or cb.scrollWidth/Height, to calculate
68
 
    scroll dimensions to account for FF (which clips cb.scrollWidth) and 
69
 
    Chrome/MacOS (which clips bb.scrollWidth when translated even after 
70
 
    incorrect scroll calcs above).
71
 
  
72
 
3.3.0
73
 
-----
74
 
 
75
 
  * Fixed shared scrollbar node across multiple instances.
76
 
 
77
 
  * Changed async call to _uiDimensionsChange after render, to a sync call.
78
 
 
79
 
  * Corrected skin prefix to be yui3-skin-sam instead yui-skin-sam.
80
 
 
81
 
  * Refactored for kweight, and broke out scrollview-base-ie conditional module.
82
 
 
83
 
  * Don't prevent default on gesturemoveend, so that click listeners on 
84
 
    elements inside the scrollview respond reliably. Panning is still prevented 
85
 
    by preventing gesturemousemove.
86
 
 
87
 
  * Removed generic CSS in scrollview-base.css targeting UL/LI content. The 
88
 
    rules were added to support the common use case, but were too broad, and in 
89
 
    general, scrollview is content agnostic.
90
 
 
91
 
  * The same support can be achieved by adding cssreset to the page (to remove
92
 
    LI bullets, padding, margin), and adding inline block rules, when providing
93
 
    horizontal scrollview content as a list. These rules are provided below:
94
 
 
95
 
    /* To layout horizontal LIs */
96
 
    #my-horiz-scrollview-content li {
97
 
      display: inline-block;
98
 
       *display: inline;
99
 
       *zoom:1;
100
 
    }
101
 
 
102
 
    /* For IE - needs a non-transparent background to pick up events */
103
 
    #my-scrollview-content li {
104
 
      *zoom:1;
105
 
      background-color:#fff;
106
 
    }
107
 
 
108
 
  * Added prefix-less border radius scrollbar styles for IE9.
109
 
 
110
 
  * Made scrollbar-paginator skinnable:false. It has no CSS which is applied,
111
 
    out of the box currently. The paginator CSS shipped in 3.2.0, was not actively
112
 
    applied.
113
 
 
114
 
3.2.0
115
 
-----
116
 
 
117
 
  * New beta component