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

Martin Thomson martin.thomson at gmail.com
Thu Aug 10 22:04:30 PDT 2017


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
>>> >
>>
>>
>


More information about the rfc-interest mailing list