WebKit Bugzilla
Attachment 339933 Details for
Bug 185465
: Tapping after CSS-based table casues an infinite loop in wordRangeFromPosition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Reduction
freeze-test.html (text/html), 943 bytes, created by
Ryosuke Niwa
on 2018-05-08 23:39:09 PDT
(
hide
)
Description:
Reduction
Filename:
MIME Type:
Creator:
Ryosuke Niwa
Created:
2018-05-08 23:39:09 PDT
Size:
943 bytes
patch
obsolete
><!DOCTYPE html> ><html> ><head> ><meta name="viewport" content="width=device-width, initial-scale=1"> ><script src="/Volumes/Data/webkit/LayoutTests/resources/ui-helper.js"></script> ><script> > >window.onload = () => { > const text = document.getElementById('cell'); > const rect = text.getBoundingClientRect(); > UIHelper.activateAt(rect.width / 2, rect.x + 10); >} > ></script> ></head> ><body> ><p>This tests tapping on inside a CSS table doesn't cause a hang.<br> >To manually test, click on the right of the text below inside the red box. >WebKit should not hang, and you should see PASS below immediately:</p> ><div id="result"></div> ><div onclick="result.textContent = 'PASS'" style="width:100%; height:100%; border: solid 10px red; padding: 10px;"> > <div style="display: table"> > <div style="display: table-row"> > <div id="cell" style="display: table-cell"> > Click here > > </div> > </div> > </div> ></div> ></body> ></html>
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="/Volumes/Data/webkit/LayoutTests/resources/ui-helper.js"></script> <script> window.onload = () => { const text = document.getElementById('cell'); const rect = text.getBoundingClientRect(); UIHelper.activateAt(rect.width / 2, rect.x + 10); } </script> </head> <body> <p>This tests tapping on inside a CSS table doesn't cause a hang.<br> To manually test, click on the right of the text below inside the red box. WebKit should not hang, and you should see PASS below immediately:</p> <div id="result"></div> <div onclick="result.textContent = 'PASS'" style="width:100%; height:100%; border: solid 10px red; padding: 10px;"> <div style="display: table"> <div style="display: table-row"> <div id="cell" style="display: table-cell"> Click here > </div> </div> </div> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 185465
: 339933 |
339934
|
339939
|
339941
|
339942
|
339944
|
339951
|
339985
|
340135