Commit 600ff313 authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@59372328ef78001bcab951db8f9e6b9aaa572f1f

Using wpt-import in Chromium 388759a2.
With Chromium commits locally applied on WPT:
d0ad7cf8 "UpgradeInsecureRequest: Add WPTs for static-import in dedicated/shared workers"
86131ac4 "Add a test for ReplaceTrack that verifies video track content."
6c8523d2 "[scroll-timeline] Implement element-based scroll offset"
4de68d38 "fixup! [css-grid] Migrate flex-sizing-columns-min-max-width.html to WPT"
f511fde8 "[css-grid] Migrate grid-gutters-and-flex-content.html to WPT"
a236d77b "[css-grid] Migrate grid-gutters-and-tracks.html to WPT"
b0ae2767 "Clean up lazy load tests"


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

Directory owners for changes in this CL:
bjonesbe@adobe.com:
  external/wpt/css/css-shapes
cbiesinger@chromium.org:
  external/wpt/css/css-flexbox
drott@chromium.org, kojii@chromium.org:
  external/wpt/css/css-fonts
kojii@chromium.org:
  external/wpt/css/CSS2/text
kojii@chromium.org, mstensho@chromium.org:
  external/wpt/css/CSS2
mstensho@chromium.org:
  external/wpt/css/css-multicol
rego@igalia.com:
  external/wpt/css/css-contain

NOAUTOREVERT=true
TBR=robertma

