diff options
Diffstat (limited to 'src/components/script')
-rw-r--r-- | src/components/script/dom/element.rs | 1 | ||||
-rw-r--r-- | src/components/script/script_task.rs | 7 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/script/dom/element.rs b/src/components/script/dom/element.rs index 336c2433326..aa092bce325 100644 --- a/src/components/script/dom/element.rs +++ b/src/components/script/dom/element.rs @@ -112,7 +112,6 @@ pub enum ElementTypeId { HTMLParamElementTypeId, HTMLPreElementTypeId, HTMLProgressElementTypeId, - HTMLPseudoElementTypeId, HTMLQuoteElementTypeId, HTMLScriptElementTypeId, HTMLSelectElementTypeId, diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index 7bf6e1af842..9d9897dfc54 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -934,9 +934,10 @@ impl ScriptTask { page.query_layout(ContentBoxQuery(node.to_trusted_node_address(), chan), port); let point = Point2D(to_frac_px(rect.origin.x).to_f32().unwrap(), to_frac_px(rect.origin.y).to_f32().unwrap()); - // FIXME(pcwalton): This is pretty bogus when multiple layers are involved. Really - // what needs to happen is that this needs to go through layout to ask which layer - // the element belongs to, and have it send the scroll message to the compositor. + // FIXME(#2003, pcwalton): This is pretty bogus when multiple layers are involved. + // Really what needs to happen is that this needs to go through layout to ask which + // layer the element belongs to, and have it send the scroll message to the + // compositor. self.compositor.scroll_fragment_point(pipeline_id, LayerId::null(), point); } |