Allow overflow:hidden to scroll via script

This commit is contained in:
Martin Robinson 2017-07-24 14:36:42 +02:00 committed by Glenn Watson
parent 316878b489
commit 537025800f
13 changed files with 20 additions and 63 deletions

View file

@ -34,7 +34,7 @@ use style_traits::cursor::Cursor;
use text::TextRun;
use text::glyph::ByteIndex;
use webrender_api::{self, ClipId, ColorF, GradientStop, LocalClip, MixBlendMode, ScrollPolicy};
use webrender_api::{TransformStyle, WebGLContextId};
use webrender_api::{ScrollSensitivity, TransformStyle, WebGLContextId};
pub use style::dom::OpaqueNode;
@ -559,7 +559,7 @@ impl fmt::Debug for StackingContext {
#[derive(Clone, Debug, HeapSizeOf, Deserialize, Serialize)]
pub enum ScrollRootType {
ScrollFrame,
ScrollFrame(ScrollSensitivity),
Clip,
}