Update web-platform-tests to revision 84af6c875d378944b39d895acdcfc170736b2d3d
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<title>foreignObject overflow</title>
|
||||
<svg width="400" height="400">
|
||||
<foreignObject x="100" y="100" style="overflow: visible" width="250" height="250" font-size="16px">
|
||||
<div style="width:100px;height:100px;background:yellow;border:1px solid red">
|
||||
<div style="position:absolute;top:20px;left:30px;width:20px;height:20px;background:navy"></div>
|
||||
Should show all the text
|
||||
</div>
|
||||
</foreignObject>
|
||||
</svg>
|
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<title>foreignObject overflow</title>
|
||||
<link rel="match" href="foreignObject-overflow-ref.html">
|
||||
<svg width="400" height="400">
|
||||
<foreignObject x="100" y="100" style="overflow: visible" width="2" height="2" font-size="16px">
|
||||
<div style="width:100px;height:100px;background:yellow;border:1px solid red">
|
||||
<div style="position:absolute;top:20px;left:30px;width:20px;height:20px;background:navy"></div>
|
||||
Should show all the text
|
||||
</div>
|
||||
</foreignObject>
|
||||
</svg>
|
|
@ -32,7 +32,6 @@ assert_inherited('marker-mid', 'none', 'url("https://example/com/diagram.svg#mar
|
|||
assert_inherited('marker-end', 'none', 'url("https://example/com/diagram.svg#marker")');
|
||||
assert_inherited('paint-order', 'normal', 'markers stroke');
|
||||
assert_inherited('color-interpolation', 'srgb', 'linearrgb');
|
||||
assert_inherited('color-rendering', 'auto', 'optimizespeed');
|
||||
assert_inherited('shape-rendering', 'auto', 'optimizespeed');
|
||||
assert_inherited('text-rendering', 'auto', 'optimizespeed');
|
||||
assert_inherited('image-rendering', 'auto', 'optimizequality');
|
||||
|
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:h="http://www.w3.org/1999/xhtml"
|
||||
width="800px" height="800px">
|
||||
<title>SVG Painting: getComputedValue().colorRendering</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="https://svgwg.org/svg2-draft/painting.html#ColorRenderingProperty"/>
|
||||
<h:meta name="assert" content="color-rendering computed value is as specified."/>
|
||||
</metadata>
|
||||
<g id="target"></g>
|
||||
<h:script src="/resources/testharness.js"/>
|
||||
<h:script src="/resources/testharnessreport.js"/>
|
||||
<h:script src="/css/support/computed-testcommon.js"/>
|
||||
<script><![CDATA[
|
||||
|
||||
test_computed_value("color-rendering", "auto");
|
||||
test_computed_value("color-rendering", "optimizespeed");
|
||||
test_computed_value("color-rendering", "optimizequality");
|
||||
|
||||
]]></script>
|
||||
</svg>
|
Before Width: | Height: | Size: 818 B |
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:h="http://www.w3.org/1999/xhtml"
|
||||
width="800px" height="800px">
|
||||
<title>SVG Painting: parsing color-rendering with invalid values</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="https://svgwg.org/svg2-draft/painting.html#ColorRenderingProperty"/>
|
||||
<h:meta name="assert" content="color-rendering supports only the grammar 'auto | optimizeSpeed | optimizeQuality'."/>
|
||||
</metadata>
|
||||
<g id="target"></g>
|
||||
<h:script src="/resources/testharness.js"/>
|
||||
<h:script src="/resources/testharnessreport.js"/>
|
||||
<h:script src="/css/support/parsing-testcommon.js"/>
|
||||
<script><![CDATA[
|
||||
|
||||
test_invalid_value("color-rendering", "optimizelegibility");
|
||||
test_invalid_value("color-rendering", "auto optimizespeed");
|
||||
|
||||
]]></script>
|
||||
</svg>
|
Before Width: | Height: | Size: 821 B |
|
@ -1,21 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:h="http://www.w3.org/1999/xhtml"
|
||||
width="800px" height="800px">
|
||||
<title>SVG Painting: parsing color-rendering with valid values</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="https://svgwg.org/svg2-draft/painting.html#ColorRenderingProperty"/>
|
||||
<h:meta name="assert" content="color-rendering supports the full grammar 'auto | optimizeSpeed | optimizeQuality'."/>
|
||||
</metadata>
|
||||
<g id="target"></g>
|
||||
<h:script src="/resources/testharness.js"/>
|
||||
<h:script src="/resources/testharnessreport.js"/>
|
||||
<h:script src="/css/support/parsing-testcommon.js"/>
|
||||
<script><![CDATA[
|
||||
|
||||
test_valid_value("color-rendering", "auto");
|
||||
test_valid_value("color-rendering", "optimizespeed");
|
||||
test_valid_value("color-rendering", "optimizequality");
|
||||
|
||||
]]></script>
|
||||
</svg>
|
Before Width: | Height: | Size: 852 B |
|
@ -20,7 +20,6 @@
|
|||
"clip-rule",
|
||||
"color",
|
||||
"color-interpolation",
|
||||
"color-rendering",
|
||||
"cursor",
|
||||
"direction",
|
||||
"display",
|
||||
|
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |