Bug 1973726 - Set DOM file path for webkitRelativePath. r=sefeng,geckoview-reviewers,webidl,smaug,ohall
Actually, there is no way to set webkitRelativePath from JavaScript.
Since GeckoView's folder picker handles virtual file data, we need to
set relative path from JavaScript directly.
A content URI of System storage document provider only allow file data
access from file/folder picker, so there is no way to test it on
geckoivew-junit.
Also, after landing bug 1591640, GVE always crash when using folder
picker. So this includes a fix for it.
Differential Revision: https://phabricator.services.mozilla.com/D255615
<!DOCTYPE html><metacharset="utf-8"><title>background-clip: text shows text decorations</title><linkrel="match"href="clip-text-text-decorations-ref.html"><linkrel="help"href="https://drafts.csswg.org/css-backgrounds-4/#valdef-background-clip-text"><style>.test{line-height:2em;font-size:40px;color:transparent;background-color:green;background-clip:text;text-decoration-thickness:20px;}</style><body><divclass="test"style="text-decoration: underline">AAAA</div><divclass="test"style="text-decoration: line-through">AAAA</div><divclass="test"style="text-decoration: overline">AAAA</div></body>