Skip to content

Commit 23117ea

Browse files
committed
servo: Merge #14535 - Introduce a PropertyId enum and use it instead of strings of property names (from servo:property-id); r=mbrubeck
<!-- 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. --> Source-Repo: https://github.com/servo/servo Source-Revision: 6dd4b4822fa788694153ee61a04dd9a5dfb748ec UltraBlame original commit: daaa89ca8da2cf8fa5142c69ba50bcf12b306204
1 parent ccec4b2 commit 23117ea

File tree

27 files changed

+3446
-2131
lines changed

27 files changed

+3446
-2131
lines changed

servo/Cargo.lock

+87
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

servo/components/atoms/static_atoms.txt

-30
Original file line numberDiff line numberDiff line change
@@ -32,36 +32,6 @@ datetime
3232
local
3333
number
3434
dir
35-
bottom
36-
top
37-
left
38-
right
39-
width
40-
height
41-
margin
42-
-
43-
bottom
44-
margin
45-
-
46-
top
47-
margin
48-
-
49-
left
50-
margin
51-
-
52-
right
53-
padding
54-
-
55-
bottom
56-
padding
57-
-
58-
top
59-
padding
60-
-
61-
left
62-
padding
63-
-
64-
right
6535
DOMContentLoaded
6636
select
6737
input

0 commit comments

Comments
 (0)