On Fri, Mar 21, 2014 at 9:55 PM, Patrick Brosset <[email protected]>wrote:
> We're struggling with a limitation related to the devtools highlighter > (the outline you see in this video: > https://www.youtube.com/watch?v=zBYEg40ByCM). > Today, the highlighter is created with XUL nodes that are appended in the > browser XUL markup, in one of the parent elements of the page currently > being inspected. These XUL nodes are absolutely positioned over the element > being highlighted. > > This technique has served us well until we wanted our devtools to work on > Fennec, Fxos and E10S mode. In these cases, the page being inspected > doesn't have a reachable parent element that we can use to append our > highlighter elements, and appending it inside the content page itself isn't > really a viable option because we don't want to impact the content in any > way. > I think you need an API to add anonymous content to the root element of the page. We don't have such an API at the moment but it might not be hard to add. Rob -- Jtehsauts tshaei dS,o n" Wohfy Mdaon yhoaus eanuttehrotraiitny eovni le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o Whhei csha iids teoa stiheer :p atroa lsyazye,d 'mYaonu,r "sGients uapr,e tfaokreg iyvoeunr, 'm aotr atnod sgaoy ,h o'mGee.t" uTph eann dt hwea lmka'n? gBoutt uIp waanndt wyeonut thoo mken.o w _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

