-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed purely physical mapping bug for vertical text and decorations.
This fix was achieved by replacing `DrawLooper` with a filter and implementing the translation of the shadow offset using the value of writing mode. Additionally, this CL is a portion of the fix discussed in a previous CL regarding text-shadow (please refer to the discussion at https://chromium-review.googlesource.com/c/chromium/src/+/5380302). Therefore, a fix for the painting order of text and decoration shadows will follow. Bug: 40829719 Change-Id: I9186e1673d14ba419a791efb09060c6f876d5b8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5484626 Reviewed-by: Fredrik Söderquist <fs@opera.com> Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/main@{#1398959}
- Loading branch information
1 parent
87fa635
commit b9af994
Showing
14 changed files
with
14 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<!DOCTYPE HTML> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-shadow-property"> | ||
<meta name="fuzzy" content="0-100;0-180"> | ||
<link rel="match" href="basic-negcoord-ref.html"> | ||
<div style="position: absolute; top: 24px; left: 24px; color: black; text-shadow: green -4px -4px;">Hello</div> | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-shadow-property"> | ||
<link rel="match" href="basic-opacity-ref.html"> | ||
<meta name="fuzzy" content="0-30;0-210"> | ||
<div style="position: absolute; top: 30px; left: 30px; color: green; text-shadow: rgba(0, 0, 255, 0.2) 3px 3px;">Hello</div> |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-shadow-property"> | ||
<link rel="match" href="basic-ref.html"> | ||
<meta name="fuzzy" content="0-70;0-560"> | ||
<div style="position: absolute; top: 30px; left: 30px; color: green; text-shadow: grey 3px 3px;">Hello</div> |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
<!DOCTYPE HTML> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-shadow-property"> | ||
<link rel="match" href="color-inherit-ref.html"> | ||
<meta name="fuzzy" content="0-100;0-170"> | ||
<div style="position: absolute; top: 24px; left: 24px; color: blue; text-shadow: 3px 3px;">Hello</div> | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-shadow-property"> | ||
<link rel="match" href="multiple-noblur-ref.html"> | ||
<meta name="fuzzy" content="0-140;0-480"> | ||
<div style="position: absolute; top: 20px; left: 20px; color: black; text-shadow: purple 4px 4px, red 7px 7px, green 10px 10px, grey 13px 13px;">Hello</div> |
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