[Webkit-unassigned] [Bug 279219] New: text-emphasis-position overlapping ruby suppression broken for ruby-position: under / -webkit-ruby-position: after
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 5 13:13:44 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=279219
Bug ID: 279219
Summary: text-emphasis-position overlapping ruby suppression
broken for ruby-position: under /
-webkit-ruby-position: after
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
URL: https://software.hixie.ch/utilities/js/live-dom-viewer
/?%3C!DOCTYPE%20html%3E%0A%3Chtml%20style%3D%22writing
-mode%3A%20vertical-rl%22%3E%0A%3Cstyle%3Ep%20%7B%20te
xt-emphasis%3A%20dot%3B%20%7D%3C%2Fstyle%3E%0A%3Cp%20s
tyle%3D%22text-emphasis-position%3A%20over%20left%22%3
E%3Cruby%3Eleft%20dots%3Crt%3Eruby%3C%2Frt%3E%3C%2Frub
y%3E%0A%3Cp%20style%3D%22text-emphasis-position%3A%20r
ight%20over%22%3E%3Cruby%3Eright%20dots%3Crt%3Eruby%3C
%2Frt%3E%3C%2Fruby%3E%0A%3Cp%20style%3D%22text-emphasi
s-position%3A%20left%20over%22%3E%3Cruby%20style%3D%22
-webkit-ruby-position%3A%20after%22%3Eleft%20dots%3Crt
%3Eruby%3C%2Frt%3E%3C%2Fruby%3E%0A%3Cp%20style%3D%22te
xt-emphasis-position%3A%20over%20right%22%3E%3Cruby%20
style%3D%22-webkit-ruby-position%3A%20after%22%3Eright
%20dots%3Crt%3Eruby%3C%2Frt%3E%3C%2Fruby%3E%0A
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fantasai.bugs at inkedblade.net
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
The code for checking if text-emphasis dots will overlap ruby doesn't check ruby-position, resulting in
- disappearing the emphasis dots when unnecessary
- overlapping dots and annotations when they're both on the under side
See testcase: https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Chtml%20style%3D%22writing-mode%3A%20vertical-rl%22%3E%0A%3Cstyle%3Ep%20%7B%20text-emphasis%3A%20dot%3B%20%7D%3C%2Fstyle%3E%0A%3Cp%20style%3D%22text-emphasis-position%3A%20over%20left%22%3E%3Cruby%3Eleft%20dots%3Crt%3Eruby%3C%2Frt%3E%3C%2Fruby%3E%0A%3Cp%20style%3D%22text-emphasis-position%3A%20right%20over%22%3E%3Cruby%3Eright%20dots%3Crt%3Eruby%3C%2Frt%3E%3C%2Fruby%3E%0A%3Cp%20style%3D%22text-emphasis-position%3A%20left%20over%22%3E%3Cruby%20style%3D%22-webkit-ruby-position%3A%20after%3B%20ruby-position%3A%20under%22%3Eleft%20dots%3Crt%3Eruby%3C%2Frt%3E%3C%2Fruby%3E%0A%3Cp%20style%3D%22text-emphasis-position%3A%20over%20right%22%3E%3Cruby%20style%3D%22-webkit-ruby-position%3A%20after%3B%20ruby-position%3A%20under%22%3Eright%20dots%3Crt%3Eruby%3C%2Frt%3E%3C%2Fruby%3E%0A
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240905/6f6f873e/attachment.htm>
More information about the webkit-unassigned
mailing list