[webkit-dev] enhancement - html hole element

José Dapena Paz jdapena at igalia.com
Fri Sep 19 13:43:34 PDT 2014


El jue, 18-09-2014 a las 12:07 -0700, Simon Fraser escribió:

> I don’t think it’s appropriate to add <hole> to WebKit.
> 
> <hole> is really just adapting to a limitation of the platform’s
> compositing architecture. More powerful hardware like computers and
> smartphones are able to composite video above and below web content,
> which is achieved in WebCore via the accelerated compositing code
> path. I don’t think it’s appropriate to burden the platform with an
> element that only applies on power-limited hardware.
> 
> The right solution for a WebKit implementation would be to solve this
> via the accelerated composting code. Just use a <video> or <object> in
> your markup, then implement the hole-punching via the GraphicsLayer
> subsystem.

+1. Implementing punching hole with the integration of GraphicsLayer and
MediaPlayer works well for the videos. Same for plugins.

I see the punching hole is platform specific. No need for a new HTML
tag.




More information about the webkit-dev mailing list