Skip to content

Commit

Permalink
Modify ComputeStyle of <select>'s UA shadow outside style recalc
Browse files Browse the repository at this point in the history
We attempted to remove SetModifiedStyleOutsideStyleRecalc in
crrev.com/c/3620574, but for now it's still needed for <select>'s
UA shadow.

Bug: 1329417
Change-Id: Ia7051b66ed314d0660e526f751d27f6bcc96dfa2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3669113
Commit-Queue: Anders Hartvoll Ruud <[email protected]>
Reviewed-by: Rune Lillesveen <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1008252}
  • Loading branch information
andruud authored and chromium-wpt-export-bot committed May 27, 2022
1 parent a301614 commit 8d1a302
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions css/css-writing-modes/crashtests/unicode-bidi-select-crash.html
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>

0 comments on commit 8d1a302

Please sign in to comment.