diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-12-10 01:16:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-10 01:16:26 -0800 |
commit | 6dd4b4822fa788694153ee61a04dd9a5dfb748ec (patch) | |
tree | 7067984403c44dc3b0d1f95a6cf1616e8a4e8965 /python/servo/build_commands.py | |
parent | b9a8ccd775c3192e3810a1730b1d0bc2b5c9dfb6 (diff) | |
parent | 9856c617dfa1487ada2868b5b0520d86817e83fc (diff) | |
download | servo-6dd4b4822fa788694153ee61a04dd9a5dfb748ec.tar.gz servo-6dd4b4822fa788694153ee61a04dd9a5dfb748ec.zip |
Auto merge of #14535 - servo:property-id, r=mbrubeck
Introduce a PropertyId enum and use it instead of strings of property names
<!-- Please describe your changes on the following line: -->
* `LonghandId` and `ShorthandId` are C-like enums
* `Atom` is used for the name of custom properties.
* `PropertyDeclarationId` is the identifier for `PropertyDeclaration`,
after parsing and shorthand expansion. (Longhand or custom property.)
* `PropertyId` represents any CSS property, e.g. in CSSOM.
(Longhand, shorthand, or custom.)
CC @upsuper
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14535)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/build_commands.py')
0 files changed, 0 insertions, 0 deletions