Commit 8925e7f5 authored by Chromium WPT Sync's avatar Chromium WPT Sync Committed by Commit Bot

Import wpt@2b417d90d1bd453c262fe3490a7b13f562342f03

Using wpt-import in Chromium 5cca9894.

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=smcgruer

No-Export: true
Change-Id: Ie7719aa851e840c2f58821b03c1895d28bc745b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2217868Reviewed-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@{#772205}
parent 08f9b260
...@@ -107972,6 +107972,19 @@ ...@@ -107972,6 +107972,19 @@
{} {}
] ]
], ],
"appearance-transition.tentative.html": [
"199de7c05e1bc010185f91dbb8a095ffa42c5ddd",
[
null,
[
[
"/css/css-ui/appearance-transition-ref.html",
"=="
]
],
{}
]
],
"box-sizing-001.html": [ "box-sizing-001.html": [
"545403f535d2f33993558bde9086e8798c04c11f", "545403f535d2f33993558bde9086e8798c04c11f",
[ [
...@@ -183204,6 +183217,10 @@ ...@@ -183204,6 +183217,10 @@
"5304352e6bafd1d25436babfc2afc0ba1aa26fa3", "5304352e6bafd1d25436babfc2afc0ba1aa26fa3",
[] []
], ],
"appearance-transition-ref.html": [
"b5ea559b9e7c158e254f2a7e047b56487ad8f281",
[]
],
"inheritance-expected.txt": [ "inheritance-expected.txt": [
"548a76a3407ac8a48f9f108559957cf061f20a19", "548a76a3407ac8a48f9f108559957cf061f20a19",
[] []
...@@ -211735,6 +211752,10 @@ ...@@ -211735,6 +211752,10 @@
"0efca480eec5a3da684fe79a429982b139b202e4", "0efca480eec5a3da684fe79a429982b139b202e4",
[] []
], ],
"default-font-family-expected.txt": [
"1bffae30b78bbb160e98de85f5629e594612bd50",
[]
],
"display-1-ref.html": [ "display-1-ref.html": [
"ce65aba18c9483274765cde6f62bdf5fdeea001e", "ce65aba18c9483274765cde6f62bdf5fdeea001e",
[] []
...@@ -346181,6 +346202,13 @@ ...@@ -346181,6 +346202,13 @@
{} {}
] ]
], ],
"default-font-family.html": [
"413227ed46fa37d867ed290c78531d346814d114",
[
null,
{}
]
],
"display-contents.html": [ "display-contents.html": [
"aeaa28da908816ad39619d9a47bbb43a3116bbe9", "aeaa28da908816ad39619d9a47bbb43a3116bbe9",
[ [
This is a testharness.js-based test.
FAIL Default font-family on <math> is not inherited assert_not_equals: got disallowed value "BB2F7F3E9FEE11EA96DF67A737751C2F"
FAIL Default font-family on <math> is 'math' assert_equals: expected "math" but got "BB2F7F3E9FEE11EA96DF67A737751C2F"
Harness: the test ran to completion.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Default font-family on the &lt;math&gt; root</title>
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#the-top-level-math-element">
<link rel="help" href="https://mathml-refresh.github.io/mathml-core/#user-agent-stylesheet">
<meta name="assert" content="Verify that the default font-family is 'math'.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<div style="font-family: BB2F7F3E9FEE11EA96DF67A737751C2F;">
<div id="inherited-reference"></div>
<math id="math-not-inherited"></math>
</div>
<math id="math-default"></math>
<script>
function getFontFamily(id) {
return window.getComputedStyle(document.getElementById(id)).fontFamily;
}
test(function () {
assert_equals(getFontFamily("inherited-reference"), "BB2F7F3E9FEE11EA96DF67A737751C2F");
assert_not_equals(getFontFamily("math-not-inherited"), getFontFamily("inherited-reference"));
}, "Default font-family on <math> is not inherited");
test(function () {
assert_equals(getFontFamily("math-not-inherited"), "math");
assert_equals(getFontFamily("math-default"), "math");
}, "Default font-family on <math> is 'math'");
</script>
</body>
</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