ladybird/Userland
Timothy Flynn 5a2bf7fdd1 LibWeb: Set the correct end position of HTML attribute names
We were previously setting the end position of attribute names in self-
closing HTML tags to the end of the attribute value. To illustrate the
previous behavior, consider this tag and its attribute's start and end
positions (shown inclusively below):

    <meta charset="UTF-8" />
          ^ name start
                  ^ value start
                        ^ value end
                        ^ name end

Rather than setting the end position of the attribute name when we parse
the closing slash, ensure the end position is already set while we are
in the AttributeName state. We now have:

    <meta charset="UTF-8" />
          ^ name start
                ^ name end
                  ^ value start
                        ^ value end

The tokenizer unit test has been extended to test these positions.
2023-08-25 08:22:24 +02:00
..
Applets LibGUI: Add deprecated suffix to {set_,}tooltip in Widget 2023-08-18 10:43:37 +01:00
Applications Browser: Do not visualize trailing whitespace in the source viewer 2023-08-25 05:39:32 +02:00
BuggieBox Userland: Pretty print the help text in BuggieBox 2023-08-09 02:10:02 +02:00
Demos Mandelbrot: Pledge unix to enable image export 2023-08-17 07:14:54 +02:00
DevTools LibGUI: Replace DeprecatedString usage in Widget 2023-08-18 10:43:37 +01:00
DynamicLoader LibC+LibELF: Support loading shared libraries compiled with dynamic TLS 2023-08-18 16:20:13 +02:00
Games Flood: Replace usage of DeprecatedString 2023-08-23 13:28:07 +02:00
Libraries LibWeb: Set the correct end position of HTML attribute names 2023-08-25 08:22:24 +02:00
Services WebContent+LibWebView: Add support for user style sheets 2023-08-23 05:32:10 +02:00
Shell Shell: Add builtin command to reset the internal state 2023-08-11 18:48:53 +03:30
Utilities Ladybird+LibWebView: Migrate input completions to LibWebView callbacks 2023-08-23 12:07:02 -04:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00