Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • pagedjs pagedjs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 231
    • Issues 231
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pagedjs
  • pagedjspagedjs
  • Issues
  • #45
Closed
Open
Issue created Jun 28, 2018 by Boris Budini@kominoshja🛡Owner

Values of content() function

content() function: content() = content([text | before | after | first-letter ])

The content() function is called in the property string-set:
string-set: <name> content([text | before | after | first-letter ]);

For now, only content(text) is implemented. We need the other values:


before

The string value of the ::before pseudo-element, determined as if white-space: normal had been set.

HTML: content-before.html

The result we should get: content-before-correct.pdf


after

The string value of the ::after pseudo-element, determined as if white-space: normal had been set.

HTML: content-after.html

The result we should get: content-after-correct.pdf


first-letter

The first letter of the element, as defined for the ::first-letter pseudo-element

HTML: content-first-letter.html

The result we should get: content-first-letter-correct.pdf

Assignee
Assign to
Time tracking