mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision cd44958a002b1ad494168e0290554644de84526e
This commit is contained in:
parent
2ed23ce4c9
commit
4443426308
103 changed files with 1740 additions and 1138 deletions
22
tests/wpt/web-platform-tests/svg/interact/inheritance.svg
Normal file
22
tests/wpt/web-platform-tests/svg/interact/inheritance.svg
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?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="8000px">
|
||||
<title>Inheritance of pointer-events</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="https://svgwg.org/svg2-draft/interact.html#PointerEventsProperty"/>
|
||||
<h:meta name="assert" content="pointer-events inherits according to the spec."/>
|
||||
<h:meta name="assert" content="pointer-events has initial value auto."/>
|
||||
</metadata>
|
||||
<g id="container">
|
||||
<g id="target"></g>
|
||||
</g>
|
||||
<h:script src="/resources/testharness.js"/>
|
||||
<h:script src="/resources/testharnessreport.js"/>
|
||||
<h:script src="/css/support/inheritance-testcommon.js"/>
|
||||
<script><![CDATA[
|
||||
|
||||
assert_inherited('pointer-events', 'auto', 'none');
|
||||
|
||||
]]></script>
|
||||
</svg>
|
After Width: | Height: | Size: 799 B |
|
@ -0,0 +1,21 @@
|
|||
<?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="8000px">
|
||||
<title>SVG Scripting and Interactivity: parsing pointer-events with invalid values</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="https://svgwg.org/svg2-draft/interact.html#PointerEventsProperty"/>
|
||||
<h:meta name="assert" content="pointer-events supports only the grammar 'auto | bounding-box | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | none'."/>
|
||||
</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("pointer-events", "markers");
|
||||
test_invalid_value("pointer-events", "0");
|
||||
test_invalid_value("pointer-events", "visiblePainted visibleFill");
|
||||
|
||||
]]></script>
|
||||
</svg>
|
After Width: | Height: | Size: 953 B |
|
@ -0,0 +1,29 @@
|
|||
<?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="8000px">
|
||||
<title>SVG Scripting and Interactivity: parsing pointer-events with valid values</title>
|
||||
<metadata>
|
||||
<h:link rel="help" href="https://svgwg.org/svg2-draft/interact.html#PointerEventsProperty"/>
|
||||
<h:meta name="assert" content="pointer-events supports the full grammar 'auto | bounding-box | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | none'."/>
|
||||
</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("pointer-events", "auto");
|
||||
test_valid_value("pointer-events", "bounding-box");
|
||||
test_valid_value("pointer-events", "visiblePainted");
|
||||
test_valid_value("pointer-events", "visibleFill");
|
||||
test_valid_value("pointer-events", "visibleStroke");
|
||||
test_valid_value("pointer-events", "visible");
|
||||
test_valid_value("pointer-events", "painted");
|
||||
test_valid_value("pointer-events", "fill");
|
||||
test_valid_value("pointer-events", "stroke");
|
||||
test_valid_value("pointer-events", "all");
|
||||
test_valid_value("pointer-events", "none");
|
||||
|
||||
]]></script>
|
||||
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
Loading…
Add table
Add a link
Reference in a new issue