зеркало из https://github.com/mozilla/gecko-dev.git
3cd323e6da
We only have this so that ::-moz-placeholder keeps serializing as ::-moz-placeholder, but I don't think anybody really cares. Edge aliases ::-webkit-input-placeholder to ::-ms-input-placeholder at parse time as well, as can be seen in: ``` let s = document.createElement('style'); s.innerHTML = `input::-webkit-input-placeholder { color: red };`; document.body.appendChild(s); document.body.innerHTML = s.sheet.cssRules[0].cssText; ``` And I think this is more consistent with what we do for CSS properties that are aliases. Differential Revision: https://phabricator.services.mozilla.com/D2595 MozReview-Commit-ID: 3ImDWamJhxh |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
support/gecko/nsstring | ||
tests/unit | ||
moz.build |