diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-03-31 23:33:15 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-03-31 23:45:46 +0200 |
commit | b55dc711c6c4d8bc47b7ac2c9cf303c4dbf822f3 (patch) | |
tree | c8c9d43026481cd76ec15644a468cd2865520204 /src/styleengine.cc | |
parent | c54576fb442f1198b70fc7f3021d2bbeaa2fc045 (diff) |
Add support for the main HTML tag
Fixes: https://github.com/dillo-browser/dillo/issues/109
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 97ca417e..77d19db3 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -2,6 +2,7 @@ * File: styleengine.cc * * Copyright 2008-2009 Johannes Hofmann <Johannes.Hofmann@gmx.de> + * Copyright 2024 Rodrigo Arias Mallo <rodarima@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -997,7 +998,7 @@ void StyleEngine::init () { ":visited {color: #800080; text-decoration: underline; cursor: pointer}" "h1, h2, h3, h4, h5, h6, b, strong {font-weight: bolder}" "address, article, aside, center, div, figure, figcaption, footer," - " h1, h2, h3, h4, h5, h6, header, nav, ol, p, pre, section, ul" + " h1, h2, h3, h4, h5, h6, header, main, nav, ol, p, pre, section, ul" " {display: block}" "i, em, cite, address, var {font-style: italic}" ":link img, :visited img {border: 1px solid}" |