mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
style: Move background-repeat and mask-repeat outside of mako.
This commit is contained in:
parent
326f914018
commit
fd1e2c1f3f
8 changed files with 168 additions and 126 deletions
|
@ -3659,7 +3659,7 @@ fn static_assert() {
|
|||
%>
|
||||
|
||||
<%self:simple_image_array_property name="repeat" shorthand="${shorthand}" field_name="mRepeat">
|
||||
use properties::longhands::${shorthand}_repeat::single_value::computed_value::RepeatKeyword;
|
||||
use values::specified::background::RepeatKeyword;
|
||||
use gecko_bindings::structs::nsStyleImageLayers_Repeat;
|
||||
use gecko_bindings::structs::StyleImageLayerRepeat;
|
||||
|
||||
|
@ -3682,7 +3682,7 @@ fn static_assert() {
|
|||
|
||||
pub fn clone_${shorthand}_repeat(&self) -> longhands::${shorthand}_repeat::computed_value::T {
|
||||
use properties::longhands::${shorthand}_repeat::single_value::computed_value::T;
|
||||
use properties::longhands::${shorthand}_repeat::single_value::computed_value::RepeatKeyword;
|
||||
use values::specified::background::RepeatKeyword;
|
||||
use gecko_bindings::structs::StyleImageLayerRepeat;
|
||||
|
||||
fn to_servo(repeat: StyleImageLayerRepeat) -> RepeatKeyword {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue