mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
If a mouse event is targeting an iframe, forward it to the iframe's inner window
Fixes #8759. This adds a slow path for cases where the compositor's layer-based hit testing is incorrect. To optimize for this case, we could instead replace the layer hit testing with display-list hit testing done in the paint task.
This commit is contained in:
parent
8c4fed42b0
commit
9551363bfb
4 changed files with 57 additions and 4 deletions
|
@ -185,6 +185,11 @@ impl HTMLIFrameElement {
|
|||
self.containing_page_pipeline_id.get()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn pipeline_id(&self) -> Option<PipelineId> {
|
||||
self.pipeline_id.get()
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn subpage_id(&self) -> Option<SubpageId> {
|
||||
self.subpage_id.get()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue