mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-23 08:57:34 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
27
layout/reftests/svg/viewBox-valid-02.xhtml
Normal file
27
layout/reftests/svg/viewBox-valid-02.xhtml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Test viewBox translating out-of-viewport rect into viewport</title>
|
||||
<!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=773450 -->
|
||||
<style>
|
||||
|
||||
div, svg {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body bgcolor="lime">
|
||||
<div style="background:red;"/>
|
||||
<svg viewBox="100 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="100" y="0" width="100" height="100" fill="lime"/>
|
||||
</svg>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue