mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1237963 - Add documents to embed element capabilities; r=bz
This commit is contained in:
parent
6a3473e8a8
commit
8cb11383e5
@ -343,12 +343,7 @@ HTMLSharedObjectElement::GetCapabilities() const
|
||||
{
|
||||
uint32_t capabilities = eSupportPlugins | eAllowPluginSkipChannel;
|
||||
if (mNodeInfo->Equals(nsGkAtoms::embed)) {
|
||||
capabilities |= eSupportSVG | eSupportImages;
|
||||
}
|
||||
// If this is a rewritten youtube flash embed, add documents to capabilities
|
||||
// so that we can render HTML5 if possible.
|
||||
if (mRewrittenYoutubeEmbed) {
|
||||
capabilities |= eSupportDocuments;
|
||||
capabilities |= eSupportSVG | eSupportImages | eSupportDocuments;
|
||||
}
|
||||
|
||||
return capabilities;
|
||||
|
Loading…
Reference in New Issue
Block a user