author | Chris Lilley <chris@w3.org> |
Thu, 19 Apr 2018 15:44:05 +0000 | |
changeset 414780 | 4ca95e49c050dc766eae41381e8e72dff20f2434 |
parent 414779 | be2eb5308c2f74dc22cf52ce9dc634c7ca383d62 |
child 414781 | 60313f058ff820e933c94189028e66eaee37b8c6 |
push id | 102420 |
push user | james@hoppipolla.co.uk |
push date | Fri, 20 Apr 2018 21:04:12 +0000 |
treeherder | mozilla-inbound@0605371779f8 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1455267, 10415 |
milestone | 61.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -114162,16 +114162,28 @@ [ "/css/css-fonts/font-variant-caps-ref.html", "==" ] ], {} ] ], + "css/css-fonts/font-variant-descriptor-01.html": [ + [ + "/css/css-fonts/font-variant-descriptor-01.html", + [ + [ + "/css/css-fonts/font-variant-descriptor-01-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-fonts/font-variant-east-asian-01.html": [ [ "/css/css-fonts/font-variant-east-asian-01.html", [ [ "/css/css-fonts/font-variant-east-asian-01-ref.html", "==" ] @@ -240598,16 +240610,21 @@ {} ] ], "css/css-fonts/font-variant-debug.html": [ [ {} ] ], + "css/css-fonts/font-variant-descriptor-01-ref.html": [ + [ + {} + ] + ], "css/css-fonts/font-variant-east-asian-01-ref.html": [ [ {} ] ], "css/css-fonts/font-variant-east-asian-02-ref.html": [ [ {} @@ -495898,16 +495915,24 @@ "css/css-fonts/font-variant-caps.html": [ "b837b2cb32b7d687b42cfa682eb9eccbbba8c2d4", "reftest" ], "css/css-fonts/font-variant-debug.html": [ "6bfe93950a49b850166ff0ec2a05cd7da0644c0d", "support" ], + "css/css-fonts/font-variant-descriptor-01-ref.html": [ + "34cf574e1487330578060a83394bef776ceee7a4", + "support" + ], + "css/css-fonts/font-variant-descriptor-01.html": [ + "283cff53934f570387e025af366147b18fe6ad09", + "reftest" + ], "css/css-fonts/font-variant-east-asian-01-ref.html": [ "66f107ee9d92c8b669b522c17db93c2c22d266f5", "support" ], "css/css-fonts/font-variant-east-asian-01.html": [ "e8332e528bbe9b8e30ec97e503b95f0b66474df3", "reftest" ],
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/font-variant-descriptor-01-ref.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html lang="en"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> +<title>CSS Test: font-variant: normal; low level equivalence</title> +<link rel="author" title="Chris Lilley" href="chris@w3.org"> +<style> + @font-face { + font-family: fwf; + src: url(support/fonts/FontWithFancyFeatures.otf); + } + .test { + font-family: fwf; + font-size: 2.4em; + line-height: 1.1; + color: purple; + } +</style> + +<body> +<p>Test passes if the three lines below are identical, with (in purple) eight check marks (✓)</p> +<section class="test"> + <p class="ref">AAAAAAAA</p> + <p class="ref">AAAAAAAA</p> + <p class="ref">AAAAAAAA</p> +</section> \ No newline at end of file
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/css/css-fonts/font-variant-descriptor-01.html @@ -0,0 +1,47 @@ +<!DOCTYPE html> +<html lang="en"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> +<title>CSS Test: font-variant: normal; low level equivalence</title> +<link rel="author" title="Chris Lilley" href="chris@w3.org"> +<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-prop"> +<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop"> +<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-rend-desc"> +<link rel="match" href="font-variant-descriptor-01-ref.html"> +<meta name="assert" content="These descriptors define initial settings that apply when the font defined by an @font-face rule is rendered"> +<style> + @font-face { + font-family: fwf; + src: url(support/fonts/FontWithFancyFeatures.otf); + } + @font-face { + font-family: fwf2; + src: url(support/fonts/FontWithFancyFeatures.otf); + font-variant: common-ligatures discretionary-ligatures historical-ligatures contextual oldstyle-nums small-caps jis90; + } + .test { + font-family: fwf; + font-size: 2.4em; + line-height: 1.1; + color: purple; + } + .property { + font-variant-ligatures: common-ligatures discretionary-ligatures historical-ligatures contextual; + font-variant-numeric: oldstyle-nums; + font-variant-caps: small-caps; + font-variant-east-asian: jis90; + } + .test>p.descriptor { + font-family: fwf2; + } + .child { + color: green; + } +</style> + +<body> +<p>Test passes if the three lines below are identical, with (in purple) eight check marks (✓)</p> +<section class="test"> + <p class="descriptor">CDGFEJQa</p> + <p class="property">CDGFEJQa</p> + <p class="ref">AAAAAAAA</p> +</section> \ No newline at end of file