Navigation Menu

Skip to content

Commit

Permalink
Update web-platform-tests to revision 2d68590d46a990bf28a08d6384a5996…
Browse files Browse the repository at this point in the history
…2d2e56bf6
  • Loading branch information
servo-wpt-sync committed Mar 15, 2019
1 parent bc03d32 commit ad4cc36
Show file tree
Hide file tree
Showing 135 changed files with 1,614 additions and 342 deletions.
511 changes: 413 additions & 98 deletions tests/wpt/metadata/MANIFEST.json

Large diffs are not rendered by default.

@@ -0,0 +1,2 @@
[overflow-wrap-break-word-007.html]
expected: FAIL
@@ -0,0 +1,2 @@
[pre-wrap-008.html]
expected: FAIL

This file was deleted.

@@ -0,0 +1,2 @@
[word-break-break-all-015.html]
expected: FAIL
Expand Up @@ -6,3 +6,6 @@
[Instant scrolling while doing history navigation.]
expected: FAIL

[Smooth scrolling while doing history navigation.]
expected: FAIL

6 changes: 0 additions & 6 deletions tests/wpt/metadata/fetch/content-type/response.window.js.ini
Expand Up @@ -312,9 +312,3 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL

[<iframe>: separate response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL

This file was deleted.

@@ -0,0 +1,2 @@
[self-et-al.window.html]
expected: CRASH
@@ -1,5 +1,5 @@
[name-attribute.window.html]
expected: TIMEOUT
expected: CRASH
[cross-origin <frame name=>]
expected: TIMEOUT

Expand Down

This file was deleted.

@@ -0,0 +1,56 @@
[nested-context-navigations.html]
expected: TIMEOUT
[Test that crossorigin embed navigations are not observable by the parent, even after history navigations by the parent]
expected: NOTRUN

[Test that embed navigations are not observable by the parent, even after history navigations by the parent]
expected: TIMEOUT

[Test that crossorigin iframe refreshes are not observable by the parent]
expected: NOTRUN

[Test that crossorigin object refreshes are not observable by the parent]
expected: NOTRUN

[Test that crossorigin object navigations are not observable by the parent]
expected: NOTRUN

[Test that crossorigin embed refreshes are not observable by the parent]
expected: NOTRUN

[Test that iframe navigations are not observable by the parent, even after history navigations by the parent]
expected: NOTRUN

[Test that object refreshes are not observable by the parent]
expected: NOTRUN

[Test that crossorigin iframe navigations are not observable by the parent, even after history navigations by the parent]
expected: NOTRUN

[Test that object navigations are not observable by the parent, even after history navigations by the parent]
expected: NOTRUN

[Test that iframe navigations are not observable by the parent]
expected: NOTRUN

[Test that embed navigations are not observable by the parent]
expected: NOTRUN

[Test that iframe refreshes are not observable by the parent]
expected: NOTRUN

[Test that crossorigin iframe navigations are not observable by the parent]
expected: NOTRUN

[Test that crossorigin embed navigations are not observable by the parent]
expected: NOTRUN

[Test that object navigations are not observable by the parent]
expected: NOTRUN

[Test that crossorigin object navigations are not observable by the parent, even after history navigations by the parent]
expected: NOTRUN

[Test that embed refreshes are not observable by the parent]
expected: NOTRUN

@@ -1,4 +1,5 @@
[005.html]
expected: ERROR
[dedicated worker in shared worker in dedicated worker]
expected: FAIL

19 changes: 17 additions & 2 deletions tests/wpt/web-platform-tests/.travis.yml
Expand Up @@ -57,11 +57,25 @@ matrix:
packages:
- libnss3-tools
env: JOB=wpt_integration TOXENV=py27 SCRIPT=tools/ci/ci_wpt.sh
addons:
apt:
packages:
- fonts-liberation
- libappindicator1
- libnss3-tools
- pulseaudio
- name: "resources/ tests"
if: type = pull_request
os: linux
python: "2.7"
env: JOB=resources_unittest TOXENV=py27 SCRIPT=tools/ci/ci_resources_unittest.sh
addons:
apt:
packages:
- fonts-liberation
- libappindicator1
- libnss3-tools
- pulseaudio
- name: "infrastructure/ tests"
if: type = pull_request
os: linux
Expand All @@ -70,9 +84,10 @@ matrix:
addons:
apt:
packages:
- libnss3-tools
- libappindicator1
- fonts-liberation
- libappindicator1
- libnss3-tools
- pulseaudio
exclude:
- env: # exclude empty env from the top-level above
allow_failures:
Expand Down
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/2dcontext/META.yml
Expand Up @@ -3,5 +3,4 @@ suggested_reviewers:
- AmeliaBR
- annevk
- kenrussell
- jdashg
- fserb
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/WebIDL/META.yml
@@ -1,6 +1,5 @@
spec: https://heycam.github.io/webidl/
suggested_reviewers:
- domenic
- jensl
- tobie
- yuki3
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/accelerometer/META.yml
@@ -1,7 +1,6 @@
spec: https://w3c.github.io/accelerometer/
suggested_reviewers:
- zqzhang
- dontcallmedom
- riju
- Honry
- rakuco
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/ambient-light/META.yml
@@ -1,7 +1,6 @@
spec: https://w3c.github.io/ambient-light/
suggested_reviewers:
- zqzhang
- dontcallmedom
- riju
- rakuco
- Honry
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/battery-status/META.yml
@@ -1,5 +1,4 @@
spec: https://w3c.github.io/battery/
suggested_reviewers:
- anssiko
- dontcallmedom
- zqzhang
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/bluetooth/META.yml
@@ -1,6 +1,5 @@
spec: https://webbluetoothcg.github.io/web-bluetooth/
suggested_reviewers:
- dougt
- g-ortuno
- odejesush
- reillyeon
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/common/META.yml
@@ -1,5 +1,4 @@
suggested_reviewers:
- zqzhang
- dontcallmedom
- deniak
- gsnedders
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/cookies/META.yml
@@ -1,3 +1,2 @@
suggested_reviewers:
- inikulin
- mikewest
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/CSS2/META.yml
Expand Up @@ -5,4 +5,3 @@ suggested_reviewers:
- svgeesus
- kojiishi
- frivoal
- bert-github
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/WOFF2/META.yml
@@ -1,4 +1,3 @@
spec: https://w3c.github.io/woff/woff2/
suggested_reviewers:
- svgeesus
- rsheeter
2 changes: 0 additions & 2 deletions tests/wpt/web-platform-tests/css/css-backgrounds/META.yml
@@ -1,6 +1,4 @@
spec: https://drafts.csswg.org/css-backgrounds/
suggested_reviewers:
- dbaron
- bert-github
- fantasai
- bradkemper
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/css-color/META.yml
@@ -1,6 +1,5 @@
spec: https://drafts.csswg.org/css-color/
suggested_reviewers:
- dbaron
- tantek
- svgeesus
- tabatkins
2 changes: 0 additions & 2 deletions tests/wpt/web-platform-tests/css/css-display/run-in/META.yml

This file was deleted.

1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/css-exclusions/META.yml
@@ -1,4 +1,3 @@
spec: https://drafts.csswg.org/css-exclusions/
suggested_reviewers:
- atanassov
- astearns
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/css-flexbox/META.yml
Expand Up @@ -4,7 +4,6 @@ suggested_reviewers:
- plinss
- mrego
- cbiesinger
- atanassov
- fantasai
- rachelandrew
- tabatkins
2 changes: 0 additions & 2 deletions tests/wpt/web-platform-tests/css/css-grid/META.yml
Expand Up @@ -2,10 +2,8 @@ spec: https://drafts.csswg.org/css-grid/
suggested_reviewers:
- mrego
- plinss
- jxs
- tabatkins
- fantasai
- atanassov
- javifernandez
- rachelandrew
- svillar
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/css-logical/META.yml
@@ -1,4 +1,3 @@
spec: https://drafts.csswg.org/css-logical/
suggested_reviewers:
- atanassov
- fantasai
2 changes: 1 addition & 1 deletion tests/wpt/web-platform-tests/css/css-position/META.yml
@@ -1,3 +1,3 @@
spec: https://drafts.csswg.org/css-position/
suggested_reviewers:
- atanassov
- astearns
Expand Up @@ -101,6 +101,12 @@
test_computed_value('<length>', '15vmin', length_ref('15vmin'));
test_computed_value('<length>', 'calc(16px - 7em + 10vh)', length_ref('calc(10vh - 54px)'));

test_computed_value('<length>', '1in', '96px');
test_computed_value('<length>', '2.54cm', '96px');
test_computed_value('<length>', '25.4mm', '96px');
test_computed_value('<length>', '6pc', '96px');
test_computed_value('<length>', '72pt', '96px');

test_computed_value('<length-percentage>', '17em', '170px');
test_computed_value('<length-percentage>', '18%', '18%');
test_computed_value('<length-percentage>', 'calc(19em - 2%)', 'calc(-2% + 190px)');
Expand Down
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api/#dom-propertydescriptor-initialvalue" />
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api/#register-a-custom-property" />
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#dom-propertydescriptor-initialvalue" />
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#register-a-custom-property" />
<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1/#substitution" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="./resources/utils.js"></script>
Expand All @@ -17,6 +18,12 @@
}

test_initial_value({ syntax: '<length>', initialValue: 'calc(10px + 15px)' }, '25px');
test_initial_value({ syntax: '<length>', initialValue: '1in' }, '96px');
test_initial_value({ syntax: '<length>', initialValue: '2.54cm' }, '96px');
test_initial_value({ syntax: '<length>', initialValue: '25.4mm' }, '96px');
test_initial_value({ syntax: '<length>', initialValue: '6pc' }, '96px');
test_initial_value({ syntax: '<length>', initialValue: '72pt' }, '96px');
test_initial_value({ syntax: '<percentage>', initialValue: 'calc(10% + 20%)' }, '30%');
test_initial_value({ syntax: '<length-percentage>', initialValue: 'calc(1in + 10% + 4px)' }, 'calc(10% + 100px)');
test_initial_value({ syntax: '<color>', initialValue: 'pink', inherits: true }, 'rgb(255, 192, 203)');
test_initial_value({ syntax: '<color>', initialValue: 'purple' }, 'rgb(128, 0, 128)');
Expand All @@ -42,4 +49,19 @@
test_substituted_value({ syntax: '<color>', initialValue: 'purple', inherits: true }, 'color', 'rgb(128, 0, 128)');
test_substituted_value({ syntax: '<color>', initialValue: 'pink' }, 'background-color', 'rgb(255, 192, 203)');

// Registered properties shall substitute as a token sequence equivalent to
// their computed value.
test_substituted_value({ syntax: 'foo', initialValue: '\tfoo\t' }, '--x', 'foo');
test_substituted_value({ syntax: '<angle>', initialValue: '\t1turn' }, '--x', '360deg');
test_substituted_value({ syntax: '<color>', initialValue: ' pink ' }, '--x', 'rgb(255, 192, 203)');
test_substituted_value({ syntax: '<custom-ident>', initialValue: '\ttest' }, '--x', 'test');
test_substituted_value({ syntax: '<integer>', initialValue: 'calc(20 + 20 + 10)' }, '--x', '50');
test_substituted_value({ syntax: '<length-percentage>', initialValue: '\tcalc(13% + 37px)' }, '--x', 'calc(13% + 37px)');
test_substituted_value({ syntax: '<length>', initialValue: 'calc(10px + 15px)' }, '--x', '25px');
test_substituted_value({ syntax: '<number>', initialValue: 'calc(13 + 37)' }, '--x', '50');
test_substituted_value({ syntax: '<percentage>', initialValue: 'calc(13% + 37%)' }, '--x', '50%');
test_substituted_value({ syntax: '<time>', initialValue: '2000ms' }, '--x', '2s');
test_substituted_value({ syntax: '<transform-function>', initialValue: 'scale(calc(2 + 2))' }, '--x', 'scale(4)');
test_substituted_value({ syntax: '<transform-list>', initialValue: 'scale(calc(2 + 2)) translateX(calc(3px + 1px))' }, '--x', 'scale(4) translateX(4px)');

</script>
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/css-regions/META.yml
@@ -1,5 +1,4 @@
spec: https://drafts.csswg.org/css-regions/
suggested_reviewers:
- atanassov
- astearns
- rachelandrew
2 changes: 1 addition & 1 deletion tests/wpt/web-platform-tests/css/css-scrollbars/META.yml
@@ -1,3 +1,3 @@
spec: https://drafts.csswg.org/css-scrollbars/
suggested_reviewers:
- tantek
- upsuper
2 changes: 0 additions & 2 deletions tests/wpt/web-platform-tests/css/css-shapes/META.yml
@@ -1,7 +1,5 @@
spec: https://drafts.csswg.org/css-shapes/
suggested_reviewers:
- bemjb
- kojiishi
- plinss
- atanassov
- astearns
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/css-style-attr/META.yml
@@ -1,4 +1,3 @@
spec: https://drafts.csswg.org/css-style-attr/
suggested_reviewers:
- tantek
- fantasai
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/css-syntax/META.yml
Expand Up @@ -2,4 +2,3 @@ spec: https://drafts.csswg.org/css-syntax/
suggested_reviewers:
- gregwhitworth
- tabatkins
- simonsapin
1 change: 0 additions & 1 deletion tests/wpt/web-platform-tests/css/css-text/META.yml
Expand Up @@ -5,5 +5,4 @@ suggested_reviewers:
- frivoal
- r12a
- nox
- hakatashi
- fantasai
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text Test: overflow-wrap: break-word</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-break-word">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-white-space-break-spaces">
<meta name="flags" content="ahem">
<link rel="match" href="reference/overflow-wrap-break-word-001-ref.html">
<meta name="assert" content="A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: break-spaces' property, that must prevent the word to be broken.">
<style>
div {
position: relative;
font-size: 20px;
font-family: Ahem;
}
.red {
position: absolute;
background: green;
color: red;
width: 100px;
height: 100px;
z-index: -1;
white-space: pre;
}
.test {
color: green;
line-height: 1em;
width: 5ch;

white-space: pre-wrap;
overflow-wrap: break-word;
}
</style>
<body>
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
<div class="red"> XX <br>XXX</div>
<div class="test"> XX XXX </div>
</body>

0 comments on commit ad4cc36

Please sign in to comment.