[rfc-i] Sooo has anyone tried actually printing the new HTML style??

Phillip Hallam-Baker phill at hallambaker.com
Fri Aug 11 09:54:15 PDT 2017


This is likely to be a showstopper for folk trying to write tools using
lightweight lexical analysis.

On Fri, Aug 11, 2017 at 1:04 AM, Martin Thomson <martin.thomson at gmail.com>
wrote:

> Scoped stylesheets isn't a feature that you can rely on.  Firefox does
> (or did) support scoped stylesheets, but it wasn't widely implemented
> or used and has several problems.
>
> On 11 August 2017 at 14:25, Phillip Hallam-Baker <phill at hallambaker.com>
> wrote:
> > OK so here is the bigger problem. Firefox and Chrome do not appear to
> > recognize the scoped attribute on stylesheets. That is serious because it
> > means that the only way to display SVGs reliably is going to be to either
> > include them as external objects or process the style sheet and SVG to
> force
> > uniqueness.
> >
> > Worse still is that even doing that, the results of including the
> stylesheet
> > are different to linking externally. Even with a copy and paste.
> >
> > I would suggest MHTML but support to save in that format has disappeared
> > from all the browsers I use. This is not looking like a happy camper
> > situation.
> >
> >
> >
> > On Fri, Aug 11, 2017 at 12:13 AM, Phillip Hallam-Baker
> > <phill at hallambaker.com> wrote:
> >>
> >> I was having issues on Chrome and Edge. Commenting out these lines did
> the
> >> trick.
> >>
> >>   body {
> >>     font-family: 'Noto Serif', "Times New Roman", Times, serif;
> >>     width: 100%;
> >>   }
> >>
> >>
> >> On Thu, Aug 10, 2017 at 11:38 PM, Martin Thomson
> >> <martin.thomson at gmail.com> wrote:
> >>>
> >>> Worked for me.  Firefox on Windows.  I can produce a PDF, though it's
> >>> a tad large.
> >>>
> >>> On 11 August 2017 at 12:54, Phillip Hallam-Baker <
> phill at hallambaker.com>
> >>> wrote:
> >>> > I just completed my draft for the naming workshop. Seems to work fine
> >>> > on the
> >>> > screen but when I print... white text on white... argh!!!
> >>> >
> >>> > I am using the stylesheet from this with very minor tweakage:
> >>> > https://rfc-format.github.io/draft-iab-rfc-css-bis/
> >>> >
> >>> >
> >>> > Anyone skilled in stylesheetery?
> >>> >
> >>> > Example attached. This was produced from a Word document source. The
> >>> > next
> >>> > step being to generate xml2rfcv2 and v3 output, then markdown.
> >>> >
> >>> > I believe that the tool should work correctly with markdown or
> xml2rfc
> >>> > v3
> >>> > input.
> >>> >
> >>> >
> >>> > _______________________________________________
> >>> > rfc-interest mailing list
> >>> > rfc-interest at rfc-editor.org
> >>> > https://www.rfc-editor.org/mailman/listinfo/rfc-interest
> >>> >
> >>
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rfc-editor.org/pipermail/rfc-interest/attachments/20170811/522382e8/attachment-0001.html>


More information about the rfc-interest mailing list