mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
f97d7df528
We're resetting `color` to the default color when there's a declaration that applies in order to make stuff like this: <div style="color: transparent"> <div style="color: red"> Red </div> </div> To not show transparent. But the behavior we want is more like "override with default color iff there's no other declaration that would set the color from an user or UA sheet". This implements that behavior, plus avoids it if we're not inheriting from transparent, so that stuff like this preserves the behavior from before bug 844349: <a href="foo"> <span style="color: red">Should be the red color</span> </a> Differential Revision: https://phabricator.services.mozilla.com/D60391 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
tests/unit | ||
moz.build | ||
rustfmt.toml |