Bug 181305
| Summary: | SVG text with filter not painted property when there is a selection and visibility is toggled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | jonlee, sabouhallawa, simon.fraser, zimmermann |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Joseph Pecoraro
SVG text with filter not painted property when there is a selection and visibility is toggled
Steps to Reproduce:
1. Inspect <https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/e43727eb-d265-4aec-9bbe-b803b3c0a367/splash-svg.html>
2. Run the following snippet in the console to toggle the visibility of the text every second (it will blink on and off every second)
setInterval(() => {
let elem = document.querySelector(".filtered");
if (elem.style.visibility === "hidden")
elem.style.visibility = "";
else
elem.style.visibility = "hidden";
}, 1000);
3. Select part of the text, like the "a" in "splash"
=> When the text tries to re-appear nothing is painted but the selection box
Compare to behavior without a selection.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |