New issue
Advanced search Search tips

Issue 777196 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 23
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Compat



Sign in to add a comment

Spaces and new lines in between content of <button> tag freeze a page

Reported by piotr.ba...@xfive.co, Oct 22 2017

Issue description

Example URL:
https://codepen.io/Piotr-Bajer/pen/aLxYNr

Steps to reproduce the problem:
1. Go to page https://codepen.io/Piotr-Bajer/pen/aLxYNr or run attached "bug-test.html" page in browser
2. Click anywhere on the page

What is the expected behavior?
There should be alert displayed saying "Overlay clicked".

What went wrong?
Page freezes, tab cannot be refreshed.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 62.0.3202.60  Channel: stable
OS Version: 11.0
Flash Version: 

How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?)
Everytime you click on the page.

What is the impact to the user, and is there a workaround? If so, what is
it?
User cannot refresh the page, tab freezes. Page needs to be closed.
It is enough to avoid spaces in <button> tag, so change code from:

<button>  test  </button>

to 

<button>test</button>

or use span wrapper like:

<button>
   <span>test</span>
</button>
 
bug-test.html
1.0 KB View Download
Please note that <button> test </button> does not cause the issue but using 2 or more spaces around the text triggers the bug, so <buttton>  test  </button> is enough to reproduce the error.
Components: -Blink UI>Browser

Comment 3 by jif@chromium.org, Oct 27 2017

Owner: eugene...@chromium.org
Status: Assigned (was: Unconfirmed)
Can reproduce the bug in Firefox iOS, but not in Safari.

Eugene, do you think we can do something about it?
Cc: eugene...@chromium.org danyao@chromium.org
Components: -UI>Browser Mobile>WebView>Glue
Labels: -Type-Bug Type-Compat
Owner: ----
Status: ExternalDependency (was: Assigned)
Reproducible with stock WKWebView app. rdar://35263057 

Comment 5 Deleted

Components: Mobile>iOSWeb
Components: -Mobile>WebView>Glue
Components: -Mobile>iOSWeb Mobile>iOSWeb>WebPlatform
Status: WontFix (was: ExternalDependency)
This no longer reproduces (tested Chrome in iOS 12.1, and Safari in iOS 11.4 and iOS 12.1), so it was fixed sometime between iOS 11.1 and 11.4.

Sign in to add a comment