Skip to content
Permalink
Browse files

Update web-platform-tests to revision 2d68590d46a990bf28a08d6384a5996…

…2d2e56bf6
  • Loading branch information...
servo-wpt-sync committed Mar 15, 2019
1 parent bc03d32 commit ad4cc3691e7440eb9031c801f1d05a2a38e72eef
Showing with 1,614 additions and 342 deletions.
  1. +413 −98 tests/wpt/metadata/MANIFEST.json
  2. +2 −0 tests/wpt/metadata/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html.ini
  3. +2 −0 tests/wpt/metadata/css/css-text/white-space/pre-wrap-008.html.ini
  4. +0 −2 tests/wpt/metadata/css/css-text/word-break/word-break-break-all-011.html.ini
  5. +2 −0 tests/wpt/metadata/css/css-text/word-break/word-break-break-all-015.html.ini
  6. +3 −0 tests/wpt/metadata/css/cssom-view/scroll-behavior-smooth.html.ini
  7. +0 −6 tests/wpt/metadata/fetch/content-type/response.window.js.ini
  8. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini
  9. +2 −0 tests/wpt/metadata/html/browsers/the-window-object/self-et-al.window.js.ini
  10. +1 −1 tests/wpt/metadata/html/browsers/windows/nested-browsing-contexts/name-attribute.window.js.ini
  11. +0 −4 tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/document-write/iframe_005.html.ini
  12. +56 −0 tests/wpt/metadata/resource-timing/nested-context-navigations.html.ini
  13. +1 −0 tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini
  14. +17 −2 tests/wpt/web-platform-tests/.travis.yml
  15. +0 −1 tests/wpt/web-platform-tests/2dcontext/META.yml
  16. +0 −1 tests/wpt/web-platform-tests/WebIDL/META.yml
  17. +0 −1 tests/wpt/web-platform-tests/accelerometer/META.yml
  18. +0 −1 tests/wpt/web-platform-tests/ambient-light/META.yml
  19. +0 −1 tests/wpt/web-platform-tests/battery-status/META.yml
  20. +0 −1 tests/wpt/web-platform-tests/bluetooth/META.yml
  21. +0 −1 tests/wpt/web-platform-tests/common/META.yml
  22. +0 −1 tests/wpt/web-platform-tests/cookies/META.yml
  23. +0 −1 tests/wpt/web-platform-tests/css/CSS2/META.yml
  24. +0 −1 tests/wpt/web-platform-tests/css/WOFF2/META.yml
  25. +0 −2 tests/wpt/web-platform-tests/css/css-backgrounds/META.yml
  26. +0 −1 tests/wpt/web-platform-tests/css/css-color/META.yml
  27. +0 −2 tests/wpt/web-platform-tests/css/css-display/run-in/META.yml
  28. +0 −1 tests/wpt/web-platform-tests/css/css-exclusions/META.yml
  29. +0 −1 tests/wpt/web-platform-tests/css/css-flexbox/META.yml
  30. +0 −2 tests/wpt/web-platform-tests/css/css-grid/META.yml
  31. +0 −1 tests/wpt/web-platform-tests/css/css-logical/META.yml
  32. +1 −1 tests/wpt/web-platform-tests/css/css-position/META.yml
  33. +6 −0 tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-computation.html
  34. +24 −2 tests/wpt/web-platform-tests/css/css-properties-values-api/registered-property-initial.html
  35. +0 −1 tests/wpt/web-platform-tests/css/css-regions/META.yml
  36. +1 −1 tests/wpt/web-platform-tests/css/css-scrollbars/META.yml
  37. +0 −2 tests/wpt/web-platform-tests/css/css-shapes/META.yml
  38. +0 −1 tests/wpt/web-platform-tests/css/css-style-attr/META.yml
  39. +0 −1 tests/wpt/web-platform-tests/css/css-syntax/META.yml
  40. +0 −1 tests/wpt/web-platform-tests/css/css-text/META.yml
  41. +38 −0 tests/wpt/web-platform-tests/css/css-text/overflow-wrap/overflow-wrap-break-word-007.html
  42. +38 −0 tests/wpt/web-platform-tests/css/css-text/white-space/pre-wrap-008.html
  43. +3 −2 tests/wpt/web-platform-tests/css/css-text/word-break/word-break-break-all-011.html
  44. +2 −2 tests/wpt/web-platform-tests/css/css-text/word-break/word-break-break-all-012.html
  45. +2 −2 tests/wpt/web-platform-tests/css/css-text/word-break/word-break-break-all-013.html
  46. +38 −0 tests/wpt/web-platform-tests/css/css-text/word-break/word-break-break-all-015.html
  47. +0 −1 tests/wpt/web-platform-tests/css/css-transforms/META.yml
  48. +0 −1 tests/wpt/web-platform-tests/css/css-ui/META.yml
  49. +0 −1 tests/wpt/web-platform-tests/css/css-writing-modes/META.yml
  50. +0 −1 tests/wpt/web-platform-tests/css/selectors/META.yml
  51. +0 −1 tests/wpt/web-platform-tests/device-memory/META.yml
  52. +0 −1 tests/wpt/web-platform-tests/docs/META.yml
  53. +4 −1 tests/wpt/web-platform-tests/encrypted-media/META.yml
  54. +0 −1 tests/wpt/web-platform-tests/event-timing/META.yml
  55. +1 −1 tests/wpt/web-platform-tests/feature-policy/META.yml
  56. +1 −1 tests/wpt/web-platform-tests/gamepad/META.yml
  57. +0 −1 tests/wpt/web-platform-tests/generic-sensor/META.yml
  58. +0 −1 tests/wpt/web-platform-tests/gyroscope/META.yml
  59. +0 −1 tests/wpt/web-platform-tests/html-media-capture/META.yml
  60. +15 −0 tests/wpt/web-platform-tests/html/browsers/the-window-object/document-attribute.window.js
  61. +43 −0 tests/wpt/web-platform-tests/html/browsers/the-window-object/self-et-al.window.js
  62. +10 −2 ...latform-tests/html/user-activation/activation-transfer-cross-origin-with-click.sub.tentative.html
  63. +10 −2 tests/wpt/web-platform-tests/html/user-activation/activation-transfer-with-click.tentative.html
  64. +0 −1 tests/wpt/web-platform-tests/imagebitmap-renderingcontext/META.yml
  65. +2 −0 tests/wpt/web-platform-tests/lint.whitelist
  66. +0 −1 tests/wpt/web-platform-tests/magnetometer/META.yml
  67. +14 −11 tests/wpt/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-001-ref.html
  68. +11 −8 tests/wpt/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-001.html
  69. +0 −1 tests/wpt/web-platform-tests/mediacapture-depth/META.yml
  70. +0 −2 tests/wpt/web-platform-tests/mediacapture-streams/META.yml
  71. +0 −1 tests/wpt/web-platform-tests/notifications/META.yml
  72. +0 −1 tests/wpt/web-platform-tests/offscreen-canvas/META.yml
  73. +0 −1 tests/wpt/web-platform-tests/orientation-sensor/META.yml
  74. +0 −1 tests/wpt/web-platform-tests/paint-timing/META.yml
  75. +0 −1 tests/wpt/web-platform-tests/payment-method-id/META.yml
  76. +1 −0 .../web-platform-tests/payment-request/PaymentAddress/attributes-and-toJSON-method-manual.https.html
  77. +9 −2 ...b-platform-tests/payment-request/payment-response/onpayerdetailchange-attribute-manual.https.html
  78. +0 −2 tests/wpt/web-platform-tests/pointerevents/META.yml
  79. +0 −1 tests/wpt/web-platform-tests/proximity/META.yml
  80. +0 −2 tests/wpt/web-platform-tests/referrer-policy/META.yml
  81. +0 −1 tests/wpt/web-platform-tests/resource-timing/META.yml
  82. +31 −0 tests/wpt/web-platform-tests/resource-timing/nested-context-navigations.html
  83. +12 −0 tests/wpt/web-platform-tests/resource-timing/resources/document-navigated.html
  84. +12 −0 tests/wpt/web-platform-tests/resource-timing/resources/document-refreshed.html
  85. +11 −0 tests/wpt/web-platform-tests/resource-timing/resources/document-that-navigates.html
  86. +8 −0 tests/wpt/web-platform-tests/resource-timing/resources/document-that-refreshes.html
  87. +14 −0 tests/wpt/web-platform-tests/resource-timing/resources/embed-navigate-back.html
  88. +15 −0 tests/wpt/web-platform-tests/resource-timing/resources/embed-navigate.html
  89. +15 −0 tests/wpt/web-platform-tests/resource-timing/resources/embed-refresh.html
  90. +14 −0 tests/wpt/web-platform-tests/resource-timing/resources/iframe-navigate-back.html
  91. +15 −0 tests/wpt/web-platform-tests/resource-timing/resources/iframe-navigate.html
  92. +15 −0 tests/wpt/web-platform-tests/resource-timing/resources/iframe-refresh.html
  93. +7 −0 tests/wpt/web-platform-tests/resource-timing/resources/navigate_back.html
  94. +95 −0 tests/wpt/web-platform-tests/resource-timing/resources/nested-contexts.js
  95. +14 −0 tests/wpt/web-platform-tests/resource-timing/resources/object-navigate-back.html
  96. +15 −0 tests/wpt/web-platform-tests/resource-timing/resources/object-navigate.html
  97. +15 −0 tests/wpt/web-platform-tests/resource-timing/resources/object-refresh.html
  98. +129 −13 tests/wpt/web-platform-tests/resources/chromium/device.mojom.js
  99. +11 −2 tests/wpt/web-platform-tests/resources/chromium/webusb-test.js
  100. +0 −1 tests/wpt/web-platform-tests/screen-orientation/META.yml
  101. +26 −0 tests/wpt/web-platform-tests/screen-orientation/lock-unlock-check.html
  102. +17 −0 tests/wpt/web-platform-tests/screen-orientation/resources/orientation-utils.js
  103. +0 −1 tests/wpt/web-platform-tests/scroll-animations/META.yml
  104. +16 −32 tests/wpt/web-platform-tests/selection/Document-open.html
  105. +31 −0 tests/wpt/web-platform-tests/signed-exchange/resources/generate-test-sxgs.sh
  106. +23 −0 tests/wpt/web-platform-tests/signed-exchange/resources/register-sw-after-fallback.html
  107. +23 −0 tests/wpt/web-platform-tests/signed-exchange/resources/register-sw.html
  108. +5 −0 tests/wpt/web-platform-tests/signed-exchange/resources/service-worker.js
  109. +13 −0 tests/wpt/web-platform-tests/signed-exchange/resources/sxg-util.js
  110. BIN tests/wpt/web-platform-tests/signed-exchange/resources/sxg/register-sw-after-fallback.sxg
  111. BIN tests/wpt/web-platform-tests/signed-exchange/resources/sxg/register-sw-from-sxg.sxg
  112. +23 −0 ...latform-tests/signed-exchange/service-workers/sxg-sw-register-after-fallback.tentative.https.html
  113. +23 −0 tests/wpt/web-platform-tests/signed-exchange/service-workers/sxg-sw-register.tentative.https.html
  114. +0 −1 tests/wpt/web-platform-tests/speech-api/META.yml
  115. +0 −1 tests/wpt/web-platform-tests/streams/META.yml
  116. +0 −1 tests/wpt/web-platform-tests/subresource-integrity/META.yml
  117. +0 −1 tests/wpt/web-platform-tests/svg/META.yml
  118. +0 −2 tests/wpt/web-platform-tests/tools/wpt/run.py
  119. +35 −0 tests/wpt/web-platform-tests/tools/wpt/virtualenv.py
  120. +1 −1 tests/wpt/web-platform-tests/tools/wptrunner/requirements.txt
  121. +1 −1 tests/wpt/web-platform-tests/tools/wptrunner/requirements_firefox.txt
  122. +0 −1 tests/wpt/web-platform-tests/url/META.yml
  123. +0 −1 tests/wpt/web-platform-tests/vibration/META.yml
  124. +0 −1 tests/wpt/web-platform-tests/wake-lock/META.yml
  125. +4 −2 ...o-api/the-mediaelementaudiosourcenode-interface/mediaElementAudioSourceToScriptProcessorTest.html
  126. +0 −1 tests/wpt/web-platform-tests/webmessaging/META.yml
  127. +0 −2 tests/wpt/web-platform-tests/webrtc/META.yml
  128. +25 −22 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-getStats.https.html
  129. +11 −12 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-onnegotiationneeded.html
  130. +0 −1 tests/wpt/web-platform-tests/webstorage/META.yml
  131. +0 −2 tests/wpt/web-platform-tests/webxr/META.yml
  132. +61 −0 tests/wpt/web-platform-tests/webxr/resources/webxr_math_utils.js
  133. +9 −30 tests/wpt/web-platform-tests/webxr/xrRay_matrix.https.html
  134. +46 −0 tests/wpt/web-platform-tests/webxr/xrRigidTransform_matrix.https.html
  135. +0 −3 tests/wpt/web-platform-tests/xhr/META.yml

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -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.

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

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

@@ -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.

Oops, something went wrong.
@@ -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

This file was deleted.

Oops, something went wrong.
@@ -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

@@ -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
@@ -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:
@@ -3,5 +3,4 @@ suggested_reviewers:
- AmeliaBR
- annevk
- kenrussell
- jdashg
- fserb
@@ -1,6 +1,5 @@
spec: https://heycam.github.io/webidl/
suggested_reviewers:
- domenic
- jensl
- tobie
- yuki3
@@ -1,7 +1,6 @@
spec: https://w3c.github.io/accelerometer/
suggested_reviewers:
- zqzhang
- dontcallmedom
- riju
- Honry
- rakuco
@@ -1,7 +1,6 @@
spec: https://w3c.github.io/ambient-light/
suggested_reviewers:
- zqzhang
- dontcallmedom
- riju
- rakuco
- Honry
@@ -1,5 +1,4 @@
spec: https://w3c.github.io/battery/
suggested_reviewers:
- anssiko
- dontcallmedom
- zqzhang
@@ -1,6 +1,5 @@
spec: https://webbluetoothcg.github.io/web-bluetooth/
suggested_reviewers:
- dougt
- g-ortuno
- odejesush
- reillyeon
@@ -1,5 +1,4 @@
suggested_reviewers:
- zqzhang
- dontcallmedom
- deniak
- gsnedders
@@ -1,3 +1,2 @@
suggested_reviewers:
- inikulin
- mikewest
@@ -5,4 +5,3 @@ suggested_reviewers:
- svgeesus
- kojiishi
- frivoal
- bert-github
@@ -1,4 +1,3 @@
spec: https://w3c.github.io/woff/woff2/
suggested_reviewers:
- svgeesus
- rsheeter
@@ -1,6 +1,4 @@
spec: https://drafts.csswg.org/css-backgrounds/
suggested_reviewers:
- dbaron
- bert-github
- fantasai
- bradkemper
@@ -1,6 +1,5 @@
spec: https://drafts.csswg.org/css-color/
suggested_reviewers:
- dbaron
- tantek
- svgeesus
- tabatkins

This file was deleted.

Oops, something went wrong.
@@ -1,4 +1,3 @@
spec: https://drafts.csswg.org/css-exclusions/
suggested_reviewers:
- atanassov
- astearns
@@ -4,7 +4,6 @@ suggested_reviewers:
- plinss
- mrego
- cbiesinger
- atanassov
- fantasai
- rachelandrew
- tabatkins
@@ -2,10 +2,8 @@ spec: https://drafts.csswg.org/css-grid/
suggested_reviewers:
- mrego
- plinss
- jxs
- tabatkins
- fantasai
- atanassov
- javifernandez
- rachelandrew
- svillar
@@ -1,4 +1,3 @@
spec: https://drafts.csswg.org/css-logical/
suggested_reviewers:
- atanassov
- fantasai
@@ -1,3 +1,3 @@
spec: https://drafts.csswg.org/css-position/
suggested_reviewers:
- atanassov
- astearns
@@ -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)');
@@ -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>
@@ -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)');
@@ -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,5 +1,4 @@
spec: https://drafts.csswg.org/css-regions/
suggested_reviewers:
- atanassov
- astearns
- rachelandrew
@@ -1,3 +1,3 @@
spec: https://drafts.csswg.org/css-scrollbars/
suggested_reviewers:
- tantek
- upsuper
@@ -1,7 +1,5 @@
spec: https://drafts.csswg.org/css-shapes/
suggested_reviewers:
- bemjb
- kojiishi
- plinss
- atanassov
- astearns
@@ -1,4 +1,3 @@
spec: https://drafts.csswg.org/css-style-attr/
suggested_reviewers:
- tantek
- fantasai
@@ -2,4 +2,3 @@ spec: https://drafts.csswg.org/css-syntax/
suggested_reviewers:
- gregwhitworth
- tabatkins
- simonsapin
@@ -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>
Oops, something went wrong.

0 comments on commit ad4cc36

Please sign in to comment.
You can’t perform that action at this time.