No-Export: true
Change-Id: I3d2cf63c5cd393350b32def2529f9a7b75684e27
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2153275Reviewed-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@{#760282}
parent 92560193
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style type="text/css"> <style type="text/css">
.container { font: 30px/1 Ahem; color: green; margin: 0; padding: 0; border: 0; .container { font: 30px/1 Ahem; color: green; margin: 0; padding: 0; border: 0;
background: url(support/60x60-red.png) no-repeat; background: url(/css/support/60x60-red.png) no-repeat;
text-indent: 0; } text-indent: 0; }
.float { width: 1em; height: 1em; background: green; float: left; .float { width: 1em; height: 1em; background: green; float: left;
margin: 0; padding: 0; border: 0; } margin: 0; padding: 0; border: 0; }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
} }
#test-overlapped-red { #test-overlapped-red {
background-clip: padding-box; background-clip: padding-box;
background-image: url(support/60x60-red.png); background-image: url(/css/support/60x60-red.png);
background-origin: border-box; background-origin: border-box;
background-position: top left; background-position: top left;
background-repeat: no-repeat; background-repeat: no-repeat;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<meta name="assert" content="Check if 'background-size' is '0px', minimum width of the positioning area in length, then such value is the width of the corresponding image and therefore the background image is not to be displayed."> <meta name="assert" content="Check if 'background-size' is '0px', minimum width of the positioning area in length, then such value is the width of the corresponding image and therefore the background image is not to be displayed.">
<style> <style>
div { div {
background-image: url(support/60x60-red.png); background-image: url(/css/support/60x60-red.png);
background-size: 0px; background-size: 0px;
height: 100px; height: 100px;
width: 100px; width: 100px;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<meta name="assert" content="Check if 'background-size' is '0%', minimum width of the positioning area in percentage, then such value is the width of the corresponding image and therefore the background image is not to be displayed."> <meta name="assert" content="Check if 'background-size' is '0%', minimum width of the positioning area in percentage, then such value is the width of the corresponding image and therefore the background image is not to be displayed.">
<style> <style>
div { div {
background-image: url(support/60x60-red.png); background-image: url(/css/support/60x60-red.png);
background-size: 0%; background-size: 0%;
height: 100px; height: 100px;
width: 100px; width: 100px;
......
...@@ -19,7 +19,7 @@ and the element is scrolled to (0, 60px), only the second image is shown." /> ...@@ -19,7 +19,7 @@ and the element is scrolled to (0, 60px), only the second image is shown." />
#element-with-attachment-scroll { #element-with-attachment-scroll {
width: 500px; width: 500px;
height: 500px; height: 500px;
background-image: url('support/60x60-red.png'), url('support/60x60-green.png'); background-image: url('/css/support/60x60-red.png'), url('support/60x60-green.png');
background-position: 0 0, 0 60px; background-position: 0 0, 0 60px;
background-repeat: no-repeat; background-repeat: no-repeat;
} }
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
test(function() { test(function() {
assert_true(MathMLFeatureDetection.has_mspace()); assert_true(MathMLFeatureDetection.has_mspace());
assert_cramped("mroot-001", true); assert_cramped("mroot-001", true);
}, "child of parent"); }, "child of mroot");
test(function() { test(function() {
assert_true(MathMLFeatureDetection.has_mspace()); assert_true(MathMLFeatureDetection.has_mspace());
...@@ -100,33 +100,43 @@ ...@@ -100,33 +100,43 @@
test(function() { test(function() {
assert_true(MathMLFeatureDetection.has_mspace()); assert_true(MathMLFeatureDetection.has_mspace());
assert_cramped("munder-001", false, "base"); assert_cramped("munder-001", false, "base");
assert_cramped("munder-002", true, "underscript"); assert_cramped("munder-002", false, "underscript");
}, "child of munder"); }, "child of munder");
test(function() { test(function() {
assert_true(MathMLFeatureDetection.has_mspace()); assert_true(MathMLFeatureDetection.has_mspace());
assert_cramped("mover-001", false, "base"); assert_cramped("mover-001", false, "base");
assert_cramped("mover-002", false, "non-accent overscript"); assert_cramped("mover-002", false, "overscript");
}, "child of mover"); }, "child of mover (non-accent overscript)");
test(function() { test(function() {
assert_true(MathMLFeatureDetection.has_mspace()); assert_true(MathMLFeatureDetection.has_mspace());
assert_cramped("munderover-001", false, "base"); assert_cramped("munderover-001", false, "base");
assert_cramped("munderover-002", true, "underscript"); assert_cramped("munderover-002", false, "underscript");
assert_cramped("munderover-003", false, "non-accent overscript"); assert_cramped("munderover-003", false, "overscript");
}, "child of munderover"); }, "child of munderover (non-accent overscript)");
test(function() { test(function() {
assert_true(MathMLFeatureDetection.has_mspace()); assert_true(MathMLFeatureDetection.has_mspace());
assert_cramped("mover-003", false, "accent overscript"); assert_cramped("mover-003", true, "base");
assert_cramped("mover-004", false, "accent superscript"); assert_cramped("mover-004", false, "overscript");
}, "accent child of mover"); }, "accent child of mover (accent overscript)");
test(function() { test(function() {
assert_true(MathMLFeatureDetection.has_mspace()); assert_true(MathMLFeatureDetection.has_mspace());
assert_cramped("munderover-004", false, "accent overscript"); assert_cramped("munderover-004", true, "base");
assert_cramped("munderover-005", false, "accent superscript"); assert_cramped("munderover-005", false, "underscript");
}, "accent child of munderover"); assert_cramped("munderover-006", false, "overscript");
}, "accent child of munderover (accent overscript)");
test(function() {
assert_true(MathMLFeatureDetection.has_mspace());
assert_cramped("mmultiscripts-001", false, "base");
assert_cramped("mmultiscripts-002", true, "post-subscript");
assert_cramped("mmultiscripts-003", false, "post-superscript");
assert_cramped("mmultiscripts-004", true, "pre-subscript");
assert_cramped("mmultiscripts-005", false, "post-superscript");
}, "mmultiscripts");
done(); done();
} }
...@@ -372,18 +382,18 @@ ...@@ -372,18 +382,18 @@
<p> <p>
<math> <math>
<mover accent="true" id="mover-003"> <mover accent="true" id="mover-003">
<mn>0</mn>
<msup class="testedElement"> <msup class="testedElement">
<mspace height="2em" width="2em"/> <mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/> <mspace height="1em" width="1em"/>
</msup> </msup>
<mn>1</mn>
</mover> </mover>
</math> </math>
</p> </p>
<p> <p>
<math> <math>
<mover accent="true" id="mover-004"> <mover accent="true" id="mover-004">
<mo movablelimits="true">0</mo> <mn>0</mn>
<msup class="testedElement"> <msup class="testedElement">
<mspace height="2em" width="2em"/> <mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/> <mspace height="1em" width="1em"/>
...@@ -430,19 +440,31 @@ ...@@ -430,19 +440,31 @@
<p> <p>
<math> <math>
<munderover accent="true" id="munderover-004"> <munderover accent="true" id="munderover-004">
<mn>0</mn>
<mn>1</mn>
<msup class="testedElement"> <msup class="testedElement">
<mspace height="2em" width="2em"/> <mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/> <mspace height="1em" width="1em"/>
</msup> </msup>
<mn>1</mn>
<mn>2</mn>
</munderover> </munderover>
</math> </math>
</p> </p>
<p> <p>
<math> <math>
<munderover accent="true" id="munderover-005"> <munderover accent="true" id="munderover-005">
<mo movablelimits="true">0</mo> <mn>0</mn>
<msup class="testedElement">
<mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/>
</msup>
<mn>2</mn>
</munderover>
</math>
</p>
<p>
<math>
<munderover accent="true" id="munderover-006">
<mn>0</mn>
<mn>1</mn> <mn>1</mn>
<msup class="testedElement"> <msup class="testedElement">
<mspace height="2em" width="2em"/> <mspace height="2em" width="2em"/>
...@@ -451,5 +473,120 @@ ...@@ -451,5 +473,120 @@
</munderover> </munderover>
</math> </math>
</p> </p>
<p>
<math>
<mmultiscripts id="mmultiscripts-001">
<msup class="testedElement">
<mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/>
</msup>
<mn>1</mn>
<mn>2</mn>
<mn>3</mn>
<mn>4</mn>
<mn>5</mn>
<mn>6</mn>
<mprescripts/>
<mn>7</mn>
<mn>8</mn>
<mn>9</mn>
<mn>10</mn>
<mn>11</mn>
<mn>12</mn>
</mmultiscripts>
</math>
</p>
<p>
<math>
<mmultiscripts id="mmultiscripts-002">
<mn>0</mn>
<mn>1</mn>
<mn>2</mn>
<msup class="testedElement">
<mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/>
</msup>
<mn>4</mn>
<mn>5</mn>
<mn>6</mn>
<mprescripts/>
<mn>7</mn>
<mn>8</mn>
<mn>9</mn>
<mn>10</mn>
<mn>11</mn>
<mn>12</mn>
</mmultiscripts>
</math>
</p>
<p>
<math>
<mmultiscripts id="mmultiscripts-003">
<mn>0</mn>
<mn>1</mn>
<mn>2</mn>
<mn>3</mn>
<msup class="testedElement">
<mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/>
</msup>
<mn>5</mn>
<mn>6</mn>
<mprescripts/>
<mn>7</mn>
<mn>8</mn>
<mn>9</mn>
<mn>10</mn>
<mn>11</mn>
<mn>12</mn>
</mmultiscripts>
</math>
</p>
<p>
<math>
<mmultiscripts id="mmultiscripts-004">
<mn>0</mn>
<mn>1</mn>
<mn>2</mn>
<mn>3</mn>
<mn>4</mn>
<mn>5</mn>
<mn>6</mn>
<mprescripts/>
<mn>7</mn>
<mn>8</mn>
<msup class="testedElement">
<mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/>
</msup>
<mn>10</mn>
<mn>11</mn>
<mn>12</mn>
</mmultiscripts>
</math>
</p>
<p>
<math>
<mmultiscripts id="mmultiscripts-005">
<mn>0</mn>
<mn>1</mn>
<mn>2</mn>
<mn>3</mn>
<mn>4</mn>
<mn>5</mn>
<mn>6</mn>
<mprescripts/>
<mn>7</mn>
<mn>8</mn>
<mn>9</mn>
<msup class="testedElement">
<mspace height="2em" width="2em"/>
<mspace height="1em" width="1em"/>
</msup>
<mn>11</mn>
<mn>12</mn>
</mmultiscripts>
</math>
</p>
</body> </body>
</html> </html>
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