servo/components/style
Manish Goregaokar 34ba00e6d9 Basic handling framework for presentation attributes in Stylo, with handling for font-size and color
This introduces a basic framework for servo's style system to be able
to query the style of presentation attributes which it can then insert
into the cascade. It uses that framework to implement the size and
color attributes on <font>.

There are a number of improvements that can be done on top of this:

 - Implement all other properties
 - Abstractify the ruledata parameter of the mappers using templates or virtual dispatch so that it can be a Servo decl block instead
 - Implement aforementiond abstraction over Servo decl blocks (this obsoletes the code in the first item above, so it might just be better to skip that and directly do this)
 - Replace uses of nsHTMLStyleSheet with an abstract base class containing common elements between Servo and Gecko

I'd prefer for these to be done in separate steps.
2017-02-03 17:35:44 -08:00
..
binding_tools Avoid write atoms files when not necessary 2016-12-28 17:49:34 +11:00
gecko Basic handling framework for presentation attributes in Stylo, with handling for font-size and color 2017-02-03 17:35:44 -08:00
gecko_bindings Basic handling framework for presentation attributes in Stylo, with handling for font-size and color 2017-02-03 17:35:44 -08:00
gecko_string_cache style: Document gecko_string_cache. 2017-01-02 12:58:07 +01:00
properties Make transform property animatable. 2017-02-04 08:54:00 +09:00
rule_tree style: Refactor the traversal so it's more easy to read and straight-forward. 2017-02-02 11:58:36 +01:00
servo Convert text-orientation to a Gecko-only property 2017-01-27 21:12:38 -08:00
values Basic handling framework for presentation attributes in Stylo, with handling for font-size and color 2017-02-03 17:35:44 -08:00
animation.rs Convert animation-iteration-count longhand into vector_longhand 2017-01-08 17:19:09 +03:00
attr.rs script: Don't avoid all the mutation notification methods when the style attribute changes. 2017-01-30 19:24:42 +01:00
bezier.rs More docs in style. 2017-01-02 10:40:20 +01:00
bloom.rs style: Document the bloom filter. 2016-12-31 23:24:18 +01:00
build.rs Bindgenup. 2017-01-25 10:42:44 +01:00
build_gecko.rs Bug 1335863 - Inline Gecko_IsHTMLElementInHTMLDocument. r=emilio 2017-02-02 14:32:23 -08:00
cache.rs style: Document and remove dead code from cache.rs 2016-12-31 04:53:37 +01:00
Cargo.toml BindgenUp 2017-02-03 21:31:55 +01:00
cascade_info.rs style: Document cascade_info. 2016-12-31 23:24:19 +01:00
context.rs Bug 1331856 - Add style performance statistics to Servo. r=emilio 2017-01-19 15:05:19 -08:00
custom_properties.rs style: Simplify the cascade function in the custom_properties module. 2017-01-02 12:57:56 +01:00
data.rs style: Refactor the traversal so it's more easy to read and straight-forward. 2017-02-02 11:58:36 +01:00
dom.rs Bug 1317209 - Part 5: Support transition cascade level. r=emilio 2017-01-24 18:44:07 +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 Rename CommaSeparated to OneOrMoreCommaSeparated, reflecting its behavior. 2017-02-03 13:15:53 +01:00
font_metrics.rs style: Document the font_metrics module. 2016-12-31 23:24:19 +01:00
keyframes.rs Assert if there is an important declaration while collecting animated properties in keyframes. 2017-02-01 07:33:37 +09:00
lib.rs changed quickersort with pdqsort 2017-01-27 18:42:22 +00:00
logical_geometry.rs Convert text-orientation to a Gecko-only property 2017-01-27 21:12:38 -08:00
matching.rs style: Refactor the traversal so it's more easy to read and straight-forward. 2017-02-02 11:58:36 +01: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 style: Expose the traversal kind to the style system. 2017-01-24 08:41:29 +01:00
parser.rs Rename CommaSeparated to OneOrMoreCommaSeparated, reflecting its behavior. 2017-02-03 13:15:53 +01:00
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
restyle_hints.rs style: Refactor the traversal so it's more easy to read and straight-forward. 2017-02-02 11:58:36 +01: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 style: Expose the traversal kind to the style system. 2017-01-24 08:41:29 +01: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 Support @supports (fixes #14786) 2017-01-07 23:17:50 -08:00
stylist.rs Allow empty keyframe and keyframes with non-animatable properties. 2017-02-01 07:06:38 +09: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 style: Refactor the traversal so it's more easy to read and straight-forward. 2017-02-02 11:58:36 +01:00
viewport.rs Change LengthOrPercentageOrAuto to make use of NoCalcLength 2017-01-29 02:30:34 +05:30

servo-style

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