Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dir=auto traversal to not apply element-only rules to ancestors
This fixes Chromium code to match half of the spec update in whatwg/html#10488 and whatwg/html#10561 . I previously thought the code was fine, but I realize a small update is needed. In particular, the code could apply element-only rules for dir=auto to elements (in particular, button-type inputs) that are auto-directionality form-associated elements but were not in the list of exclusions. This also fixes the list of exclusions to exclude specifically textarea, so that any actual text content of input elements (but not the value) is traversed as required by the spec. This also removes the no-longer needed is_deferred argument to ResolveAutoDirectionality. Bug: 576815, 352191350 Change-Id: I7c13b9661d23f8904727c8298a8dca6360d6d732
- Loading branch information