Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTMLQuoteElement quote delimiters should be based on lang of parent
Following the resolution of WHATWG HTML standard [1] and existing CSS issue [2], it has been decided that the auto (default) lang for <q> element should be based on the parent language, and not the language of the element itself. This CL makes sure to skip reading the lang attribute for <q>. Instead, its locale is calculated in CollectExtraStyleForPresentationAttribute(), using the parent's locale. [1] whatwg/html#3636 [2] w3c/csswg-drafts#5478 Change-Id: Ief17dd1e7f5a40112899ce898fa672a6fef6e834 Fixed: 1290851 Bug: 753671 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3704149 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Di Zhang <dizhangg@chromium.org> Cr-Commit-Position: refs/heads/main@{#1016481}
- Loading branch information