dymokomi/luce-browser-engine
Source of release 0.6.0
0.6.0 / tests / libweb / Layout / input / svg / foreignObject-and-mask-with-different-viewbox.html
<!doctype html><style>
* { outline: 1px solid black; }
#lol {
width: 100px;
height: 100px;
background: orange;
}
</style><body><svg viewBox="0 0 1 1" style="position:absolute;"><mask id="theMask" maskContentUnits="objectBoundingBox"><circle fill="white" cx="0.5" cy="0.5" r="0.5"></circle></mask></svg><svg width="100" height="100" viewBox="0 0 100 100"><foreignObject x="0" y="0" width="40" height="40" mask="url(#theMask)"><div id="lol"></div></foreignObject></svg>