Open
Bug 1868009
Opened 2 years ago
Updated 1 month ago
`::selection`, `::target-text`, `::highlight`, `::spelling-error`, `::grammar-error` style doesn't propagate across shadow boundaries
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: 709922234, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:122.0) Gecko/20100101 Firefox/122.0
Steps to reproduce:
- open https://codepen.io/mantou132/pen/mdvQMwz?editors=0110
- select text
Actual results:
text background color not red
Expected results:
text background color is red
Summary: `::selection`, `::target-text` style doesn't propagate across shadow boundaries → `::selection`, `::target-text`, `::highlight` style doesn't propagate across shadow boundaries
Component: DOM: Core & HTML → CSS Parsing and Computation
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Severity: -- → S3
Chrome behavior is now the same as Firefox, maybe the specification is like this
Blocks: css-highlight-api-1
Summary: `::selection`, `::target-text`, `::highlight` style doesn't propagate across shadow boundaries → `::selection`, `::target-text`, `::highlight`, `::spelling-error`, `::grammar-error` style doesn't propagate across shadow boundaries
You need to log in
before you can comment on or make changes to this bug.
Description
•