Closed Bug 1524236 Opened 6 years ago Closed 6 years ago

Track the LayerId of the closest process-top-level ancestor of FocusState::mFocusLayersId

Categories

(Core :: Panning and Zooming, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hsivonen, Unassigned)

References

Details

(Whiteboard: [fission-event-m1])

Whenever FocusState::mFocusLayersId changes, compute into another adjacent variable the LayersId of the child of the closest RefLayer ancestor of the focused layer if there is one. Provide a getter callable from elsewhere for obtaining that LayersId.

(Note: Maybe the way LayerIds work FocusState::mFocusLayersId is already this layer itself if FocusState::mFocusLayersId is defined to always be a child of a RefLayer. In that case, this bug is WORKSFORME.)

Blocks: 1524239

I think this is WFM. Ryan can you confirm?

Flags: needinfo?(rhunt)
Blocks: 1524242

I believe this is the way it currently works. A LayersId corresponds to a layer tree, so mFocusLayersId will correspond to the layer tree that contains the focused element.

Which if I understand correctly, is what you want

Flags: needinfo?(rhunt)

Closing as WFM per comment 2. Feel free to reopen if there's more that needs doing here.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Whiteboard: [fission-event-m1]
You need to log in before you can comment on or make changes to this bug.