Constant DEFAULT_CSS
Source pub const DEFAULT_CSS: &str = "/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n\n@namespace url(http://www.w3.org/1999/xhtml);\n/* set default namespace to HTML */\n@namespace xul url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);\n\n@font-face {\n font-family: -moz-bullet-font;\n src: url(\"data:font/woff2;base64,d09GMgABAAAAAARYAAwAAAAACqAAAAQFAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cBmAAgwIRCAqKDIcYATYCJAMsCxgABCAFg2AHIBtDCFGUrM0MyM/DGJyndUclpZwnU8QPQ6wsFOHO+/yHNvV9IEqSQgsVJW2p+uZkohKbVExPEz/JUW7zk6rzYH9723UJ/4DzBII8CSzwgFMOOE4KW2rjAmh4qQWSiid60f7Y9FsXScfUpeluagFqTTQYyoQaQSubXil0lHRsBehAI9KofG/6ogF9/Hl6lBd920LmeTxj8JXBfFWKwYAY3QsAAXD17ZAB4M6Ocv/nsZlkaTl0gLipewIQEMB2d9lKDAT1ZjP/F7jmWsQ3wn8AZvZFgIIC7ESh4AP1iFb4nPnfWyJgcQArpUWqW9W96j71kHr/L9a/dNRbj+8/ujXLWCMMFYVYiXoEaZQ4YOC/E7Dkz3JEjaokxAP6i3hIUjv9fwYyE6I3yIozKkaGN63fP36aeLJmxlRZwZiFziPrMVvOlnCF98SQJfGO/Xllv/FnWAcEjrMqaMCPwVmktCDO5zzxcXqeKS+QFxYnvJLFVzKZAFcKnlZRwHEPVM3mXxNt2gdZEpkKaIAG9gbgDTU5SOYDcmX7Rr61evEA1U+1/3SMb6FFtUqh55nYleE95j2zPNxzdlnGoR5xu/PxQKzb7bFaFLvl79Z54Lx9OH+g0/PPYlcsNo/nwP2V2vsHUHsV4KqEsd+e2r6Fu2v7abkfvsb65b41uwvRvqewH25kTntqolbYsEr5DAqrX97a0jrBLjFRExVHR2dH1Za6unyZfCVZHqQP0BtYjuUYlg9J6SurcrTEiOr26m5xcuTW4Sp3ljkUYWJ9+/iVmzbzPpcuXnGeqU3U7IKjz/qeKSSCltyhuSoxkqqTZX+DXt/OMmAikC8SzVD0jg3dbhIE0eUqc04UFFrxCSXzFxgHclzRMPe0ocOjiKRoSZISE0OtpkBjECdxkkRM1KiaJV0ed0V5umBP1wyUPL2ZBGLSDh5itIHahHRF0CY5nZMGib6T3cOmDvcTSZKuPiFJFpPRGNTIOq7jl5OjDiGIoo6qEE0QtfQJ3VYUD2RZvbm5uWWCWOgR4HXAk5GxLEO0izhLdvPTfpTV3xeOnOfT96uR53CdPrPq+P9HZvzO4QCMmDr7lTcNZorT6iMOYgI+IxClMzeCspeoLt5ABGSpta6gRZmQSnzk9e9jmOAYKC7RsyGMYaB6MpbNKMiRq2U6vI0yPZuTMiODFytMrGEBi7pjGgkAMoaNLGOFSoYceaZMx1+XTC/UNpmRzY1nmwT7AIcK+fK5lYNjz893lwMTuXlD2AKl8Md+24AxitRaLH/MUMqd9z862owy/bZTuZUqs1iRQop0KdLgZwPc9JS0lprnkef1gitBCRhjgV+vjGK8BfIV8CrlVghj1vIyZfyC/AJvqbsQYAEA/v+IAQA=\");\n}\n\n/* bidi */\n\n:-moz-has-dir-attr {\n unicode-bidi: isolate;\n}\n\n:-moz-dir-attr-rtl {\n direction: rtl;\n}\n\n:-moz-dir-attr-ltr {\n direction: ltr;\n}\n\n:-moz-dir-attr-like-auto:dir(ltr) {\n direction: ltr;\n}\n\n:-moz-dir-attr-like-auto:dir(rtl) {\n direction: rtl;\n}\n\n[popover]:not(:popover-open):not(dialog[open]) {\n display: none;\n}\n\na {\n color: rgb(0, 0, 238);\n text-decoration: underline;\n}\n\n/* https://html.spec.whatwg.org/#bidi-rendering */\ninput[type=tel]:dir(ltr) {\n direction: ltr;\n}\n\ninput {\n display: inline-block;\n}\n\ninput[type=\"checkbox\"] {\n width: 14px;\n height: 14px;\n margin: 3px 3px 3px 4px;\n}\n\ninput[type=\"radio\"] {\n width: 14px;\n height: 14px;\n border-radius: 14px;\n border: none;\n margin: 3px 3px 3px 4px;\n}\n\ninput,\ntextarea {\n border: 1px solid #999;\n padding: 2px;\n background-color: white;\n}\n\ninput:focus,\ntextarea:focus {\n outline: 2px #4D90FE;\n}\n\nbutton,\ninput[type=\"submit\"],\ninput[type=\"reset\"],\ninput[type=\"button\"] {\n border: 1px solid #999;\n border-radius: 1px;\n padding: 1px 6px;\n color: black;\n background-color: #EFEFEF;\n}\n\ninput[type=\"file\"] {\n border: none;\n padding: 0;\n background-color: transparent;\n}\n\n/* To ensure http://www.w3.org/TR/REC-html40/struct/dirlang.html#style-bidi:\n *\n * \"When a block element that does not have a dir attribute is transformed to\n * the style of an inline element by a style sheet, the resulting presentation\n * should be equivalent, in terms of bidirectional formatting, to the\n * formatting obtained by explicitly adding a dir attribute (assigned the\n * inherited value) to the transformed element.\"\n *\n * and the rules in http://dev.w3.org/html5/spec/rendering.html#rendering\n */\n\naddress,\narticle,\naside,\nblockquote,\nbody,\ncaption,\ncenter,\ncol,\ncolgroup,\ndd,\ndir,\ndiv,\ndl,\ndt,\nfieldset,\nfigcaption,\nfigure,\nfooter,\nform,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nheader,\nhgroup,\nhr,\nhtml,\nlegend,\nli,\nlisting,\nmain,\nmarquee,\nmenu,\nnav,\nnoframes,\nol,\np,\nplaintext,\npre,\nsearch,\nsection,\nsummary,\ntable,\ntbody,\ntd,\ntfoot,\nth,\nthead,\ntr,\nul,\nxmp {\n unicode-bidi: isolate;\n}\n\nbdi,\noutput {\n unicode-bidi: isolate;\n}\n\n/* We need the \"bdo:-moz-has-dir-attr\" bit because \"bdo\" has lower\n specificity than the \":-moz-has-dir-attr\" selector above. */\nbdo,\nbdo:-moz-has-dir-attr {\n unicode-bidi: isolate-override;\n}\n\ntextarea:-moz-dir-attr-like-auto,\npre:-moz-dir-attr-like-auto {\n unicode-bidi: plaintext;\n}\n\n/* blocks */\n\narticle,\naside,\ndetails,\ndiv,\ndt,\nfigcaption,\nfooter,\nform,\nheader,\nhgroup,\nhtml,\nmain,\nnav,\nsearch,\nsection,\nsummary {\n display: block;\n}\n\nbody {\n display: block;\n margin: 8px;\n}\n\np,\ndl,\nmulticol {\n display: block;\n margin-block-start: 1em;\n margin-block-end: 1em;\n}\n\ndd {\n display: block;\n margin-inline-start: 40px;\n}\n\nblockquote,\nfigure {\n display: block;\n margin-block-start: 1em;\n margin-block-end: 1em;\n margin-inline-start: 40px;\n margin-inline-end: 40px;\n}\n\naddress {\n display: block;\n font-style: italic;\n}\n\ncenter {\n display: block;\n text-align: -moz-center;\n}\n\nh1 {\n display: block;\n font-size: 2em;\n font-weight: bold;\n margin-block-start: .67em;\n margin-block-end: .67em;\n}\n\nh2 {\n display: block;\n font-size: 1.5em;\n font-weight: bold;\n margin-block-start: .83em;\n margin-block-end: .83em;\n}\n\nh3 {\n display: block;\n font-size: 1.17em;\n font-weight: bold;\n margin-block-start: 1em;\n margin-block-end: 1em;\n}\n\nh4 {\n display: block;\n font-size: 1.00em;\n font-weight: bold;\n margin-block-start: 1.33em;\n margin-block-end: 1.33em;\n}\n\nh5 {\n display: block;\n font-size: 0.83em;\n font-weight: bold;\n margin-block-start: 1.67em;\n margin-block-end: 1.67em;\n}\n\nh6 {\n display: block;\n font-size: 0.67em;\n font-weight: bold;\n margin-block-start: 2.33em;\n margin-block-end: 2.33em;\n}\n\nlisting {\n display: block;\n font-family: -moz-fixed;\n font-size: medium;\n white-space: pre;\n margin-block-start: 1em;\n margin-block-end: 1em;\n}\n\nxmp,\npre,\nplaintext {\n display: block;\n font-family: -moz-fixed;\n white-space: pre;\n margin-block-start: 1em;\n margin-block-end: 1em;\n}\n\n/* tables */\n\ntable {\n display: table;\n border-spacing: 2px;\n border-collapse: separate;\n /* XXXldb do we want this if we\'re border-collapse:collapse ? */\n box-sizing: border-box;\n text-indent: 0;\n}\n\ntable[align=\"left\"] {\n float: left;\n}\n\ntable[align=\"right\"] {\n float: right;\n text-align: start;\n}\n\n\n/* border collapse rules */\n\n/* Set hidden if we have \'frame\' or \'rules\' attribute.\n Set it on all sides when we do so there\'s more consistency\n in what authors should expect */\n\n/* Put this first so \'border\' and \'frame\' rules can override it. */\ntable[rules] {\n border-width: thin;\n border-style: hidden;\n}\n\n/* \'border\' before \'frame\' so \'frame\' overrides\n A border with a given value should, of course, pass that value\n as the border-width in pixels -> attr mapping */\n\n/* :-moz-table-border-nonzero is like [border]:not([border=\"0\"]) except it\n also checks for other zero-like values according to HTML attribute\n parsing rules */\ntable:-moz-table-border-nonzero {\n border-width: thin;\n border-style: outset;\n}\n\ntable[frame] {\n border: thin hidden;\n}\n\n/* specificity must beat table:-moz-table-border-nonzero rule above */\ntable[frame=\"void\"] {\n border-style: hidden;\n}\n\ntable[frame=\"above\"] {\n border-style: outset hidden hidden hidden;\n}\n\ntable[frame=\"below\"] {\n border-style: hidden hidden outset hidden;\n}\n\ntable[frame=\"lhs\"] {\n border-style: hidden hidden hidden outset;\n}\n\ntable[frame=\"rhs\"] {\n border-style: hidden outset hidden hidden;\n}\n\ntable[frame=\"hsides\"] {\n border-style: outset hidden;\n}\n\ntable[frame=\"vsides\"] {\n border-style: hidden outset;\n}\n\ntable[frame=\"box\"],\ntable[frame=\"border\"] {\n border-style: outset;\n}\n\n\n/* Internal Table Borders */\n\n/* \'border\' cell borders first */\n\ntable:-moz-table-border-nonzero>*>tr>td,\ntable:-moz-table-border-nonzero>*>tr>th,\ntable:-moz-table-border-nonzero>*>td,\ntable:-moz-table-border-nonzero>*>th,\ntable:-moz-table-border-nonzero>td,\ntable:-moz-table-border-nonzero>th {\n border-width: thin;\n border-style: inset;\n}\n\n/* collapse only if rules are really specified */\ntable[rules]:not([rules=\"none\"], [rules=\"\"]) {\n border-collapse: collapse;\n}\n\n/* only specified rules override \'border\' settings\n (increased specificity to achieve this) */\ntable[rules]:not([rules=\"\"])>tr>td,\ntable[rules]:not([rules=\"\"])>*>tr>td,\ntable[rules]:not([rules=\"\"])>tr>th,\ntable[rules]:not([rules=\"\"])>*>tr>th,\ntable[rules]:not([rules=\"\"])>td,\ntable[rules]:not([rules=\"\"])>th {\n border-width: thin;\n border-style: none;\n}\n\n\ntable[rules][rules=\"none\"]>tr>td,\ntable[rules][rules=\"none\"]>*>tr>td,\ntable[rules][rules=\"none\"]>tr>th,\ntable[rules][rules=\"none\"]>*>tr>th,\ntable[rules][rules=\"none\"]>td,\ntable[rules][rules=\"none\"]>th {\n border-width: thin;\n border-style: none;\n}\n\ntable[rules][rules=\"all\"]>tr>td,\ntable[rules][rules=\"all\"]>*>tr>td,\ntable[rules][rules=\"all\"]>tr>th,\ntable[rules][rules=\"all\"]>*>tr>th,\ntable[rules][rules=\"all\"]>td,\ntable[rules][rules=\"all\"]>th {\n border-width: thin;\n border-style: solid;\n}\n\ntable[rules][rules=\"rows\"]>tr,\ntable[rules][rules=\"rows\"]>*>tr {\n border-block-start-width: thin;\n border-block-end-width: thin;\n border-block-start-style: solid;\n border-block-end-style: solid;\n}\n\n\ntable[rules][rules=\"cols\"]>tr>td,\ntable[rules][rules=\"cols\"]>*>tr>td,\ntable[rules][rules=\"cols\"]>tr>th,\ntable[rules][rules=\"cols\"]>*>tr>th {\n border-inline-start-width: thin;\n border-inline-end-width: thin;\n border-inline-start-style: solid;\n border-inline-end-style: solid;\n}\n\ntable[rules][rules=\"groups\"]>colgroup {\n border-inline-start-width: thin;\n border-inline-end-width: thin;\n border-inline-start-style: solid;\n border-inline-end-style: solid;\n}\n\ntable[rules][rules=\"groups\"]>tfoot,\ntable[rules][rules=\"groups\"]>thead,\ntable[rules][rules=\"groups\"]>tbody {\n border-block-start-width: thin;\n border-block-end-width: thin;\n border-block-start-style: solid;\n border-block-end-style: solid;\n}\n\n\n/* caption inherits from table not table-outer */\ncaption {\n display: table-caption;\n text-align: center;\n}\n\ntable[align=\"center\"]>caption {\n margin-inline-start: auto;\n margin-inline-end: auto;\n}\n\ntable[align=\"center\"]>caption[align=\"left\"]:dir(ltr) {\n margin-inline-end: 0;\n}\n\ntable[align=\"center\"]>caption[align=\"left\"]:dir(rtl) {\n margin-inline-start: 0;\n}\n\ntable[align=\"center\"]>caption[align=\"right\"]:dir(ltr) {\n margin-inline-start: 0;\n}\n\ntable[align=\"center\"]>caption[align=\"right\"]:dir(rtl) {\n margin-inline-end: 0;\n}\n\ntr {\n display: table-row;\n vertical-align: inherit;\n}\n\ncol {\n display: table-column;\n}\n\ncolgroup {\n display: table-column-group;\n}\n\ntbody {\n display: table-row-group;\n vertical-align: middle;\n}\n\nthead {\n display: table-header-group;\n vertical-align: middle;\n}\n\ntfoot {\n display: table-footer-group;\n vertical-align: middle;\n}\n\n/* for XHTML tables without tbody */\ntable>tr {\n vertical-align: middle;\n}\n\ntd {\n display: table-cell;\n vertical-align: inherit;\n text-align: unset;\n padding: 1px;\n}\n\nth {\n display: table-cell;\n vertical-align: inherit;\n font-weight: bold;\n padding: 1px;\n text-align: -moz-center-or-inherit;\n}\n\n:is(tr, tbody, thead, tfoot, table)>form:-moz-is-html {\n /* Important: don\'t show these forms in HTML */\n display: none !important;\n}\n\ntable[bordercolor]>tbody,\ntable[bordercolor]>thead,\ntable[bordercolor]>tfoot,\ntable[bordercolor]>col,\ntable[bordercolor]>colgroup,\ntable[bordercolor]>tr,\ntable[bordercolor]>*>tr,\ntable[bordercolor]>tr>td,\ntable[bordercolor]>*>tr>td,\ntable[bordercolor]>tr>th,\ntable[bordercolor]>*>tr>th {\n border-color: inherit;\n}\n\n/* inlines */\n\nq:before {\n content: open-quote;\n}\n\nq:after {\n content: close-quote;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\ni,\ncite,\nem,\nvar,\ndfn {\n font-style: italic;\n}\n\ntt,\ncode,\nkbd,\nsamp {\n font-family: -moz-fixed;\n}\n\nu,\nins {\n text-decoration: underline;\n}\n\ns,\nstrike,\ndel {\n text-decoration: line-through;\n}\n\nbig {\n font-size: larger;\n}\n\nsmall {\n font-size: smaller;\n}\n\nsub {\n vertical-align: sub;\n font-size: smaller;\n}\n\nsup {\n vertical-align: super;\n font-size: smaller;\n}\n\nnobr {\n white-space: nowrap;\n}\n\nmark {\n background: Mark;\n color: MarkText;\n}\n\n/* titles */\nabbr[title],\nacronym[title] {\n text-decoration: dotted underline;\n}\n\n/* lists */\n\nul,\nmenu,\ndir {\n display: block;\n list-style-type: disc;\n margin-block-start: 1em;\n margin-block-end: 1em;\n padding-inline-start: 40px;\n}\n\nul,\nol,\nmenu {\n counter-reset: list-item;\n}\n\nol {\n display: block;\n list-style-type: decimal;\n margin-block-start: 1em;\n margin-block-end: 1em;\n padding-inline-start: 40px;\n}\n\nli {\n display: list-item;\n text-align: match-parent;\n}\n\n/* nested lists have no top/bottom margins */\n:is(ul, ol, dir, menu, dl) ul,\n:is(ul, ol, dir, menu, dl) ol,\n:is(ul, ol, dir, menu, dl) dir,\n:is(ul, ol, dir, menu, dl) menu,\n:is(ul, ol, dir, menu, dl) dl {\n margin-block-start: 0;\n margin-block-end: 0;\n}\n\n/* 2 deep unordered lists use a circle */\n:is(ol, ul, menu, dir) ul,\n:is(ol, ul, menu, dir) menu,\n:is(ol, ul, menu, dir) dir {\n list-style-type: circle;\n}\n\n/* 3 deep (or more) unordered lists use a square */\n:is(ol, ul, menu, dir) :is(ol, ul, menu, dir) ul,\n:is(ol, ul, menu, dir) :is(ol, ul, menu, dir) menu,\n:is(ol, ul, menu, dir) :is(ol, ul, menu, dir) dir {\n list-style-type: square;\n}\n\n\n/* leafs */\n\n/* <hr> noshade and color attributes are handled completely by\n * HTMLHRElement::MapAttributesIntoRule.\n * https://html.spec.whatwg.org/#the-hr-element-2\n */\nhr {\n color: gray;\n border-width: 1px;\n border-style: inset;\n margin-block-start: 0.5em;\n margin-block-end: 0.5em;\n margin-inline-start: auto;\n margin-inline-end: auto;\n overflow: hidden;\n\n /* FIXME: This is not really per spec */\n display: block;\n}\n\nhr[size=\"1\"] {\n border-style: solid none none none;\n}\n\n/* Note that we only intend for the alt content to show up if the image is\n * broken. But non-broken images/inputs will have a replaced box, and thus we\n * won\'t we don\'t generate the pseudo-element anyways. This prevents\n * unnecessary reframing when images become broken / non-broken. */\ninput[type=image]::before,\nimg::before {\n content: -moz-alt-content !important;\n unicode-bidi: isolate;\n}\n\nimg[usemap],\nobject[usemap] {\n color: blue;\n}\n\nframeset {\n display: block ! important;\n overflow: clip;\n position: static ! important;\n float: none ! important;\n border: none ! important;\n}\n\nframe {\n border-radius: 0 ! important;\n}\n\niframe {\n border: 2px inset;\n}\n\nspacer {\n position: static ! important;\n float: none ! important;\n}\n\ncanvas {\n user-select: none;\n}\n\niframe:focus-visible,\nbody:focus-visible,\nhtml:focus-visible {\n /* These elements historically don\'t show outlines when focused by default.\n * We could consider changing that if needed. */\n outline-style: none;\n}\n\n/* hidden elements: https://html.spec.whatwg.org/#hidden-elements\n *\n * Exceptions:\n *\n * * area declaration needs to be !important, see below / bug 135040. That\'s\n * hacky and broken.\n *\n * * [hidden] is implemented as a presentation attribute to avoid a global\n * selector in a UA sheet.\n */\nbase,\nbasefont,\ndatalist,\nhead,\nlink,\nmeta,\nnoembed,\nnoframes,\nparam,\nrp,\nscript,\nstyle,\ntemplate,\ntitle {\n display: none;\n}\n\narea {\n /* Don\'t give it frames other than its imageframe */\n display: none ! important;\n}\n\niframe:fullscreen {\n /* iframes in full-screen mode don\'t show a border. */\n border: none !important;\n padding: unset !important;\n}\n\n/* Details and summary\n * https://html.spec.whatwg.org/#the-details-and-summary-elements\n *\n * Note that these rules need to be duplicated in details.css for the anonymous\n * summary, which wouldn\'t match otherwise.\n *\n * The spec here says something different, see\n * https://github.com/whatwg/html/issues/8610\n */\ndetails>summary:first-of-type {\n display: list-item;\n counter-increment: list-item 0;\n list-style: disclosure-closed inside;\n}\n\ndetails[open]>summary:first-of-type {\n list-style-type: disclosure-open;\n}\n\n/* media elements */\nvideo {\n object-fit: contain;\n}\n\nvideo>img:-moz-native-anonymous {\n /* Video poster images should render with the video element\'s \"object-fit\" &\n \"object-position\" properties */\n object-fit: inherit !important;\n object-position: inherit !important;\n}\n\naudio:not([controls]) {\n display: none !important;\n}\n\naudio[controls] {\n /* This ensures that intrinsic sizing can reliably shrinkwrap our\n controls (which are also always horizontal) and produce a\n reasonable intrinsic size from them. */\n writing-mode: horizontal-tb !important;\n}\n\n*|*::-moz-html-canvas-content {\n display: block !important;\n /* we want to be an absolute and fixed container */\n transform: translate(0) !important;\n}\n\nvideo>.caption-box {\n width: 100%;\n height: 100%;\n position: relative;\n}\n\n/**\n * The pseudo element won\'t inherit CSS styles from its direct parent, `::cue`\n * would actually inherit styles from video because it\'s video\'s pseudo element.\n * Therefore, we have to explicitly set some styles which are already defined\n * in its parent element in vtt.jsm.\n */\n::cue {\n color: rgba(255, 255, 255, 1);\n white-space: pre-line;\n background-color: rgba(0, 0, 0, 0.8);\n font: 10px sans-serif;\n overflow-wrap: break-word;\n /* TODO : enable unicode-bidi, right now enable it would cause incorrect\n display direction, maybe related with bug 1558431. */\n}\n\n/* <dialog> element styles */\n\ndialog {\n position: absolute;\n display: block;\n inset-inline-start: 0;\n inset-inline-end: 0;\n margin: auto;\n border-width: initial;\n border-style: solid;\n border-color: initial;\n border-image: initial;\n padding: 1em;\n background-color: Canvas;\n color: CanvasText;\n width: -moz-fit-content;\n height: -moz-fit-content;\n}\n\ndialog:not([open]) {\n display: none;\n}\n\ndialog:modal {\n -moz-top-layer: top !important;\n position: fixed;\n overflow: auto;\n visibility: visible;\n inset-block-start: 0;\n inset-block-end: 0;\n max-width: calc(100% - 6px - 2em);\n max-height: calc(100% - 6px - 2em);\n}\n\n/* https://html.spec.whatwg.org/#flow-content-3 */\ndialog::backdrop {\n background: rgba(0, 0, 0, 0.1);\n}\n\nmarquee {\n inline-size: -moz-available;\n display: inline-block;\n vertical-align: text-bottom;\n text-align: start;\n}\n\nmarquee:is([direction=\"up\"], [direction=\"down\"]) {\n block-size: 200px;\n}\n\n/* Ruby */\n\nruby {\n display: ruby;\n}\n\nrb {\n display: ruby-base;\n white-space: nowrap;\n}\n\nrt {\n display: ruby-text;\n}\n\nrtc {\n display: ruby-text-container;\n}\n\nrtc,\nrt {\n white-space: nowrap;\n font-size: 50%;\n -moz-min-font-size-ratio: 50%;\n line-height: 1;\n}\n\n@media not (-moz-platform: windows) {\n\n rtc,\n rt {\n /* The widely-used Windows font Meiryo doesn\'t work fine with this\n * setting, so disable this on Windows. We should re-enable it once\n * Microsoft fixes this issue. See bug 1164279. */\n font-variant-east-asian: ruby;\n }\n}\n\nrtc,\nrt {\n text-emphasis: none;\n}\n\nrtc:lang(zh),\nrt:lang(zh) {\n ruby-align: center;\n}\n\nrtc:lang(zh-TW),\nrt:lang(zh-TW) {\n font-size: 30%;\n /* bopomofo */\n -moz-min-font-size-ratio: 30%;\n}\n\nrtc>rt {\n font-size: unset;\n}\n\nruby,\nrb,\nrt,\nrtc {\n unicode-bidi: isolate;\n}\n\n/* Shadow DOM v1\n * https://drafts.csswg.org/css-scoping/#slots-in-shadow-tree */\nslot {\n display: contents;\n}\n\n/* Un-invert images and videos for users using inverted colors.\n * \"User agents must add the following rule to their UA style sheet\"\n * https://www.w3.org/TR/mediaqueries-5/#inverted\n */\n@media (inverted-colors) {\n\n img:not(picture > img),\n picture,\n video {\n filter: invert(100%);\n }\n}\n\n/* Hide noscript elements if scripting is enabled */\n@media (scripting) {\n noscript {\n display: none !important;\n }\n}\n\n@media print {\n\n input,\n textarea,\n select,\n button,\n details {\n -moz-user-input: none !important;\n pointer-events: none !important;\n }\n}\n\n/* Popover UA style, https://html.spec.whatwg.org/#flow-content-3 */\n/* stylelint-disable-next-line media-query-no-invalid */\n@media (-moz-bool-pref: \"dom.element.popover.enabled\") {\n [popover]:not(:popover-open):not(dialog[open]) {\n display: none;\n }\n\n dialog:popover-open {\n display: block;\n }\n\n [popover] {\n position: fixed;\n inset: 0;\n width: fit-content;\n height: fit-content;\n margin: auto;\n border: solid;\n padding: 0.25em;\n overflow: auto;\n color: CanvasText;\n background-color: Canvas;\n }\n\n :popover-open {\n -moz-top-layer: top;\n }\n\n :popover-open::backdrop {\n position: fixed;\n inset: 0;\n pointer-events: none !important;\n background-color: transparent;\n }\n}\n";