1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:41:00 +00:00
serenity/Userland
Shannon Booth 83758d4cdd LibWeb: Wrap PseudoElements stored in SimpleSelector in a class
No functional impact intended. This is just a more complicated way of
writing what we have now.

The goal of this commit is so that we are able to store the 'name' of a
pseudo element for use in serializing 'unknown -webkit-
pseudo-elements', see:

https://www.w3.org/TR/selectors-4/#compat

This is quite awkward, as in pretty much all cases just the selector
type enum is enough, but we will need to cache the name for serializing
these unknown selectors. I can't figure out any reason why we would need
this name anywhere else in the engine, so pretty much everywhere is
still just passing around this raw enum. But this change will allow us
to easily store the name inside of this new struct for when it is needed
for serialization, once those webkit unknown elements are supported by
our engine.
2023-12-11 16:54:59 +01:00
..
Applets LibGfx: Remove indexed palette formats from Bitmap and Painter 2023-10-12 07:39:05 +02:00
Applications Ladybird+LibWebView: Ensure existing Inspector widgets inspect the page 2023-12-10 16:45:08 +01:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos LibGUI: Split HorizontalSlider to separate header 2023-12-08 01:06:09 +01:00
DevTools Userland+Tests: Add initial riscv64 support 2023-11-10 10:30:08 -07:00
DynamicLoader DynamicLoader: Make heuristic for running directly actually correct 2023-11-27 09:27:34 -07:00
Games Solitaire: Ability to automatically solve the end of the game 2023-12-10 00:02:32 +01:00
Libraries LibWeb: Wrap PseudoElements stored in SimpleSelector in a class 2023-12-11 16:54:59 +01:00
Services LibWeb: Wrap PseudoElements stored in SimpleSelector in a class 2023-12-11 16:54:59 +01:00
Shell Everywhere: Avoid calling from_utf8 on FlyString or String 2023-12-10 09:45:03 +01:00
Utilities LibPDF: Add parameter for background color of render 2023-12-10 16:44:24 +01:00
CMakeLists.txt