-
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.
Modify ComputeStyle of <select>'s UA shadow outside style recalc
We attempted to remove SetModifiedStyleOutsideStyleRecalc in crrev.com/c/3620574, but for now it's still needed for <select>'s UA shadow. (cherry picked from commit 557c06b) Bug: 1329417 Change-Id: Ia7051b66ed314d0660e526f751d27f6bcc96dfa2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3669113 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1008252} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3678266 Auto-Submit: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#403} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information
Showing
5 changed files
with
33 additions
and
7 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
19 changes: 19 additions & 0 deletions
19
...nk/web_tests/external/wpt/css/css-writing-modes/crashtests/unicode-bidi-select-crash.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,19 @@ | ||
<!DOCTYPE html> | ||
<link rel="help" href="https://crbug.com/1329417"> | ||
<style> | ||
select { | ||
unicode-bidi: bidi-override; | ||
} | ||
</style> | ||
<body> | ||
<select> | ||
<option>Test1</option> | ||
<option id="opt" hidden="hidden">Test2</option> | ||
</select> | ||
</body> | ||
<script> | ||
document.body.offsetTop; | ||
opt.defaultSelected = true; | ||
window.getSelection().selectAllChildren(document.body); | ||
document.vlinkColor = "red"; | ||
</script> |