ladybird/Tests/LibWeb/Text/expected/namespace-objects-default-property-attributes.txt
Sam Atkins 82f5be871a LibWeb: Generate the "Numeric Factory" OM methods on the CSS namespace
Generating boilerplate is nice! This also has the bonus that we're more
correct: I included all the units listed in the spec before,
(see https://drafts.css-houdini.org/css-typed-om-1/#numeric-factory )
but we're supposed to exactly include ones for the units we support:

> If an implementation supports additional CSS units that do not have a
  corresponding method in the above list, but that do correspond to one
  of the existing CSSNumericType values, it must additionally support
  such a method, named after the unit in its defined canonical casing,
  using the generic behavior defined above.

> If an implementation does not support a given unit, it must not
  implement its corresponding method from the list above.

Now, our factory functions will exactly match the units we support.

The changed test result is partly the order being different, and partly
that the container-query units are no longer included as we don't
actually support them.
2025-09-11 17:06:44 +01:00

372 lines
11 KiB
Text

== CSS property descriptors
escape writable: true
escape configurable: true
escape enumerable: true
escape value before: function escape() { [native code] }
escape value after: replaced
supports writable: true
supports configurable: true
supports enumerable: true
supports value before: function supports() { [native code] }
supports value after: replaced
registerProperty writable: true
registerProperty configurable: true
registerProperty enumerable: true
registerProperty value before: function registerProperty() { [native code] }
registerProperty value after: replaced
number writable: true
number configurable: true
number enumerable: true
number value before: function number() { [native code] }
number value after: replaced
percent writable: true
percent configurable: true
percent enumerable: true
percent value before: function percent() { [native code] }
percent value after: replaced
deg writable: true
deg configurable: true
deg enumerable: true
deg value before: function deg() { [native code] }
deg value after: replaced
grad writable: true
grad configurable: true
grad enumerable: true
grad value before: function grad() { [native code] }
grad value after: replaced
rad writable: true
rad configurable: true
rad enumerable: true
rad value before: function rad() { [native code] }
rad value after: replaced
turn writable: true
turn configurable: true
turn enumerable: true
turn value before: function turn() { [native code] }
turn value after: replaced
fr writable: true
fr configurable: true
fr enumerable: true
fr value before: function fr() { [native code] }
fr value after: replaced
Hz writable: true
Hz configurable: true
Hz enumerable: true
Hz value before: function Hz() { [native code] }
Hz value after: replaced
kHz writable: true
kHz configurable: true
kHz enumerable: true
kHz value before: function kHz() { [native code] }
kHz value after: replaced
cap writable: true
cap configurable: true
cap enumerable: true
cap value before: function cap() { [native code] }
cap value after: replaced
ch writable: true
ch configurable: true
ch enumerable: true
ch value before: function ch() { [native code] }
ch value after: replaced
cm writable: true
cm configurable: true
cm enumerable: true
cm value before: function cm() { [native code] }
cm value after: replaced
dvb writable: true
dvb configurable: true
dvb enumerable: true
dvb value before: function dvb() { [native code] }
dvb value after: replaced
dvh writable: true
dvh configurable: true
dvh enumerable: true
dvh value before: function dvh() { [native code] }
dvh value after: replaced
dvi writable: true
dvi configurable: true
dvi enumerable: true
dvi value before: function dvi() { [native code] }
dvi value after: replaced
dvmax writable: true
dvmax configurable: true
dvmax enumerable: true
dvmax value before: function dvmax() { [native code] }
dvmax value after: replaced
dvmin writable: true
dvmin configurable: true
dvmin enumerable: true
dvmin value before: function dvmin() { [native code] }
dvmin value after: replaced
dvw writable: true
dvw configurable: true
dvw enumerable: true
dvw value before: function dvw() { [native code] }
dvw value after: replaced
em writable: true
em configurable: true
em enumerable: true
em value before: function em() { [native code] }
em value after: replaced
ex writable: true
ex configurable: true
ex enumerable: true
ex value before: function ex() { [native code] }
ex value after: replaced
ic writable: true
ic configurable: true
ic enumerable: true
ic value before: function ic() { [native code] }
ic value after: replaced
in writable: true
in configurable: true
in enumerable: true
in value before: function in() { [native code] }
in value after: replaced
lh writable: true
lh configurable: true
lh enumerable: true
lh value before: function lh() { [native code] }
lh value after: replaced
lvb writable: true
lvb configurable: true
lvb enumerable: true
lvb value before: function lvb() { [native code] }
lvb value after: replaced
lvh writable: true
lvh configurable: true
lvh enumerable: true
lvh value before: function lvh() { [native code] }
lvh value after: replaced
lvi writable: true
lvi configurable: true
lvi enumerable: true
lvi value before: function lvi() { [native code] }
lvi value after: replaced
lvmax writable: true
lvmax configurable: true
lvmax enumerable: true
lvmax value before: function lvmax() { [native code] }
lvmax value after: replaced
lvmin writable: true
lvmin configurable: true
lvmin enumerable: true
lvmin value before: function lvmin() { [native code] }
lvmin value after: replaced
lvw writable: true
lvw configurable: true
lvw enumerable: true
lvw value before: function lvw() { [native code] }
lvw value after: replaced
mm writable: true
mm configurable: true
mm enumerable: true
mm value before: function mm() { [native code] }
mm value after: replaced
pc writable: true
pc configurable: true
pc enumerable: true
pc value before: function pc() { [native code] }
pc value after: replaced
pt writable: true
pt configurable: true
pt enumerable: true
pt value before: function pt() { [native code] }
pt value after: replaced
px writable: true
px configurable: true
px enumerable: true
px value before: function px() { [native code] }
px value after: replaced
Q writable: true
Q configurable: true
Q enumerable: true
Q value before: function Q() { [native code] }
Q value after: replaced
rcap writable: true
rcap configurable: true
rcap enumerable: true
rcap value before: function rcap() { [native code] }
rcap value after: replaced
rch writable: true
rch configurable: true
rch enumerable: true
rch value before: function rch() { [native code] }
rch value after: replaced
rem writable: true
rem configurable: true
rem enumerable: true
rem value before: function rem() { [native code] }
rem value after: replaced
rex writable: true
rex configurable: true
rex enumerable: true
rex value before: function rex() { [native code] }
rex value after: replaced
ric writable: true
ric configurable: true
ric enumerable: true
ric value before: function ric() { [native code] }
ric value after: replaced
rlh writable: true
rlh configurable: true
rlh enumerable: true
rlh value before: function rlh() { [native code] }
rlh value after: replaced
svb writable: true
svb configurable: true
svb enumerable: true
svb value before: function svb() { [native code] }
svb value after: replaced
svh writable: true
svh configurable: true
svh enumerable: true
svh value before: function svh() { [native code] }
svh value after: replaced
svi writable: true
svi configurable: true
svi enumerable: true
svi value before: function svi() { [native code] }
svi value after: replaced
svmax writable: true
svmax configurable: true
svmax enumerable: true
svmax value before: function svmax() { [native code] }
svmax value after: replaced
svmin writable: true
svmin configurable: true
svmin enumerable: true
svmin value before: function svmin() { [native code] }
svmin value after: replaced
svw writable: true
svw configurable: true
svw enumerable: true
svw value before: function svw() { [native code] }
svw value after: replaced
vb writable: true
vb configurable: true
vb enumerable: true
vb value before: function vb() { [native code] }
vb value after: replaced
vh writable: true
vh configurable: true
vh enumerable: true
vh value before: function vh() { [native code] }
vh value after: replaced
vi writable: true
vi configurable: true
vi enumerable: true
vi value before: function vi() { [native code] }
vi value after: replaced
vmax writable: true
vmax configurable: true
vmax enumerable: true
vmax value before: function vmax() { [native code] }
vmax value after: replaced
vmin writable: true
vmin configurable: true
vmin enumerable: true
vmin value before: function vmin() { [native code] }
vmin value after: replaced
vw writable: true
vw configurable: true
vw enumerable: true
vw value before: function vw() { [native code] }
vw value after: replaced
dpcm writable: true
dpcm configurable: true
dpcm enumerable: true
dpcm value before: function dpcm() { [native code] }
dpcm value after: replaced
dpi writable: true
dpi configurable: true
dpi enumerable: true
dpi value before: function dpi() { [native code] }
dpi value after: replaced
dppx writable: true
dppx configurable: true
dppx enumerable: true
dppx value before: function dppx() { [native code] }
dppx value after: replaced
x writable: true
x configurable: true
x enumerable: true
x value before: function x() { [native code] }
x value after: replaced
ms writable: true
ms configurable: true
ms enumerable: true
ms value before: function ms() { [native code] }
ms value after: replaced
s writable: true
s configurable: true
s enumerable: true
s value before: function s() { [native code] }
s value after: replaced
== WebAssembly property descriptors
validate writable: true
validate configurable: true
validate enumerable: true
validate value before: function validate() { [native code] }
validate value after: replaced
compile writable: true
compile configurable: true
compile enumerable: true
compile value before: function compile() { [native code] }
compile value after: replaced
compileStreaming writable: true
compileStreaming configurable: true
compileStreaming enumerable: true
compileStreaming value before: function compileStreaming() { [native code] }
compileStreaming value after: replaced
instantiate writable: true
instantiate configurable: true
instantiate enumerable: true
instantiate value before: function instantiate() { [native code] }
instantiate value after: replaced
instantiateStreaming writable: true
instantiateStreaming configurable: true
instantiateStreaming enumerable: true
instantiateStreaming value before: function instantiateStreaming() { [native code] }
instantiateStreaming value after: replaced
CompileError writable: true
CompileError configurable: true
CompileError enumerable: false
CompileError value before: function CompileError() { [native code] }
CompileError value after: replaced
LinkError writable: true
LinkError configurable: true
LinkError enumerable: false
LinkError value before: function LinkError() { [native code] }
LinkError value after: replaced
RuntimeError writable: true
RuntimeError configurable: true
RuntimeError enumerable: false
RuntimeError value before: function RuntimeError() { [native code] }
RuntimeError value after: replaced
Global writable: true
Global configurable: true
Global enumerable: false
Global value before: function Global() { [native code] }
Global value after: replaced
Instance writable: true
Instance configurable: true
Instance enumerable: false
Instance value before: function Instance() { [native code] }
Instance value after: replaced
Memory writable: true
Memory configurable: true
Memory enumerable: false
Memory value before: function Memory() { [native code] }
Memory value after: replaced
Module writable: true
Module configurable: true
Module enumerable: false
Module value before: function Module() { [native code] }
Module value after: replaced
Table writable: true
Table configurable: true
Table enumerable: false
Table value before: function Table() { [native code] }
Table value after: replaced