mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb/CSS: Correct definition of CSSNumericType
What I thought was a spec issue was actually a combination of my own misunderstanding and a bug in our IDL generator. With that bug fixed, I can correct this to how it is in the spec.
This commit is contained in:
parent
ffb236adbd
commit
9264f540dd
Notes:
github-actions[bot]
2025-08-29 09:58:35 +00:00
Author: https://github.com/AtkinsSJ
Commit: 9264f540dd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5955
Reviewed-by: https://github.com/trflynn89
7 changed files with 45 additions and 48 deletions
|
@ -15,14 +15,14 @@
|
|||
namespace Web::CSS {
|
||||
|
||||
struct CSSNumericType {
|
||||
WebIDL::Long length {};
|
||||
WebIDL::Long angle {};
|
||||
WebIDL::Long time {};
|
||||
WebIDL::Long frequency {};
|
||||
WebIDL::Long resolution {};
|
||||
WebIDL::Long flex {};
|
||||
WebIDL::Long percent {};
|
||||
Optional<Bindings::CSSNumericBaseType> percent_hint {};
|
||||
Optional<WebIDL::Long> length;
|
||||
Optional<WebIDL::Long> angle;
|
||||
Optional<WebIDL::Long> time;
|
||||
Optional<WebIDL::Long> frequency;
|
||||
Optional<WebIDL::Long> resolution;
|
||||
Optional<WebIDL::Long> flex;
|
||||
Optional<WebIDL::Long> percent;
|
||||
Optional<Bindings::CSSNumericBaseType> percent_hint;
|
||||
};
|
||||
|
||||
// https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue