mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 07:09:41 +00:00
LibWeb: Parse anchor()
function for inset properties
This commit is contained in:
parent
ba6b82464c
commit
1d9e4a6f62
Notes:
github-actions[bot]
2025-08-03 20:10:50 +00:00
Author: https://github.com/tcl3
Commit: 1d9e4a6f62
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5691
Reviewed-by: https://github.com/gmta ✅
17 changed files with 2725 additions and 5 deletions
|
@ -830,7 +830,9 @@ bool property_accepts_type(PropertyID property_id, ValueType value_type)
|
|||
if (enum_names.contains_slow(type_name))
|
||||
continue;
|
||||
|
||||
if (type_name == "angle") {
|
||||
if (type_name == "anchor") {
|
||||
property_generator.appendln(" case ValueType::Anchor:");
|
||||
} else if (type_name == "angle") {
|
||||
property_generator.appendln(" case ValueType::Angle:");
|
||||
} else if (type_name == "background-position") {
|
||||
property_generator.appendln(" case ValueType::BackgroundPosition:");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue