LibWeb: Add pointer-events: all

This is basically the same as `auto` in the spec, so let's just treat
them as identical for now. Gets rid of some Discord CSS parser
spam. :^)
This commit is contained in:
Sam Atkins 2022-02-07 17:19:33 +00:00 committed by Andreas Kling
commit 48c6cf92e3
Notes: sideshowbarker 2024-07-17 19:38:34 +09:00
4 changed files with 6 additions and 0 deletions

View file

@ -415,6 +415,8 @@ Optional<CSS::PointerEvents> StyleProperties::pointer_events() const
switch (value.value()->to_identifier()) {
case CSS::ValueID::Auto:
return CSS::PointerEvents::Auto;
case CSS::ValueID::All:
return CSS::PointerEvents::All;
case CSS::ValueID::None:
return CSS::PointerEvents::None;
default: