Re: [selectors4-tests] [selectors4] Add test for `focus` and `:focus-within` after `display: none` (#5685)

I've been doing some changes here.

This patch now adds 2 new tests:
* `focus-display-none-001.html`
* `focus-within-display-none-001.html`
    
And also modifies and old test `focus-within-009.html`. This test was checking that after `display: none` the element was still focused. It was passing in Chrome just by chance, as the focus removal is done asynchronously. It seems better to remove those cases from this test, as now we've explicit tests to check `display: none` behavior.


View on GitHub: https://github.com/w3c/web-platform-tests/pull/5685#issuecomment-297259299

Received on Wednesday, 26 April 2017 07:04:49 UTC