Skip to content

Commit

Permalink
Enable stretch keyword (#81)
Browse files Browse the repository at this point in the history
In #79 we forgot to set the relevant pref to true.
We will be adding support for these sizing keywords in Servo, so better
enable it so that we can test that it works well.

Signed-off-by: Oriol Brufau <[email protected]>
  • Loading branch information
Loirooriol authored Oct 5, 2024
1 parent dd8d32c commit a8cc501
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions style_static_prefs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ macro_rules! pref {
("layout.css.basic-shape-xywh.enabled") => {
true
};
("layout.css.stretch-size-keyword.enabled") => {
true
};
($string:literal) => {
false
};
Expand Down

0 comments on commit a8cc501

Please sign in to comment.