servo/components/layout
bors-servo 6dd4b4822f 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 -->
2016-12-10 01:16:26 -08:00
..
animation.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
block.rs layout: Mark flex items properly during construction 2016-11-09 08:24:12 +08:00
Cargo.toml Auto merge of #14286 - gterzian:update_canvas_with_offscreen_context, r=jdm 2016-11-24 12:29:52 -08:00
construct.rs use Either type for UrlOrNone 2016-11-30 11:43:14 -05:00
context.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
data.rs Move children_to_process to layout. 2016-10-08 18:20:45 -07:00
display_list_builder.rs Don't scroll background and borders of overflow:scroll blocks 2016-12-06 14:08:17 -10:00
flex.rs style: Add a "start_end()" method to LogicalMargin 2016-11-10 19:17:29 +08:00
floats.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
flow.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
flow_list.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
flow_ref.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
fragment.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
generated_content.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
incremental.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
inline.rs implemented string-valued text-overflow 2016-11-10 00:00:21 +05:30
layout_debug.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
lib.rs Update to Rust 1.15.0-nightly (1c448574b 2016-11-28) 2016-11-29 21:19:25 +01:00
linked_list.rs Move util::linked_list to layout 2016-06-29 17:23:04 +02:00
list_item.rs Stop using associated types for the concrete TRestyleDamage implementation. 2016-11-07 11:10:48 -08:00
model.rs style: Add a "start_end()" method to LogicalMargin 2016-11-10 19:17:29 +08:00
multicol.rs Convert column-width to use Either 2016-12-01 15:17:51 +05:30
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs style: Use rayon instead of our custom work queue. 2016-11-14 21:24:19 +01:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Use PropertyId instead of Atom for CSSStyleDeclaration::get_computed_style 2016-12-09 17:06:50 -10:00
sequential.rs Stop using associated types for the concrete TRestyleDamage implementation. 2016-11-07 11:10:48 -08:00
table.rs Remove unnecessary Flow::column_sizes methods 2016-11-30 09:38:27 -08:00
table_caption.rs Use a new id type for tracking scrolling areas 2016-10-30 21:10:04 +01:00
table_cell.rs Migrated -Z trace-layout to serde_json 2016-11-07 15:54:07 +08:00
table_colgroup.rs Use a new id type for tracking scrolling areas 2016-10-30 21:10:04 +01:00
table_row.rs Remove unnecessary Flow::column_sizes methods 2016-11-30 09:38:27 -08:00
table_rowgroup.rs Remove unnecessary Flow::column_sizes methods 2016-11-30 09:38:27 -08:00
table_wrapper.rs Remove unnecessary Flow::column_sizes methods 2016-11-30 09:38:27 -08:00
text.rs Use word-break to decide how glyph runs should be created 2016-09-27 11:25:21 +02:00
traversal.rs Make Restyle tracking more granular. 2016-12-09 14:46:40 -10:00
webrender_helpers.rs Use new DisplayListBuilder improvements in Servo 2016-11-28 13:15:39 +01:00
wrapper.rs Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. 2016-11-24 17:07:38 -08:00