Page MenuHomePhabricator

VisualEditor: Refactor CSS so CE doesn't need to position things relative to the UI surface
Open, MediumPublicFeature

Description

I see a lot of code like this:

ve.Element.getRelativePosition( [something], this.getRoot().getSurface().getSurface().$ );

Ideally, CE classes wouldn't need to reach into the UI surface for stuff like this. Positioning against the CE surface should just work.


Version: unspecified
Severity: enhancement

Details

Reference
bz56012

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:24 AM
bzimport added a project: Technical-Debt.
bzimport set Reference to bz56012.
Jdforrester-WMF lowered the priority of this task from High to Medium.Jan 9 2015, 10:55 PM
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:23 PM
Aklapper removed a subscriber: TrevorParscal.