зеркало из https://github.com/mozilla/gecko-dev.git
6e2d5f3601
Broadly, this patch does 2 things: - it mirrors the logic bug 1702258 introduced for <select> styling for <option> styling - it enforces that if the website specifies custom foreground colours for options, we use the website-specified colour for the option background, too (even if it matches the UA/select style). I also added automated testing for 3 cases: 1. the default dark mode situation (where we expect dark mode styles), 2. the case from the bug where the website specifies `#fff` for the background of the select and the background of the options, but specifies a custom foreground colour for the option (but not the select). 3. a very similar case where the website only specifies the background on the select, and only the foreground on the option. Differential Revision: https://phabricator.services.mozilla.com/D114382 |
||
---|---|---|
.. | ||
actors | ||
app | ||
base | ||
branding | ||
components | ||
config | ||
docs | ||
extensions | ||
fonts | ||
fxr | ||
installer | ||
locales | ||
modules | ||
themes | ||
tools/mozscreenshots | ||
.eslintrc.js | ||
LICENSE | ||
Makefile.in | ||
app.mozbuild | ||
build.mk | ||
confvars.sh | ||
defs.mk | ||
l10n-registry.manifest | ||
moz.build | ||
moz.configure |