mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-17 21:49:42 +00:00
LibWeb: Implement plumbing for view transitions
This implements large parts of the CSS view-transitions-1 spec.
This commit is contained in:
parent
4f0e8236a0
commit
56739b4b16
Notes:
github-actions[bot]
2025-09-07 12:59:13 +00:00
Author: https://github.com/Psychpsyo
Commit: 56739b4b16
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5155
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/gmta
Reviewed-by: https://github.com/kalenikaliaksandr ✅
22 changed files with 1516 additions and 4 deletions
|
@ -262,8 +262,13 @@ u32 Selector::specificity() const
|
|||
break;
|
||||
}
|
||||
case SimpleSelector::Type::TagName:
|
||||
// count the number of type selectors and pseudo-elements in the selector (= C)
|
||||
++tag_names;
|
||||
break;
|
||||
case SimpleSelector::Type::PseudoElement:
|
||||
// count the number of type selectors and pseudo-elements in the selector (= C)
|
||||
// FIXME: This needs special handling for view transition pseudos:
|
||||
// https://drafts.csswg.org/css-view-transitions-1/#named-view-transition-pseudo
|
||||
++tag_names;
|
||||
break;
|
||||
case SimpleSelector::Type::Universal:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue