Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement updated HTML language inheritance rules.
This makes two changes to match the HTML spec: * only honor the unnamespaced lang attribute on HTML and SVG elements * have <slot> elements in a shadow tree inherit language from the shadow host Note that an update to the HTML specification regarding the SVG elements case is proposed in whatwg/html#9882, but https://www.w3.org/TR/SVG/struct.html#LangAttribute already defines it. These changes match the related changes to the dir attribute, but use a separate feature flag as a killswitch, since they are separable. Fixed: 1490711 Bug: 576815 Change-Id: I6462181e6d4433aa1dcc9a2c42e5c12754830e52
- Loading branch information