Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIssue #12071: Don't submit forms when typing Tab on an input. #12365
Conversation
highfive
commented
Jul 9, 2016
|
Heads up! This PR modifies the following files:
|
| keyevent.ShiftKey(), | ||
| keyevent.AltKey(), | ||
| keyevent.MetaKey()), | ||
| // Issue #12071 |
This comment has been minimized.
This comment has been minimized.
notriddle
Jul 10, 2016
•
Contributor
Could you include an actual synopsis? Something like
// TODO(3982): Implement tab focus switching
This comment has been minimized.
This comment has been minimized.
simartin
Jul 10, 2016
Author
Contributor
Thanks for the suggestion and the issue # for keyboard navigation. Done in the updated patch
| }); | ||
| test.step_timeout(function() { assert_false(form_submitted, "Form should not be submitted"); test.done(); }, 500); | ||
| </script> | ||
| </body> |
This comment has been minimized.
This comment has been minimized.
KiChjang
Jul 11, 2016
Member
Woah, there are tabs in this test file. Doubleplusungood. Please change them into spaces (either 2 or 4 spaces per indent are fine).
|
Why didn't tidy catch it? |
|
tests/wpt/mozilla/tests/mozilla/form_tab_keyevent.html, line 26 [r2] (raw file):
|
|
tidy did not catch it because it does not consider *.html files. I've opened #12421 to fix this. Comments from Reviewable |
|
@bors-servo r+ Thanks! |
|
|
Issue #12071: Don't submit forms when typing Tab on an input. <!-- Please describe your changes on the following line: --> Fixes #12071 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12071 <!-- Either: --> - [X] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12365) <!-- Reviewable:end -->
|
|
simartin commentedJul 9, 2016
•
edited by larsbergstrom
Fixes #12071
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is