New issue
Advanced search Search tips

Issue 893720 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 11
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

CSS styles not being applied to text/plain embeds.

Reported by leose...@rambler.ru, Oct 9

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Example URL:
https://jsfiddle.net/g3h57npr/

Steps to reproduce the problem:
1. Embed a text file (.txt) to HTML document using <embed> element.
2. Apply CSS styles to <embed> element.

What is the expected behavior?
Styles should be applied to embedded plain text.

What went wrong?
No styles applied to text/plain embeds.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? No 

Does this work in other browsers? No
 Firefox 56.0.2

Chrome version: 67.0.3396.87  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

Can be also reproduced with <object> elements.
 
Labels: Needs-Milestone
Status: WontFix (was: Unconfirmed)
CSS style does not propagate through to resources loaded through embed or object elements, and that is by design (i.e. think of them as iframe elements). Those loaded resources exist in their own browsing context assuming they're loaded by the browser itself (as opposed to a plugin), and thus their style is unaffected by the containing page.

Sign in to add a comment