-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Outline] Incorrect inline box (hugging) outline painting in vertical…
… writing modes https://bugs.webkit.org/show_bug.cgi?id=266914 Reviewed by Antti Koivisto. * LayoutTests/fast/inline/hidpi-outline-inline-box-writing-modes-expected.html: Added. * LayoutTests/fast/inline/hidpi-outline-inline-box-writing-modes.html: Added. * LayoutTests/fast/writing-mode/basic-vertical-line.html: * Source/WebCore/rendering/RenderInline.cpp: (WebCore::RenderInline::paintOutline): Canonical link: https://commits.webkit.org/272512@main
- Loading branch information
1 parent
9573b65
commit 7de3491
Showing
3 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
LayoutTests/fast/inline/hidpi-outline-inline-box-writing-modes-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,21 @@ | ||
<style> | ||
div { | ||
font-family: Ahem; | ||
font-size: 20px; | ||
color: transparent; | ||
width: 60px; | ||
margin-top: 10px; | ||
white-space: pre; | ||
} | ||
span { | ||
outline: 1px solid green; | ||
} | ||
</style> | ||
<div><span>XXX<br>X</span></div> | ||
<div style="transform: scaleX(-1);"><span>XXX<br>X</span></div> | ||
<div><span>XX<br>X<br>X</span></div> | ||
<div style="transform: scaleX(-1);"><span>XX<br>X<br>X</span></div> | ||
<div style="transform: scaleX(-1) scaleY(-1);"><span>XX<br>X<br>X</span></div> | ||
<div><span>X<br>X<br>XX</span></div> | ||
<div style="transform: translateX(10px)"><span>X<br>X<br>XX</span></div> | ||
<div style="transform: translateX(10px)"><span>X<br>X<br>XX</span></div> |
20 changes: 20 additions & 0 deletions
20
LayoutTests/fast/inline/hidpi-outline-inline-box-writing-modes.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,20 @@ | ||
<style> | ||
div { | ||
font-family: Ahem; | ||
font-size: 20px; | ||
color: transparent; | ||
width: 60px; | ||
margin-top: 10px; | ||
} | ||
span { | ||
outline: 1px solid green; | ||
} | ||
</style> | ||
<div><span>XXX<br>X</span></div> | ||
<div style="direction: rtl"><span>XXX<br>X</span></div> | ||
<div style="writing-mode: vertical-lr"><span>XXX<br>X</span></div> | ||
<div style="writing-mode: vertical-rl"><span>XXX<br>X</span></div> | ||
<div style="writing-mode: vertical-rl; direction: rtl"><span>XXX<br>X</span></div> | ||
<div style="writing-mode: vertical-lr; direction: rtl"><span>XXX<br>X</span></div> | ||
<div style="padding-left: 10px; writing-mode: vertical-lr; direction: rtl"><span>XXX<br>X</span></div> | ||
<div style="border-left: 10px solid transparent; writing-mode: vertical-lr; direction: rtl"><span>XXX<br>X</span></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