Skip to content

Commit

Permalink
Remove "interact" flags for tests that can be run automatically
Browse files Browse the repository at this point in the history
There were a bunch of tests that have both a reference file and
the "interact" flag.
They use some small JavaScript to execute some steps
before checking the output against reference file.
This caused them to be wrongly considered manual tests
when they can be run automatically.

For more info check w3c/wpt-tools#196 and w3c/wpt-tools#197.
  • Loading branch information
mrego committed Apr 5, 2017
1 parent 5ad0f83 commit 8436dcb
Show file tree
Hide file tree
Showing 32 changed files with 25 additions and 35 deletions.
2 changes: 1 addition & 1 deletion css/CSS2/backgrounds/background-root-012.xht
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background"/>
<link rel="match" href="background-root-012-ref.xht" />

<meta name="flags" content="image interact"/>
<meta name="flags" content="image"/>
<style type="text/css"><![CDATA[
body { border: solid lime; background: green url(support/square-purple.png) no-repeat 50% 50%; color: white; }
html { border: solid blue; background: transparent; color: yellow; }
Expand Down
2 changes: 1 addition & 1 deletion css/CSS2/backgrounds/background-root-013.xht
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/10.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background"/>
<link rel="match" href="background-root-013-ref.xht" />
<meta name="flags" content="image interact"/>
<meta name="flags" content="image"/>

<style type="text/css"><![CDATA[
body { border: solid lime; background: green url(support/square-purple.png) no-repeat 50% 50%; color: white; }
Expand Down
2 changes: 1 addition & 1 deletion css/CSS2/backgrounds/background-root-014.xht
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/11.html" type="text/html"/>
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background"/>
<link rel="match" href="background-root-014-ref.xht" />
<meta name="flags" content="image interact"/>
<meta name="flags" content="image"/>
<style type="text/css"><![CDATA[
body { border: solid lime; background: green url(support/square-purple.png) fixed no-repeat 50% 50%; color: white; }
html { border: solid blue; background: navy; color: yellow; }
Expand Down
1 change: 0 additions & 1 deletion css/CSS2/backgrounds/background-root-017.xht
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background"/>
<link rel="match" href="background-root-017-ref.xht" />

<meta name="flags" content="interact"/>
<style type="text/css"><![CDATA[
body { border: solid lime; background: green; color: white; }
html { border: solid blue; background: navy; color: yellow; }
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-001.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on
elements that get flowed in a region does not affect their rendering in the regions. Also,
such elements should be editable just as they are outside of the region.">
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-002.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on
elements that get flowed in a region does not affect their rendering in the regions. Also,
such elements should be editable just as they are outside of the region, even if they are
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-003.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on the
parent of an element that gets flowed in a region does not affect its rendering in the regions.
Also, the element should be editable outside and inside the region without differences.">
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-004.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that flowing both and element and one of its
children in a region, when said element has the contentEditable attribute set does not
affect their rendering in the regions and the ability to edit it.">
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-005.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on
elements that get flowed in a region does not affect their rendering and the ability to edit
them even when they get fragmented in multiple regions.">
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-006.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on
elements that get flowed in a region does not affect their rendering in the regions. Also,
if the region uses height:auto, the size of the region should change as the content flowed
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-007.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on
an element does not interfere with its children being dinamically flowed into a region.">
<link rel="match" href="reference/contentEditable-007-ref.html">
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-008.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on
a region (an element that has flow-from set) does not prevent the element to becoming a region,
nor does attempting to interactively edit it produces unexpected results.">
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-009.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on a
child of a region (an element that has flow-from set) does not prevent the parent element to
becoming a region, nor does attempting to interactively edit it produces unexpected results.">
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-010.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on an
auto-sized region (an element that has flow-from set) does not prevent it to becoming a region,
nor does attempting to interactively edit it produces unexpected results.">
Expand Down
2 changes: 1 addition & 1 deletion css/css-regions-1/contentEditable/contentEditable-011.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
<link rel="help" href="http://www.w3.org/TR/html5/editing.html#contenteditable">
<meta name="flags" content="dom interact">
<meta name="flags" content="dom">
<meta name="assert" content="Test checks that setting the contentEditable attribute on both
named flow content (an element that has flow-into set) and the region (an element that has
flow-from set) does not prevent the region to properly flowing the content, while the content
Expand Down
4 changes: 2 additions & 2 deletions css/css-writing-modes-3/background-position-vrl-018.xht
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#physical-only" title="7.6 Purely Physical Mappings" />
<link rel="match" href="background-position-vrl-018-ref.xht" />

<meta content="image interact" name="flags" />
<meta content="image" name="flags" />
<meta content="This test checks that 'background-position: left top' will make background-image start at left side of document root element (even in case there is resizing of the window) because background properties should not be affected by vertical writing-mode." name="assert" />

<style type="text/css"><![CDATA[
Expand Down Expand Up @@ -64,4 +64,4 @@
<div id="reference-overlapping-green"></div>

</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes-3/background-position-vrl-020.xht
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#physical-only" title="7.6 Purely Physical Mappings" />
<link rel="match" href="background-position-vrl-018-ref.xht" />

<meta content="image interact" name="flags" />
<meta content="image" name="flags" />
<meta content="This test checks that 'background-position: left center' will make background-image start at left side of document root element (even in case there is resizing of the window) because background properties should not be affected by vertical writing-mode." name="assert" />

<style type="text/css"><![CDATA[
Expand Down Expand Up @@ -64,4 +64,4 @@
<div id="reference-overlapping-green"></div>

</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes-3/background-position-vrl-022.xht
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#physical-only" title="7.6 Purely Physical Mappings" />
<link rel="match" href="background-position-vrl-018-ref.xht" />

<meta content="image interact" name="flags" />
<meta content="image" name="flags" />
<meta content="This test checks that 'background-position: left bottom' will make background-image start at left side of document root element (even in case there is resizing of the window) because background properties should not be affected by vertical writing-mode." name="assert" />

<style type="text/css"><![CDATA[
Expand Down Expand Up @@ -64,4 +64,4 @@
<div id="reference-overlapping-green"></div>

</body>
</html>
</html>
1 change: 0 additions & 1 deletion css/selectors4/focus-within-001.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-001-ref.html">
<meta name="flags" content="interact">
<meta name="assert" content="Test that :focus-within applies to an element with tabindex when :focus applies.">
<style>
/* Suppress things that cannot be reproduced in the reference file */
Expand Down
1 change: 0 additions & 1 deletion css/selectors4/focus-within-002.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-001-ref.html">
<meta name="flags" content="interact">
<meta name="assert" content="Test that :focus-within applies to the parent of an element with tabindex where :focus applies.">
<style>
/* Suppress things that cannot be reproduced in the reference file */
Expand Down
1 change: 0 additions & 1 deletion css/selectors4/focus-within-003.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-001-ref.html">
<meta name="flags" content="interact">
<meta name="assert" content="Test that :focus-within applies to ancestors of an element with tabindex where :focus applies.">
<style>
/* Suppress things that cannot be reproduced in the reference file */
Expand Down
1 change: 0 additions & 1 deletion css/selectors4/focus-within-004.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-001-ref.html">
<meta name="flags" content="interact">
<meta name="assert" content="Test that :focus-within works on elements that are focusable due to contenteditable.">
<style>
/* Suppress things that cannot be reproduced in the reference file */
Expand Down
1 change: 0 additions & 1 deletion css/selectors4/focus-within-005.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-001-ref.html">
<meta name="flags" content="interact">
<meta name="assert" content="Test that :focus-within works on links.">
<style>
/* Suppress things that cannot be reproduced in the reference file */
Expand Down
1 change: 0 additions & 1 deletion css/selectors4/focus-within-006.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-001-ref.html">
<meta name="flags" content="interact">
<meta name="assert" content="Test that :focus-within works on form controls, using an input element.">
<style>
/* Suppress things that cannot be reproduced in the reference file */
Expand Down
2 changes: 1 addition & 1 deletion css/selectors4/focus-within-shadow-001.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-shadow-001-ref.html">
<meta name="flags" content="interact dom">
<meta name="flags" content="dom">
<meta name="assert" content="Test that :focus-within applies to a focused element inside the shadow DOM.">
<body>
<p>Test passes if there is a green rectangle below.</p>
Expand Down
2 changes: 1 addition & 1 deletion css/selectors4/focus-within-shadow-002.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-shadow-001-ref.html">
<meta name="flags" content="interact dom">
<meta name="flags" content="dom">
<meta name="assert" content="Test that :focus-within applies to a shadow host containing a focused element.">
<style>
div:focus-within {
Expand Down
2 changes: 1 addition & 1 deletion css/selectors4/focus-within-shadow-003.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-shadow-001-ref.html">
<meta name="flags" content="interact dom">
<meta name="flags" content="dom">
<meta name="assert" content="Test that :focus-within applies to the parent of a shadow host containing a focused element.">
<style>
#target:focus-within {
Expand Down
2 changes: 1 addition & 1 deletion css/selectors4/focus-within-shadow-004.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Florian Rivoal" href="mailto:florian@rivoal.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-shadow-001-ref.html">
<meta name="flags" content="interact dom">
<meta name="flags" content="dom">
<meta name="assert" content="Test that :focus-within applies to an ancestor of a shadow host containing a focused element.">
<style>
#target:focus-within {
Expand Down
2 changes: 1 addition & 1 deletion css/selectors4/focus-within-shadow-005.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Keyong Li" href="mailto:kli79@bloomberg.net">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<link rel="match" href="focus-within-shadow-001-ref.html">
<meta name="flags" content="interact dom">
<meta name="flags" content="dom">
<meta name="assert" content="Test that :focus-within propagates through nested shadow DOMs containing a focused element.">
<style>
#target:focus-within {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<meta name="assert" content="Test checks :focus-within works after focus change">
<link rel="match" href="focus-within-1-ref.html">
<meta name="flags" content="interact">
<style type="text/css">
div {
border: solid 15px blue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<meta name="assert" content="Test checks :focus-within should not apply after element removed.">
<link rel="match" href="focus-within-2-ref.html">
<meta name="flags" content="interact">
<style type="text/css">
div {
border: solid 15px green;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<link rel="help" href="https://drafts.csswg.org/selectors-4/#focus-within-pseudo">
<meta name="assert" content="Test checks :focus-within should not work for iframe">
<link rel="match" href="focus-within-3-ref.html">
<meta name="flags" content="interact">
<style type="text/css">
div:focus-within {
border: solid 15px red;
Expand Down

0 comments on commit 8436dcb

Please sign in to comment.