summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/SVGBox.h
diff options
context:
space:
mode:
authorMax Wipfli <mail@maxwipfli.ch>2021-06-04 11:38:57 +0200
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-06-05 00:32:28 +0430
commit44c438d0ca1e44ed11be5ed96eb409e1760467f7 (patch)
treedba68c403652fd385d85b9ad872cff8347a4c7af /Userland/Libraries/LibWeb/Layout/SVGBox.h
parent932161e5817561028bdb5685182ad3f78db5e1b5 (diff)
downloadserenity-44c438d0ca1e44ed11be5ed96eb409e1760467f7.zip
LibWeb: Fix off-by-one error in SyntaxHighlighter
This changes the HTML SyntaxHighlighter to conform to the now-fixed rendering of syntax highlighting spans in GUI::TextEditor. It also avoids emitting tokens if they have a zero or negative length. This fixes a bug where single-character tokens were not highlighted properly.
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/SVGBox.h')
0 files changed, 0 insertions, 0 deletions