Rules for :focus-within CSS selector doesn't apply if focus is applied with the Element state tool
Reported by
trondkje...@appear.in,
Sep 12 2017
|
|
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.71 Safari/537.36 Steps to reproduce the problem: 1. Create an <input> element inside a wrapper <div> 2. Add a div:focus-within CSS-rule 3. Use Dev Tools to manually set focus to the input element What is the expected behavior? The :focus-within CSS rule should apply What went wrong? The :focus-within CSS rule doesn't apply. Did this work before? No Chrome version: 61.0.3163.71 Channel: n/a OS Version: OS X 10.12.6 Flash Version: http://jsbin.com/yasitavabe/1/edit?html,css,output |
|
►
Sign in to add a comment |
|
Comment 1 by ligim...@chromium.org
, Sep 12 2017