https://bugzilla.wikimedia.org/show_bug.cgi?id=68008

Gabriel Wicke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Gabriel Wicke <[email protected]> ---
(In reply to Matt Walker from comment #2)
> Right now none of those points are on our roadmap at all. The new parser
> works by taking the RDF produced by parsoid and massaging it. We don't
> currently have plans for the new parser to understand CSS rules; in that
> regard it'll act in much the same way as the old renderer.

I'd remark though that we did originally think about using PhantomJS on the
server to render HTML+CSS to PDF. For individual pages, the same can be
achieved in most modern browsers by printing to a PDF right in the browser. I'm
not sure how good the print styles applied in that case currently are. They can
however be improved by the community on a per-project basis by wrapping
print-only styles in a media query block:

@media print {
  /* print-only rules */
}

In the longer term it seems likely that we'll add a server-side browser-based
renderer as well. This would provide the same browser-based PDF render
functionality also to users of older browsers, and for entire collections of
articles. Any improvements to the print styles done in the meantime will
benefit the server-side renderer as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to