New issue
Advanced search Search tips

Issue 591315 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Unable to see form inputs (radio/checkboxes) in device mode

Reported by dan.warman@cultbeauty.co.uk, Mar 2 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2664.0 Safari/537.36

Steps to reproduce the problem:
1. Go to www.w3schools.com/html/tryit.asp?filename=tryhtml_form_radio
2. Open Developer Tools and select device mode
3. Refresh and you'll see that the inputs have a heigh/width of 0 and are not visible.

What is the expected behavior?
Visible inputs

What went wrong?
I am unable to see form inputs, specifically radio and checkboxes, in Chrome Canary (Version 51.0.2664.0 canary (64-bit)) whilst in device mode.

For example, a screenshot of this url has been attached: www.w3schools.com/html/tryit.asp?filename=tryhtml_form_radio

Did this work before? N/A 

Chrome version: 51.0.2664.0  Channel: n/a
OS Version: OS X 10.10.5
Flash Version: Shockwave Flash 21.0 r0
 
Screen Shot 2016-03-01 at 12.31.33.png
486 KB View Download
Labels: Needs-Feedback
Unable to reproduce in v 51.0.2666.0.

Can you grab a build from appspot [1] and try that please? If that works for you then the issue is already fixed.

[1] https://download-chromium.appspot.com
Same issue. 

Is there anything I can check or provide to help you replicate this?
Labels: -Needs-Feedback
Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)
Could be something Mac-specific going on...

Assigning to dgozman to triage further since he handles most of the Device Mode stuff.
Cc: dgozman@chromium.org jonathan.garbee@chromium.org
 Issue 598940  has been merged into this issue.
Labels: -Type-Bug -Pri-2 ReleaseBlock-Stable M-50 Pri-1 Type-Bug-Regression
Labels: Merge-Request-50
Verified in mac canary 51.0.2702.2, requesting merge to M50.

Comment 8 by tin...@google.com, Apr 8 2016

Labels: -Merge-Request-50 Merge-Approved-50 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M50 (branch: 2661)
Please merge your change to M50 branch 2661 by 5:00 PM PST on April 8th,Friday to make into the desktop Stable final build cut. Thank you.
Project Member

Comment 10 by bugdroid1@chromium.org, Apr 9 2016

Labels: -merge-approved-50 merge-merged-2661
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3b3fde3ff83fee5e6980d5a529b45ac370657877

commit 3b3fde3ff83fee5e6980d5a529b45ac370657877
Author: Dmitry Gozman <dgozman@chromium.org>
Date: Sat Apr 09 00:20:39 2016

Use fallback in LayoutThemeMobile on mac.

WebThemeEngine does nothing on mac, so we use fallback
to paint radio and checkbox. This only happens when emulating
mobile device on mac.

BUG= 591315 

Review URL: https://codereview.chromium.org/1837963002

Cr-Commit-Position: refs/heads/master@{#385205}
(cherry picked from commit 9f52d372f849394e43bb2e648750311442a029e3)
TBR=dgozman

Review URL: https://codereview.chromium.org/1870173003 .

Cr-Commit-Position: refs/branch-heads/2661@{#539}
Cr-Branched-From: ef6f6ae5e4c96622286b563658d5cd62a6cf1197-refs/heads/master@{#378081}

[add] https://crrev.com/3b3fde3ff83fee5e6980d5a529b45ac370657877/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-controls-expected.txt
[add] https://crrev.com/3b3fde3ff83fee5e6980d5a529b45ac370657877/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-controls.html
[modify] https://crrev.com/3b3fde3ff83fee5e6980d5a529b45ac370657877/third_party/WebKit/LayoutTests/inspector-protocol/emulation/device-emulation-test.js
[modify] https://crrev.com/3b3fde3ff83fee5e6980d5a529b45ac370657877/third_party/WebKit/Source/core/layout/LayoutThemeMobile.cpp
[modify] https://crrev.com/3b3fde3ff83fee5e6980d5a529b45ac370657877/third_party/WebKit/Source/core/layout/LayoutThemeMobile.h

Status: Fixed (was: Assigned)
Labels: TE-Verified-M50 TE-Verified-50.0.2661.75
Tested the issue on Mac 10.10.5 using 50.0.2661.75.Observed that inputs are visible.
Please find attached screenshot.

Marking it as TE-Verified.


591315.png
497 KB View Download

Sign in to add a comment