Aspose.CSS for TypeScript brings modern CSS layout to HTML rendering from TypeScript and JavaScript: flexbox, grid and document flow, rendered to PDF documents and PNG images inside your own process. Page size, margins, orientation and breaks are set with CSS; fonts, images and stylesheets load from files, streams or your own resource handler. Screen-layout geometry is measured against Chromium on selected Web Platform Tests layout suites, and the compatibility report is published with each release. Aspose.CSS for TypeScript is in development; the .NET release ships first, with Python, Java, C++ and TypeScript following on the same engine design.
Aspose.CSS for TypeScript Features
Browser-designed documents: the CSS layouts your team designs in the browser, carried into application output
CSS flexbox layouts
CSS grid layouts
Document flow: block, inline and table layout
HTML to PDF
HTML to PNG
PDF page setup: size, margins and orientation with CSS @page
Page breaks: forced and avoided breaks, widows and orphans
Fonts and text: system and embedded fonts, fallback, shaping and bidirectional text
Resources from files, streams or your own handler
In-process rendering: no browser to install, automate, update or secure
Chromium compatibility report published with each release
Designed in the Browser, Delivered as a Document
Your team already designs in HTML and CSS and reviews the result in a browser. Aspose.CSS for TypeScript carries that layout into PDF documents and PNG previews generated by your TypeScript or JavaScript application, so the approved screen design becomes the output you ship, without a browser process in production.
Measured Against Chromium
CSS fidelity is a measured characteristic of this engine, not merely a feature list. Screen-layout geometry is evaluated against Chromium test by test on selected Web Platform Tests layout suites, and every release publishes a compatibility report documenting the test scope, tolerance, results and known differences.