mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
In Gecko, we use double pointers to nsBorderColors to store -moz-border-*-colors. We can simplify the implementation of computed value in Servo by using Option<Vec>. As to passing computed values from Servo to Gecko, we might need to use some binding functions (pre-added in the same Gecko bug, see Bug 1348173). Note that we added -moz-border-*-colors as sub_properties of the 'border' shorthand, so we can make the 'border' shorthand reset -moz-border-*-colors (See Gecko Bug 482692). However, since they are Gecko only non-standard properties, we should skip these sub_properties while doing unit testing in Servo. The test part should be convered by Stylo/Gecko already. A bit refactoring of replacing all ["top", "right", "bottom", "left"] with PHYSICAL_SIDES is included in this patch, since we've already had PHYSICAL_SIDES for a while. |
||
---|---|---|
.. | ||
helpers | ||
longhand | ||
shorthand | ||
build.py | ||
data.py | ||
declaration_block.rs | ||
gecko.mako.rs | ||
helpers.mako.rs | ||
Mako-0.9.1.zip | ||
properties.html.mako | ||
properties.mako.rs |