Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
pagedjs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cy Z
pagedjs
Commits
03fff076
Commit
03fff076
authored
Jun 16, 2020
by
julien
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lint
parent
0a1667c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
atpage.js
src/modules/paged-media/atpage.js
+1
-3
No files found.
src/modules/paged-media/atpage.js
View file @
03fff076
import
Handler
from
"
../handler
"
;
import
csstree
,
{
parse
}
from
"
css-tree
"
;
import
csstree
from
"
css-tree
"
;
import
pageSizes
from
"
../../polisher/sizes
"
;
import
{
rebuildAncestors
}
from
"
../../utils/dom
"
;
import
{
CSSValueToString
}
from
"
../../utils/utils
"
;
...
...
@@ -361,7 +361,6 @@ class AtPage extends Handler {
bottom
:
{}
};
}
console
.
log
(
declaration
);
parsed
.
border
.
top
=
csstree
.
generate
(
declaration
.
value
);
parsed
.
border
.
right
=
csstree
.
generate
(
declaration
.
value
);
parsed
.
border
.
left
=
csstree
.
generate
(
declaration
.
value
);
...
...
@@ -675,7 +674,6 @@ class AtPage extends Handler {
children
:
children
};
console
.
log
(
'
page.border :
'
,
page
.
border
);
let
rule
=
this
.
createRule
(
selectors
,
block
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment