servo/components/style
bors-servo 26de7c6bc4 Auto merge of #14740 - glasserc:extremum-length, r=Manishearth
Add support for keyword values for min-width and max-width

This is a follow-up to #14432 which got closed and can no longer be re-opened.

This PR aims to add support for keyword-values max-content, min-content, fit-content, and fill-available to the properties that use them, namely min-width, min-height, max-width, and max-height.

It's still untested because I still haven't figured out how to do that. I guess I should write or find some web page that uses these properties.

Refs #13821.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #13821  (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/14740)
<!-- Reviewable:end -->
2017-02-24 14:08:58 -08:00
..
binding_tools Avoid write atoms files when not necessary 2016-12-28 17:49:34 +11:00
gecko Add support for MaxLength 2017-02-24 15:44:49 -05:00
gecko_bindings Drop Servo_AnimationValues_Populate. 2017-02-24 19:13:13 +09:00
gecko_string_cache Update atoms for gecko binding 2017-02-18 13:26:42 +11:00
properties Auto merge of #14740 - glasserc:extremum-length, r=Manishearth 2017-02-24 14:08:58 -08:00
rule_tree Switch from error! and println! to warn!, and set the default log level to warn on debug builds. 2017-02-14 17:19:01 -08:00
servo Introduce CSSPixel as a replacement for ViewportPx and PagePx. 2017-02-24 06:58:10 +10:00
values Auto merge of #14740 - glasserc:extremum-length, r=Manishearth 2017-02-24 14:08:58 -08:00
animation.rs Convert animation-iteration-count longhand into vector_longhand 2017-01-08 17:19:09 +03:00
attr.rs style: Unbox a bunch of color properties. 2017-02-14 20:18:31 +01:00
bezier.rs More docs in style. 2017-01-02 10:40:20 +01:00
bloom.rs Bug 1336646 - Use the bloom filter for manual style resolves and pass a mutable StyleContext into match_element. r=emilio 2017-02-08 17:09:35 -08:00
build.rs Bindgenup. 2017-01-25 10:42:44 +01:00
build_gecko.rs Add RawGeckoComputedKeyframeValuesList in build_gecko.rs. 2017-02-24 19:13:04 +09:00
cache.rs style: Document and remove dead code from cache.rs 2016-12-31 04:53:37 +01:00
Cargo.toml Remove rustc-serialize from style and style_traits 2017-02-23 21:47:23 +01:00
cascade_info.rs style: Document cascade_info. 2016-12-31 23:24:19 +01:00
context.rs Dump traversal time with other style statistics. 2017-02-14 17:17:45 -08:00
custom_properties.rs Box DeclaredValue::WithVariables 2017-02-09 11:10:10 +01:00
data.rs Implement "handled for descendants" tracking for RestyleDamage. 2017-02-17 10:15:53 -08:00
dom.rs Clean up and simplify the accumulation of restyle damage. 2017-02-10 10:34:28 -08:00
element_state.rs Change order of element state bits 2017-01-06 10:04:49 +11:00
error_reporting.rs style: Document the error_reporting module. 2016-12-31 23:24:19 +01:00
font_face.rs Update cssparser to 0.9 2017-02-15 12:42:14 +01:00
font_metrics.rs style: Document the font_metrics module. 2016-12-31 23:24:19 +01:00
keyframes.rs Get all animated properties in *all* keyframes. 2017-02-22 19:04:49 +09:00
lib.rs Remove rustc-serialize from style and style_traits 2017-02-23 21:47:23 +01:00
logical_geometry.rs Convert text-orientation to a Gecko-only property 2017-01-27 21:12:38 -08:00
matching.rs Implement "handled for descendants" tracking for RestyleDamage. 2017-02-17 10:15:53 -08:00
media_queries.rs Bug 1331213: Bootstrap a Gecko-side Device, and track it's dirtiness manually in the per-doc data. r=heycam 2017-01-17 14:05:23 +01:00
owning_handle.rs style: Document the owning_handle module. 2017-01-02 12:57:53 +01:00
parallel.rs Dump traversal time with other style statistics. 2017-02-14 17:17:45 -08:00
parser.rs stylo: Support stroke-dasharray and stroke-dashoffset 2017-02-18 02:43:36 -08:00
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
restyle_hints.rs Switch from error! and println! to warn!, and set the default log level to warn on debug builds. 2017-02-14 17:19:01 -08:00
scoped_tls.rs Bug 1331856 - Add style performance statistics to Servo. r=emilio 2017-01-19 15:05:19 -08:00
selector_parser.rs style: Document the restyle hints code, and make it operate on TElement. 2017-01-02 12:57:52 +01:00
sequential.rs Dump traversal time with other style statistics. 2017-02-14 17:17:45 -08:00
sink.rs style: document the sink module. 2017-01-02 12:57:49 +01:00
str.rs Auto merge of #14796 - jlevesy:jl-match-to-if-let, r=Wafflespeanut 2016-12-31 21:28:41 -08:00
stylesheets.rs Update cssparser to 0.9 2017-02-15 12:42:14 +01:00
stylist.rs Allow the ComputedValues in ComputedStyle to be null. 2017-02-10 10:34:27 -08:00
supports.rs Fix too many parens in @supports serialization. 2017-01-09 19:35:00 +01:00
thread_state.rs Tidy up rust code with regard to new rule (no = in beginning of line) 2017-01-06 20:57:16 +01:00
timer.rs style: Document the timer module. 2016-12-31 12:17:04 +01:00
traversal.rs Implement "handled for descendants" tracking for RestyleDamage. 2017-02-17 10:15:53 -08:00
viewport.rs Introduce CSSPixel as a replacement for ViewportPx and PagePx. 2017-02-24 06:58:10 +10:00

servo-style

Style system for Servo, using rust-cssparser for parsing.