-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "HTMLQuoteElement quote delimiters should be based on lang of …
…parent" This reverts commit a60add2. Reason for revert: This CL is modifying the whole <q>'s lang but we only want it to modify the quote delimiters (q:before, q:after) Original change's description: > 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} Bug: 753671 Change-Id: I17d9a8fa3f0d1f2223f3e5b19595f701e7b5d6ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3717880 Reviewed-by: Mason Freed <masonf@chromium.org> Commit-Queue: Joey Arhar <jarhar@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1016912}
- Loading branch information
1 parent
80840d8
commit 296cfd4
Showing
8 changed files
with
300 additions
and
343 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.