Skip to content

Commit

Permalink
Update snapshot for css support
Browse files Browse the repository at this point in the history
  • Loading branch information
davesnx committed Jul 9, 2024
1 parent 77db1ea commit 1951658
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ If this test fail means that the module is not in sync with the ppx
CssJs.unsafe({js|textOverflow|js}, {js|clip 'foo'|js});
CssJs.unsafe({js|textOverflow|js}, {js|ellipsis 'foo'|js});
CssJs.unsafe({js|textOverflow|js}, {js|'foo' 'foo'|js});
CssJs.unsafe({js|userSelect|js}, {js|auto|js});
CssJs.unsafe({js|userSelect|js}, {js|text|js});
CssJs.unsafe({js|userSelect|js}, {js|none|js});
CssJs.unsafe({js|userSelect|js}, {js|contain|js});
CssJs.unsafe({js|userSelect|js}, {js|all|js});
CssJs.userSelect(`auto);
CssJs.userSelect(`text);
CssJs.userSelect(`none);
CssJs.userSelect(`contain);
CssJs.userSelect(`all);

$ dune build
2 changes: 1 addition & 1 deletion packages/ppx/test/css-support/selectors.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ If this test fail means that the module is not in sync with the ppx
let _chart =
CssJs.style([|
CssJs.label("_chart"),
CssJs.unsafe({js|userSelect|js}, {js|none|js}),
CssJs.userSelect(`none),
CssJs.selector(
{js|.recharts-cartesian-grid-horizontal|js},
[|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
CssJs.selector(
{js|pre|js},
[|
CssJs.fontFamilies([|`monospace, `monospace|]),
CssJs.fontFamilies([|"monospace", "monospace"|]),
CssJs.fontSize(`em(1.)),
|],
),
Expand All @@ -44,7 +44,7 @@
CssJs.selector(
{js|code, kbd, samp|js},
[|
CssJs.fontFamilies([|`monospace, `monospace|]),
CssJs.fontFamilies([|"monospace", "monospace"|]),
CssJs.fontSize(`em(1.)),
|],
),
Expand All @@ -64,7 +64,7 @@
CssJs.selector(
{js|button, input, optgroup, select, textarea|js},
[|
CssJs.unsafe({js|font-family|js}, {js|inherit|js}),
CssJs.unsafe({js|fontFamily|js}, {js|inherit|js}),
CssJs.fontSize(`percent(100.)),
CssJs.lineHeight(`abs(1.15)),
CssJs.margin(`zero),
Expand Down

0 comments on commit 1951658

Please sign in to comment.