mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
2189015730
Looks like some users use it, and it's not too much effort to support. This is somewhat simpler, and IMO better than what existed before bug 1514655 because: * It doesn't regress bidi rendering when the pref is disabled (before, the pref would prevent plaintext.css from applying altogether). * It's consistent with the way view-source docs work. * It doesn't use non-standard stylesheet APIs to toggle the stylesheet (bug 1260720). Differential Revision: https://phabricator.services.mozilla.com/D37742 --HG-- extra : moz-landing-system : lando
17 lines
491 B
C++
17 lines
491 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef nsHtml5PlainTextUtils_h
|
|
#define nsHtml5PlainTextUtils_h
|
|
|
|
#include "nsHtml5HtmlAttributes.h"
|
|
|
|
class nsHtml5PlainTextUtils {
|
|
public:
|
|
static nsHtml5HtmlAttributes* NewLinkAttributes();
|
|
static nsHtml5HtmlAttributes* NewBodyAttributes();
|
|
};
|
|
|
|
#endif // nsHtml5PlainTextUtils_h
|