#include <AK/String.h>
namespace  Web::CSS {
extern String quirks_mode_stylesheet_source;
String quirks_mode_stylesheet_source = R"~~~(@namespace "http://www.w3.org/1999/xhtml";

/* 15.3.3 Flow content
 * https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3
 */

form {
    margin-block-end: 1em;
}

/* 15.3.7 Lists
 * https://html.spec.whatwg.org/multipage/rendering.html#lists:quirks-mode
 */

li { list-style-position: inside; }
li :is(dir, menu, ol, ul) { list-style-position: outside; }
:is(dir, menu, ol, ul) :is(dir, menu, ol, ul, li) { list-style-position: unset; }

/* 15.3.8 Tables
 * https://html.spec.whatwg.org/multipage/rendering.html#tables-2
 */

table {
    font-weight: initial;
    font-style: initial;
    font-variant: initial;
    font-size: initial;
    line-height: initial;
    white-space: initial;
    text-align: initial;
}

/* 15.3.10 Form controls
 * https://html.spec.whatwg.org/multipage/rendering.html#form-controls
 */

input:not([type=image i]), textarea {
    box-sizing: border-box;
}

/* 15.4.2 Images
 * https://html.spec.whatwg.org/multipage/rendering.html#images-3
 */

img[align=left i] {
    margin-right: 3px;
}

img[align=right i] {
    margin-left: 3px;
}
)~~~"_string;
}
