[css-pseudo] Selectable SVG text (text::selection {fill: green;})
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
People
(Reporter: bugzilla, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: testcase)
Test:
http://www.gtalbot.org/BrowserBugsSection/CSS4Pseudo/active-selection-065.html
Expected result:
http://www.gtalbot.org/BrowserBugsSection/CSS4Pseudo/active-selection-065-ref.html
- Firefox 74.0a1 buildID=20200128214036 fails this test
- Chromium 79.0.3945.130 and Epiphany Technological Preview 3.34.0-32-g514d1bfb6 (WebKitGTK 2.26.1) pass this test
- I searched for duplicate and did not find any
- Linux Debian 10.2, Kernel 4.19.0-7-amd64 here.
Reporter | ||
Comment 1•4 years ago
|
||
Component could be SVG but I do not think so.
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 2•4 years ago
|
||
The code style
text::selection {fill: green;}
does not succeed in Firefox 79.0a1 buildID=20200612094620
http://www.gtalbot.org/BrowserBugsSection/CSS4Pseudo/svg-text-selection-001.html
but the code style
textPath#test::selection {color: green;}
succeeds in Firefox 79.0a1 buildID=20200612094620
http://www.gtalbot.org/BrowserBugsSection/CSS4Pseudo/textpath-selection.svg
Chromium 80.0.3987.162 gets reverse test results.
I am not an expert in SVG.
Comment 3•4 years ago
|
||
I think given the current behavior of browsers in HTML, Firefox's behavior is consistent.
Updated•2 years ago
|
Description
•