Issue metadata
Sign in to add a comment
|
Webkit/Blink Transform Scale() Function Not Working On NaCl Embed Anymore
Reported by
5anty83...@gmail.com,
Sep 7
|
||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36
Steps to reproduce the problem:
1. document.getElementById('dosbox').style.webkitTransform = "scale(2.1, 1.7) translateY(18px)"; //Scale 1366x768
2.
3.
What is the expected behavior?
Native Client embed stretches correctly till screen edges as coded.
What went wrong?
It doesn't stretch native code anymore (embed element).
Did this work before? Yes 68.0.3440
Chrome version: 69.0.3497.81 Channel: stable
OS Version: 10.0
Flash Version:
,
Sep 7
Please provide some way to reproduce this issue.
,
Sep 7
Steps to reproduce the problem:
1. Download "Quake" from the Chrome Web Store
2. Either press ALT + ENTER or click on "Toggle Fullscreen"
3. Sample of fullscreen function:
function toggleFullScreen() {
if (!document.webkitIsFullScreen) {
document.getElementById('sdlquake').webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
if (screen.width == 1366 && screen.height == 768) {
if (document.getElementById('aspectratio').checked == true) {
document.getElementById('sdlquake').style.webkitTransform = "scale(1.3, 1.2)"; //4:3 Aspect Ratio
} else {
document.getElementById('sdlquake').style.webkitTransform = "scale(1.7, 1.2)"; //Scale 1366x768
}
}
} else {
if (document.webkitExitFullscreen) {
document.webkitExitFullscreen();
document.getElementById('sdlquake').style.webkitTransform = "none"; //Scale Windowed
}
}
};
,
Sep 7
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 8
,
Sep 9
,
Sep 10
5anty83.as@ Thanks for the update. Tested this issue on Windows 10 on the reported version 69.0.3497.81 and the latest Canary 71.0.3547.0 by following the below steps. 1. Launched Chrome and added 'Quake III FP-Shooter' from chrome://apps. 2. On clicking on the Extension icon, nothing is happening and unable to see the 'Play' button. Attached is the screen shot for reference. Request you to check and confirm if anything is missed from our end in triaging the issue. Also request you to provide a screen cast of the steps followed, which will help in better understanding of the issue. Thanks..
,
Sep 10
I'm also developing "Chrome Packaged Apps" from the machine reported but essentially as you may know for the Chrome OS platform. My apps used to go fullscreen by the toggleFullScreen(); function pointed above... Everything worked as a charm 'till version R68 on Windows and of course on Chrome OS. Since the standalone browser is way ahead than Chrome OS in its releases i noted that this function doesn't work anymore at least on Windows/Linux. I'm also having issues on compiling latest version of Chrome OS and test if the behavior is the same even thought it'd prolly be. "Quake III FP-Shooter" isn't an app I'm personally developing rather than "Quake" as a "Chrome Packaged App" you may find on the Google Chrome OS platform only. Please test this one instead. I've also attached a screenshoot pointing out that Webkit/Blink doesn't transform (Scale, Translate, Rotate) anymore... (Screenshot taken by NESticle for Chrome OS which works fullscreen with the same script). Since I don't have other code to test if this is the case for other elements but just the "NaCl embed" I'm guessing this should be the only one impacted. Please Fix.
,
Sep 10
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 10
I've noticed that transform (Scale, Translate, Rotate, etc.) works if "webkitRequestFullscreen" isn't invoked so by the way Blink transform operates correctly on a NaCl embed if not fullscreen... Hope this helps!
,
Sep 11
5anty83.as@ Thanks for the update. As per comment #8, this issue seems to be related to Chrome OS. Hence adding the OS as Chrome and requesting the appropriate team to look into the issue and help in further triaging. Thanks..
,
Sep 24
The NextAction date has arrived: 2018-09-24
,
Sep 24
,
Oct 3
As of today I've succeded to compile my own version of CrOS R69 and the bug seems to be present there too.
Issuing the command:
console.log(document.getElementById('snes9x').style.webkitTransform);
produces the following output:
scale(2.66797, 1.45607)
So the browser is aware of the command issued but doesn't stretch the content.
As pointed out before this seems to work if "webkitRequestFullscreen" isn't invoked but only for the first time after the window is created.
Please keep me up to date!
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by dtapu...@chromium.org
, Sep 7