Changeset 215222 in webkit
- Timestamp:
- Apr 11, 2017 2:20:16 AM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r215213 r215222 1 2017-04-11 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [css-grid] Fix fast/css-grid-layout/grid-simplified-layout-positioned.html 4 https://bugs.webkit.org/show_bug.cgi?id=167538 5 6 Reviewed by Darin Adler. 7 8 fast/css-grid-layout/grid-simplified-layout-positioned.html was flacky 9 as the caret was not always painted in the test runner. 10 The test was checking for a crash in simplified layout (see bug #163450) 11 and has nothing to do with the caret or "autofocus" behavior. 12 "autofocus" was needed to get the crash, so this change modifies 13 the test to blur the element, so the caret is not painted anymore. 14 15 * fast/css-grid-layout/grid-simplified-layout-positioned-expected.html: 16 Don't focus the input element. 17 * fast/css-grid-layout/grid-simplified-layout-positioned.html: Blur 18 the input element to avoid showing the caret. 19 * platform/mac-wk2/TestExpectations: Remove file from expectations. 20 1 21 2017-04-10 Jiewen Tan <jiewen_tan@apple.com> 2 22 -
trunk/LayoutTests/fast/css-grid-layout/grid-simplified-layout-positioned-expected.html
r208586 r215222 10 10 This text and input should appear at 100x100 position. 11 11 Like if they have a left and top margin of 100px. 12 <input autofocus>12 <input> -
trunk/LayoutTests/fast/css-grid-layout/grid-simplified-layout-positioned.html
r208586 r215222 16 16 Like if they have a left and top margin of 100px. 17 17 <input autofocus> 18 <script> 19 if (window.testRunner) 20 window.testRunner.waitUntilDone(); 21 // "autofocus" is needed to force the simplified layout call. 22 // We are removing the focus here to match the expected file and avoid issues with the caret. 23 // We need a small timeout so "blur()" is run after "autofocus". 24 setTimeout(function() { 25 document.querySelector("input").blur(); 26 if (window.testRunner) 27 window.testRunner.notifyDone(); 28 }, 100); 29 </script> -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r215181 r215222 614 614 webkit.org/b/168065 inspector/unit-tests/heap-snapshot.html [ Pass Failure Timeout ] 615 615 616 webkit.org/b/167538 [ Sierra ] fast/css-grid-layout/grid-simplified-layout-positioned.html [ Pass ImageOnlyFailure ]617 618 616 webkit.org/b/168235 [ Debug ] imported/w3c/web-platform-tests/html/semantics/text-level-semantics/the-a-element/a-download-click.html [ Pass Failure ] 619 617
Note: See TracChangeset
for help on using the changeset viewer.