-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore font-feature-settings in autofill preview state
Fixed: 1378719 Change-Id: If569345ad861dd5c0f9aaabae34a72121648391b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4012999 Reviewed-by: Mason Freed <masonf@chromium.org> Auto-Submit: Dominic Battré <battre@chromium.org> Commit-Queue: Dominic Battré <battre@chromium.org> Cr-Commit-Position: refs/heads/main@{#1069096}
- Loading branch information
Dominic Battre
authored and
Chromium LUCI CQ
committed
Nov 9, 2022
1 parent
a5e4856
commit c27ecc5
Showing
3 changed files
with
24 additions
and
3 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
6 changes: 6 additions & 0 deletions
6
...ts/fast/forms/text/input-appearance-autofill-ignoring-font-feature-settings-expected.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!DOCTYPE html> | ||
<input id="input" style="width: 99px;" > | ||
<script> | ||
internals.setSuggestedValue(input, 'Hello'); | ||
internals.setAutofilled(input, true); | ||
</script> |
12 changes: 12 additions & 0 deletions
12
...k/web_tests/fast/forms/text/input-appearance-autofill-ignoring-font-feature-settings.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<style> | ||
/* These should be ignored when in autofilled state. */ | ||
input { | ||
font-feature-settings: "case", "ss01", "ss02", "ss03"; | ||
} | ||
</style> | ||
<input id="input" style="width: 99px;" > | ||
<script> | ||
internals.setSuggestedValue(input, 'Hello'); | ||
internals.setAutofilled(input, true); | ||
</script> |