servo/components/style/values/generics
Boris Chiou bb65d1fb6d
style: Define path() for clip-path.
For now, |clip-path: path()| is chrome-only, and not for shape-outside,
so we only implement the parser for clip-path. Besides, I didn't put
path() in BasicShape because path() doesn't use the reference box to
resolve the percentage or keywords (i.e. SVG path only accept floating
point or integer number as the css pixel value). Therefore, I add it into
ShapeSource, instead of BasicShape.

Differential Revision: https://phabricator.services.mozilla.com/D3633
2018-09-03 12:32:50 +02:00
..
background.rs style: Refactor vector types. 2018-05-28 15:37:28 +02:00
basic_shape.rs style: Define path() for clip-path. 2018-09-03 12:32:50 +02:00
border.rs style: Move represents_keyword to the css attributes. 2018-05-05 16:20:22 +02:00
box.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
color.rs style: Correct background/foreground ratio mixing. 2018-07-16 19:44:04 +02:00
column.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
counters.rs style: Remove stray newline. 2018-07-01 00:11:08 +02:00
effects.rs style: Distinguish between specified and computed URLs. 2018-05-19 10:15:17 +02:00
flex.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
font.rs Implement font fallback 2018-05-19 14:33:36 +10:00
gecko.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
grid.rs style: Add some attributes for SpecifiedValueInfo to help deriving more from types. 2018-04-29 03:28:48 +02:00
image.rs style: Fix tidy issues and Servo build. 2018-04-29 05:09:43 +02:00
mod.rs style: Extract {animated,computed}::Color common parts. 2018-06-12 12:15:15 -07:00
position.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
rect.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
size.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
svg.rs style: Refactor vector types. 2018-05-28 15:37:28 +02:00
text.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00
transform.rs style: Avoid getting zero normalized vector of rotate3d for animations. 2018-07-24 03:26:12 +02:00
ui.rs style: Rename CaretColor to ColorOrAuto for reusing. 2018-05-28 15:36:55 +02:00
url.rs style: Add a ValueInfo trait for exposing types needed by devtools. 2018-04-29 03:28:34 +02:00