New issue
Advanced search Search tips

Issue 848283 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Browser compatibility issue in updating HTMLPlugInElement's style

Project Member Reported by ekaramad@chromium.org, May 31 2018

Issue description

Chrome Version:68.0.3440.7 (Official Build) canary (64-bit) (cohort: Clang-64)
OS: All (Blink bug)

What steps will reproduce the problem?
(1) Navigate {Chrome, Safari, Edge, Firefox} to https://ehsan-karamad.github.io/embed.html
(2) Press "Add new embed"
(3) Observe the counter.
(4) Set the text inside <input> box next to "Style" to 'float: right;' and then press "Update Style".
(5) Observe the embed frame is moved and the count might restart or continue depending on which UserAgent you are on.

What is the expected result?
Possibly the counter should continue which is the case in FireFox.

On chrome the bug is due to the call to DetachLayoutTree which has its own overridden version for HTMLPlugInElement. The call to SetEmbeddedContentView and then load/redirecting the frame will basically reload the content.

The same issue does not seem to exist with some other plugins such as PDF since 
it is stored as a persistent plugin during the style update.

 
Summary: Browser compatibility issue in updating HTMLPlugInElement's style (was: Browser behavior mismatch when changing style of HTMLEmbed/ObjectElement containing frame)
Status: Assigned (was: Available)

Sign in to add a comment