Commit 12361c31 authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@e92918c7452f2ef99fe95545fdfb41a7787b9b94

Using wpt-import in Chromium 39ff6b77.
With Chromium commits locally applied on WPT:
500a74f5 "Add a runtime flag to enforce strict MIME type checks for workers."
a2a91a99 "Allow another touch start happen when there are active touch points"
85b61e6b "[resource-timing] Ensure workerStart is protected by TAO"
a75430aa "Fix appcache tests."
a50e7e60 "Move `Sec-Fetch-User` to SetSecFetchMetadataHeaders."
b0b9a76a "Revert "[LayoutNG] Set ShrinkToFit when determining MinMaxSize via layout""
83e4a43b "Refactor VRPose to fit better with WebXr concepts"


Note to sheriffs: This CL imports external tests and adds
expectations for those tests; if this CL is large and causes
a few new failures, please fix the failures by adding new
lines to TestExpectations rather than reverting. See:
https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md

NOAUTOREVERT=true
TBR=raphael.kubo.da.costa

No-Export: true
Change-Id: I285340ab74a6519588d57b50fe0995660ffd5f4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1949514Reviewed-by: default avatarWPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#721332}
parent ca73194e
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
div {
border: solid 5px;
margin: 5px;
font-family: monospace;
width: 6.1ch;
padding: 1px;
}
.test { word-break: break-all; }
.blue { border-color: blue; }
.orange { border-color: orange; }
</style>
<p>Test passes if the black box is identical to either the blue or the orange one.
<div class="blue">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div>
<div>aaaabb<br>bbbbbb<br>bbb<br>ccccc</div>
<div class="orange">aaaabb<br>bbbbbb<br>bb<br>bccccc</div>
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element</title>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
div {
border: solid 5px;
margin: 5px;
font-family: monospace;
width: 6.1ch;
padding: 1px;
}
.test { word-break: break-all; }
.blue { border-color: blue; }
.orange { border-color: orange; }
</style>
<p>Test passes if the black box is identical to either the blue or the orange one.
<div class="blue">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div>
<div>aaaabb<br>bbbbbb<br>bb<br>bccccc</div>
<div class="orange">aaaabb<br>bbbbbb<br>bb<br>bccccc</div>
<!DOCTYPE html>
<meta charset="utf-8">
<title>word-break: break-all on inline element - reference</title>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div>
<div class="testdiv">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div>
......@@ -3,18 +3,22 @@
<title>word-break: break-all on inline element</title>
<meta name="assert" content="word-break: break-all works when specified on inline element">
<link rel='help' href='https://drafts.csswg.org/css-text-3/#word-break-property'>
<link rel='match' href='reference/word-break-break-all-inline-006-ref.html'>
<link rel='match' href='reference/word-break-break-all-inline-006-a-ref.html'>
<link rel='match' href='reference/word-break-break-all-inline-006-b-ref.html'>
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'>
<style>
.testdiv { font-family: monospace; width: 6.1ch; padding: 1px; margin: 10px; border: 1px solid silver; }
div {
border: solid 5px;
margin: 5px;
font-family: monospace;
width: 6.1ch;
padding: 1px;
}
.test { word-break: break-all; }
.blue { border-color: blue; }
.orange { border-color: orange; }
</style>
<div>Test passes if the two boxes are the same.</div>
<div class="testdiv">aaaa<span class="test">bbbbbbbbbbb</span>ccccc</div>
<!--
Some browsers may decide to break before the last 'b', which is still conformant from the spec
perspective. However, this test would fail in that case. Current spec states that behavior is
undefined in the boundaries of the inline-box. See https://github.com/web-platform-tests/wpt/issues/19903
and https://github.com/w3c/csswg-drafts/issues/3897 for details.
-->
<div class="testdiv">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div>
<p>Test passes if the black box is identical to either the blue or the orange one.
<div class="blue">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div>
<div>aaaa<span class="test">bbbbbbbbbbb</span>ccccc</div>
<div class="orange">aaaabb<br>bbbbbb<br>bb<br>bccccc</div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment