Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Make NonCustomPropertyId <-> nsCSSPropertyId conversions fast.
We have a different order in nsCSSPropertyId for no good reason. The only invariant there is that longhands come before shorthands, and shorthands before aliases. Luckily that's also an invariant that NonCustomPropertyId has, so we can reuse them. Differential Revision: https://phabricator.services.mozilla.com/D2463 MozReview-Commit-ID: 1hsQu6hmqiN
- Loading branch information
Showing
1 changed file
with
81 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters