Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: sky/framework/sky-scrollable.sky

Issue 948073002: Fix typos in sky-drawer and sky-scrollable (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/framework/sky-drawer.sky ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 // Copyright 2015 The Chromium Authors. All rights reserved. 2 // Copyright 2015 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 --> 5 -->
6 <import src="sky-element.sky" /> 6 <import src="sky-element.sky" />
7 7
8 <sky-element> 8 <sky-element>
9 <template> 9 <template>
10 <style> 10 <style>
11 :host { 11 :host {
12 overflow: hidden; 12 overflow: hidden;
13 position: relative; 13 position: relative;
14 } 14 }
15 #scrollable { 15 #scrollable {
16 transform: translateY(0); 16 will-change: transform;
17 } 17 }
18 #vbar { 18 #vbar {
19 position: absolute; 19 position: absolute;
20 right: 0; 20 right: 0;
21 width: 3px; 21 width: 3px;
22 background-color: lightgray; 22 background-color: lightgray;
23 pointer-events: none; 23 pointer-events: none;
24 top: 0; 24 top: 0;
25 height: 0; 25 height: 0;
26 will-change: opacity; 26 will-change: opacity;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 } 127 }
128 128
129 void _handleWheel(WheelEvent event) { 129 void _handleWheel(WheelEvent event) {
130 scrollBy(-event.offsetY); 130 scrollBy(-event.offsetY);
131 } 131 }
132 } 132 }
133 133
134 _init(script) => register(script, SkyScrollable); 134 _init(script) => register(script, SkyScrollable);
135 </script> 135 </script>
136 </sky-element> 136 </sky-element>
OLDNEW
« no previous file with comments | « sky/framework/sky-drawer.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698