Bug 133801 - CSS scale transform causes blurry content when iframe contains fixed positioned content
Summary: CSS scale transform causes blurry content when iframe contains fixed position...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-06-12 09:41 PDT by Kari
Modified: 2019-03-29 10:18 PDT (History)
5 users (show)

See Also:


Attachments
Main HTML page for repro example (391 bytes, text/html)
2014-06-12 09:41 PDT, Kari
no flags Details
IFrame content for main HTML page (219 bytes, text/html)
2014-06-12 09:42 PDT, Kari
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kari 2014-06-12 09:41:10 PDT
Created attachment 232957 [details]
Main HTML page for repro example

Overview:
CSS scale transform causes blurry content when iframe contains fixed positioned content.
If you have a div containing any content, as well as an iframe, and the document loaded in the iframe contains fixed positioned content, all of the content in the outer div will become blurry when scaled up.

Steps to Reproduce:
Comment 1 Kari 2014-06-12 09:42:32 PDT
Created attachment 232959 [details]
IFrame content for main HTML page
Comment 2 Kari 2014-06-12 09:44:54 PDT
Steps to Reproduce:

Create an HTML page with:
1. Outer div to contain all content
2. One child div with any text
3. One child iframe referencing a document that has one fixed positioned element
4. Scale outer div up using transform scale

Actual Results:
Content is blurry, including the div that is not in the iframe content.

Expected Results:
Content is as clear as before scaling.
Comment 3 ar 2016-07-05 14:33:06 PDT
Also, in my testing, adding the following doesn't help either:

- transform: translate3d(0,0,0)
- backface-visibility: hidden;
Comment 4 Radar WebKit Bug Importer 2016-08-08 19:02:24 PDT
<rdar://problem/27758880>
Comment 5 Graeme 2019-03-29 10:18:40 PDT
Iframe content is always blurred when inside an element that has any CSS transform on it. e.g. a flip card style of transform: rotateY(180deg) does the same thing.

Firefox is fine, by the way. This is a definite Webkit issue. Shame it's been kicking around for 5 years without a fix.