1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

LibWeb: Add basic HTML meter element support

This commit is contained in:
Bastiaan van der Plaat 2023-11-25 14:32:40 +01:00 committed by Sam Atkins
parent 761d824b72
commit 2107ab823d
13 changed files with 442 additions and 14 deletions

View file

@ -559,6 +559,18 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector)
case CSS::Selector::PseudoElement::Marker:
pseudo_element_description = "marker";
break;
case CSS::Selector::PseudoElement::MeterBar:
pseudo_element_description = "-webkit-meter-bar";
break;
case CSS::Selector::PseudoElement::MeterEvenLessGoodValue:
pseudo_element_description = "-webkit-meter-even-less-good-value";
break;
case CSS::Selector::PseudoElement::MeterOptimumValue:
pseudo_element_description = "-webkit-meter-optimum-value";
break;
case CSS::Selector::PseudoElement::MeterSuboptimumValue:
pseudo_element_description = "-webkit-meter-suboptimum-value";
break;
case CSS::Selector::PseudoElement::ProgressBar:
pseudo_element_description = "-webkit-progress-bar";
break;