servo/components/style/properties/longhands
Boris Chiou 87231e676d
style: Add percentage for opacity (i.e. <alpha-value>).
The following properties accept <alpha-value> [1], which is
"<number> | <percentage>", so we update the parser, spec links, and
their web-platform-tests.
1. opacity
2. flood-opacity
3. fill-opacity
4. stroke-opacity
5. stop-opacity
6. -moz-window-opacity

Besides, shape-image-threshold [2] still only accepts <number>, so we need
to support a different version of `Opacity::parse()`.

[1] https://drafts.csswg.org/css-color/#typedef-alpha-value
[2] https://drafts.csswg.org/css-shapes/#shape-image-threshold-property

Differential Revision: https://phabricator.services.mozilla.com/D37493
2019-07-23 22:54:04 +02:00
..
background.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
border.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
box.mako.rs style: Add percentage for opacity (i.e. <alpha-value>). 2019-07-23 22:54:04 +02:00
column.mako.rs style: Derive more stuff for clip rects. 2019-03-13 15:08:32 +01:00
counters.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
effects.mako.rs style: Add percentage for opacity (i.e. <alpha-value>). 2019-07-23 22:54:04 +02:00
font.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
inherited_box.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
inherited_svg.mako.rs style: Add percentage for opacity (i.e. <alpha-value>). 2019-07-23 22:54:04 +02:00
inherited_table.mako.rs style: Convert NS_STYLE_BORDER to an enum class in nsStyleConsts.h. 2019-05-07 12:55:56 +02:00
inherited_text.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
inherited_ui.mako.rs style: Don't apply property restrictions to pseudo-elements in UA stylesheets. 2019-07-23 22:54:01 +02:00
list.mako.rs style: Add an inherited internal UA sheet property (-moz-list-reversed:true|false) to propagate <ol reversed> to its relevant descendants. 2019-03-27 14:29:22 +01:00
margin.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
outline.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
padding.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
position.mako.rs style: Add an internal aspect-ratio CSS property. 2019-07-08 12:43:58 +02:00
svg.mako.rs style: Add percentage for opacity (i.e. <alpha-value>). 2019-07-23 22:54:04 +02:00
table.mako.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
text.mako.rs style: Set the property restrictions flags from the centralized list. 2019-07-23 22:54:04 +02:00
ui.mako.rs style: Unprefix user-select. 2019-05-29 16:14:17 +02:00
xul.mako.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00