Support standard 'appearance' CSS property unprefixed
Categories
(Core :: CSS Parsing and Computation, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: tkent, Assigned: heycam)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed, Whiteboard: [layout:backlog][layout:triage-discuss], [wptsync upstream])
Attachments
(13 files, 2 obsolete files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
https://drafts.csswg.org/css-ui-4/#appearance-switching
Chrome is going to ship it soon. https://t.co/osaFPo0Obe
![]() |
||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Kent, which of the <compat-auto> values is Chrome supporting?
Kent, which of the <compat-auto> values is Chrome supporting?
Chrome currently supports all of them.
However, we might propose to drop some of them in the future.
Assignee | ||
Comment 3•5 years ago
|
||
Thanks, we'll look at this soon.
Updated•5 years ago
|
Comment 4•5 years ago
|
||
FYI https://bugs.chromium.org/p/chromium/issues/detail?id=963551 is now fixed and looks like it's targeting M84 (reaching stable mid-July per https://www.chromestatus.com/features/schedule )
I think trying to coordinate on the timing on this can reduce compat problems, and allow for clearer messaging to web developers to start using unprefixed appearance.
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Yes, it would be good to ship all this approximately the same time.
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Now that we triage by severity, setting priority to P1 to reflect backlog prioritization on this bug as either in-progress, or planned development in the near term. See https://wiki.mozilla.org/Platform/Layout#Backlog_Tracking_in_Bugzilla
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
Assignee | ||
Comment 9•5 years ago
|
||
(Looks like I attached these to the wrong bug. Will move them across to bug 1642261 after updating.)
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
They have served their purpose.
Assignee | ||
Comment 13•5 years ago
|
||
Assignee | ||
Comment 14•5 years ago
|
||
Assignee | ||
Comment 15•5 years ago
|
||
XX Haven't done this yet. Also there are contradictory WPT tests --
one asserts that appearance is button on HTML button elements, another
that it's auto.
For none, button, textfield, and menulist-button (the four specific
values appearance values the spec supports that aren't treated as auto),
-moz-appearance rules in UA sheets, which are defining the inherent
appearance of widgets, are changed to
appearance: <value>;
-moz-default-appearance: <value>;
and those in non-UA sheets, which are using these values to obtain these
appearances on specific elements, are changed to:
appearance: <value>;
For all other values, rules are changed to:
appearance: auto;
-moz-default-appearance: <value>;
Assignee | ||
Comment 16•5 years ago
|
||
Assignee | ||
Comment 17•5 years ago
|
||
Assignee | ||
Comment 18•5 years ago
|
||
Assignee | ||
Comment 19•5 years ago
|
||
Assignee | ||
Comment 20•5 years ago
|
||
Assignee | ||
Comment 21•5 years ago
|
||
This includes all of the <compat-auto> values, plus menulist-button,
which doesn't behave any differently from menulist currently.
Assignee | ||
Comment 22•5 years ago
|
||
Assignee | ||
Comment 23•5 years ago
|
||
Emilio, if you have any good ideas about making this change safer in the absence of a pref, I'm happy to hear them.
Assignee | ||
Comment 24•5 years ago
|
||
Forgot to follow up on these two remaining non-standard values that may have
been being used to reset a <meter> or <input type=number> back to its
original appearance, but which telemetry showed no usage of.
Comment 25•5 years ago
|
||
Comment 27•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e31e608c3393
https://hg.mozilla.org/mozilla-central/rev/7303087cc071
https://hg.mozilla.org/mozilla-central/rev/d96951bf852e
https://hg.mozilla.org/mozilla-central/rev/7acbe8938c4e
https://hg.mozilla.org/mozilla-central/rev/71e7a079d3ad
https://hg.mozilla.org/mozilla-central/rev/9247a06c2203
https://hg.mozilla.org/mozilla-central/rev/7359d555bd1b
https://hg.mozilla.org/mozilla-central/rev/33a0e212af05
https://hg.mozilla.org/mozilla-central/rev/d0897b5ff3e4
https://hg.mozilla.org/mozilla-central/rev/2d55f97dbe38
https://hg.mozilla.org/mozilla-central/rev/de14ecb5046a
https://hg.mozilla.org/mozilla-central/rev/4b04d694fb5c
Comment 28•5 years ago
|
||
The upstream PR here didn't merge because update-built-tests
failed; this runs the build scripts and checks there's no diff. In this case the diff was:
diff --git a/css/css-ui/webkit-appearance-button-001.html b/css/css-ui/webkit-appearance-button-001.html
index cdd69ba563..c71a914723 100644
--- a/css/css-ui/webkit-appearance-button-001.html
+++ b/css/css-ui/webkit-appearance-button-001.html
@@ -1,3 +1,7 @@
+<!-- DO NOT EDIT THIS FILE.
+Edit the appearance-* file instead and then run:
+ ./tools/appearance-build-webkit-reftests.py
+-->
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: -webkit-appearance: button</title>
So there are a couple of possibilities here. One is to update that file to match the output of the build script. The other one is to stop the build script thinking it owns that file e.g. by moving it. Note that the generated files do need to be checked in; we don't build tests at runtime.
In terms of the mechanics of this, you can either push a change here with the same bug number, in which case the sync will add it to the PR, or you can push a change to the PR branch on GitHub in which case the sync will sync-back that change later.
Assignee | ||
Comment 29•5 years ago
|
||
Assignee | ||
Comment 30•5 years ago
|
||
Thanks, I didn't realize things would break if I didn't add the webkit-appearance-*
test without using the script.
Comment 31•5 years ago
|
||
Comment 32•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Description
•