diff --git a/.ecode/project_build.json b/.ecode/project_build.json index 159f08674..9e6098a1d 100644 --- a/.ecode/project_build.json +++ b/.ecode/project_build.json @@ -220,7 +220,7 @@ "working_dir": "${project_root}/bin" }, { - "args": "-filter=\"UIRichText.InvalidWidthLengthComputation3\"", + "args": "", "command": "${project_root}/bin/unit_tests/eepp-unit_tests-debug", "name": "eepp-unit_tests-debug", "working_dir": "${project_root}/bin/unit_tests/" diff --git a/bin/assets/ui/breeze.css b/bin/assets/ui/breeze.css index f94ebed13..36f0bb0a7 100644 --- a/bin/assets/ui/breeze.css +++ b/bin/assets/ui/breeze.css @@ -52,91 +52,13 @@ droppable-hovering-color: #FFFFFF20; } -MarkdownView > *, -body { - color: var(--font); -} - -b, -strong { - font-style: bold; -} - -small { - font-size: smaller; -} - -u, -ins { - text-decoration: underline; -} - -s, -del { - text-decoration: strikethrough; -} - -i, -em, -cite { - font-style: italic; -} - -CodeEditor, -code, -kbd { - font-family: monospace; -} - -h1 { - font-size: 2em; - font-weight: bold; -} - -h2 { - font-size: 1.5em; - font-weight: bold; -} - -h3 { - font-size: 1.17em; - font-weight: bold; -} - -h4 { - font-size: 1em; - font-weight: bold; -} - -h5 { - font-size: 0.83em; - font-weight: bold; -} - -h6 { - font-size: 0.67em; - font-weight: bold; -} - -a { - cursor: arrow; - text-decoration: none; -} - -a:hover { - text-decoration: underline; - cursor: hand; -} - -sub, -sup { - font-size: smaller; -} - -blockquote { - padding-left: 8dp; +MarkdownView { background-color: var(--list-back); - border-left: 2dp solid var(--tab-line); + padding: 4dp; +} + +MarkdownView body { + color: var(--font); } MarkdownView p, @@ -171,11 +93,6 @@ MarkdownView a:hover { color: var(--font-highlight); } -MarkdownView { - background-color: var(--list-back); - padding: 4dp; -} - MarkdownView li > p { margin: 0; } MarkdownView blockquote > *:first-child { margin-top: 0dp; } MarkdownView blockquote > *:last-child { margin-bottom: 0dp; } diff --git a/bin/unit_tests/assets/html/eepp-uihtmltable-complex-layout-2.webp b/bin/unit_tests/assets/html/eepp-uihtmltable-complex-layout-2.webp index a9fa7b7dd..f06d8b567 100644 Binary files a/bin/unit_tests/assets/html/eepp-uihtmltable-complex-layout-2.webp and b/bin/unit_tests/assets/html/eepp-uihtmltable-complex-layout-2.webp differ diff --git a/bin/unit_tests/assets/html/element_defaults.html b/bin/unit_tests/assets/html/element_defaults.html new file mode 100644 index 000000000..f77de6360 --- /dev/null +++ b/bin/unit_tests/assets/html/element_defaults.html @@ -0,0 +1,146 @@ + + +
+ +This page exercises all elements whose defaults were moved to widget-creation code.
+ +function() Ctrl+CA paragraph of text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+Another paragraph with a
line break in the middle.
preformatted text + with spaces + and newlines+
++This is a blockquote. It should have left border, left padding, and background.
+Multiple paragraphs in a blockquote.
+
| Header A | Header B | Header C |
|---|---|---|
| Cell 1 | Cell 2 | Cell 3 |
| Cell 4 | Cell 5 | Cell 6 |
| Footer 1 | Footer 2 | Footer 3 |
Hidden content revealed when summary is clicked.
+This content is visible by default.
+