Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mincss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
mincss
Commits
b3d2ee53
Commit
b3d2ee53
authored
10 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup
parent
faa045b9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shorthand.ml
+3
-3
3 additions, 3 deletions
shorthand.ml
with
3 additions
and
3 deletions
shorthand.ml
+
3
−
3
View file @
b3d2ee53
...
@@ -215,7 +215,7 @@ let rec unfold = function
...
@@ -215,7 +215,7 @@ let rec unfold = function
* | top right bottom left
* | top right bottom left
* | all
* | all
*)
*)
|
((
"margin"
|
"padding"
)
as
base
,
value
,
imp
)
::
tl
->
|
((
"margin"
|
"padding"
)
as
base
,
value
,
imp
)
::
tl
->
let
(
top
,
right
,
bottom
,
left
)
=
let
(
top
,
right
,
bottom
,
left
)
=
match
value
with
match
value
with
|
Concat
[
top
;
right
;
bottom
;
left
]
->
|
Concat
[
top
;
right
;
bottom
;
left
]
->
...
@@ -265,8 +265,8 @@ let make_shorthands decls =
...
@@ -265,8 +265,8 @@ let make_shorthands decls =
let
keep_prop
=
function
let
keep_prop
=
function
|
(
"line-height"
,
_
,
_
)
->
|
(
"line-height"
,
_
,
_
)
->
not
(
decls_mem
"font"
shorthands
)
not
(
decls_mem
"font"
shorthands
)
|
(
name
,
_
,
imp
)
->
|
(
name
,
_
,
imp
ortant
)
->
imp
||
imp
ortant
||
not
(
Str
.
string_match
pattern
name
0
)
||
not
(
Str
.
string_match
pattern
name
0
)
||
let
base
=
Str
.
matched_group
1
name
in
let
base
=
Str
.
matched_group
1
name
in
let
sub
=
Str
.
matched_group
2
name
in
let
sub
=
Str
.
matched_group
2
name
in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment