☠☠ backed out by a6a32fb286fa ☠ ☠ | |
author | Mike Taylor <miket@mozilla.com> |
Tue, 06 Mar 2018 18:16:55 +0000 | |
changeset 406928 | 3f1f453a3cdd9e2eeb9145a0b5333591e9a4a120 |
parent 406927 | fef37d4246d40e4089fabaf920758338ef64ab96 |
child 406929 | 0901be04972f6c80c79c264d1581c43f41db9c34 |
push id | 100543 |
push user | wptsync@mozilla.com |
push date | Wed, 07 Mar 2018 15:52:39 +0000 |
treeherder | mozilla-inbound@5138dcf1eddd [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1443192, 1368555 |
milestone | 60.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 @@ -304717,16 +304717,22 @@ ] ], "compat/historical.html": [ [ "/compat/historical.html", {} ] ], + "compat/webkit-appearance.tentative.html": [ + [ + "/compat/webkit-appearance.tentative.html", + {} + ] + ], "compat/webkit-text-fill-color-currentColor.html": [ [ "/compat/webkit-text-fill-color-currentColor.html", {} ] ], "console/console-count-label-conversion.any.js": [ [ @@ -395884,16 +395890,20 @@ "compat/green-ref.html": [ "4b23ea52d785a6dd19785bd4278bf700eb5547f8", "support" ], "compat/historical.html": [ "2d71e7532fc32af61d2410927b6405a9e79279a4", "testharness" ], + "compat/webkit-appearance.tentative.html": [ + "19f5d49ab9383759357d9b7cd73f15fe7fff2939", + "testharness" + ], "compat/webkit-linear-gradient-line-bottom.html": [ "af59a0aa3b8a195ba7ef401b582be9384a23a388", "reftest" ], "compat/webkit-linear-gradient-line-left.html": [ "f131166051da9a82ede93f076f15832f61f39234", "reftest" ],
new file mode 100644 --- /dev/null +++ b/testing/web-platform/tests/compat/webkit-appearance.tentative.html @@ -0,0 +1,65 @@ +<!DOCTYPE html> +<title>-webkit-appearance support</title> +<!-- There is no spec for -webkit-appearance. It is supported in Opera, Safari, + Chrome, and Edge. Firefox has expressed intent to support it. --> +<link rel="help" href="https://github.com/whatwg/compat/issues/6"> +<meta name="assert" content="This test checks for support of the -webkit-appearance CSS attribute." /> + +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> + +<div id="tester"></div> + +<script> +const WEBKIT_APPEARANCE_VALUES = [ + 'none', + 'checkbox', + 'radio', + 'push-button', + 'square-button', + 'button', + 'button-bevel', + 'inner-spin-button', + 'listbox', + 'listitem', + 'media-enter-fullscreen-button', + 'media-exit-fullscreen-button', + 'media-mute-button', + 'media-play-button', + 'media-overlay-play-button', + 'media-toggle-closed-captions-button', + 'media-slider', + 'media-sliderthumb', + 'media-volume-slider-container', + 'media-volume-slider', + 'media-volume-sliderthumb', + 'media-controls-background', + 'media-controls-fullscreen-background', + 'media-current-time-display', + 'media-time-remaining-display', + 'menulist', + 'menulist-button', + 'menulist-text', + 'menulist-textfield', + 'meter', + 'progress-bar', + 'progress-bar-value', + 'slider-horizontal', + 'slider-vertical', + 'sliderthumb-horizontal', + 'sliderthumb-vertical', + 'caret', + 'searchfield', + 'searchfield-cancel-button', + 'textfield', + 'textarea', +]; + +for (const appearance_value of WEBKIT_APPEARANCE_VALUES) { + test(() => { + const div = document.getElementById('tester'); + div.style = `-webkit-appearance: ${appearance_value}`; + assert_equals(getComputedStyle(div).webkitAppearance, appearance_value); + }); +} +</script>