Files
ladybird/Tests/LibWeb/Text/expected/css/FontFace.txt
Andrew Kaster 2bc51f08d9 LibWeb: Implement or stub FontFace interface's attribute getters/setters
We only support parsing half of these, so the ones we don't recognize
get a friendly exception thrown.
2024-05-11 07:30:29 +01:00

20 lines
709 B
Plaintext

face.family: Some font family
face.style: normal
face.weight: normal
face.stretch: normal
face.unicodeRange: U+0-10FFFF
face.featureSettings: normal
face.variationSettings: normal
face.display: auto
face.ascentOverride: normal
face.descentOverride: normal
face.lineGapOverride: normal
face.family: Another font family
face.style: italic
face.weight: bold
face.stretch: condensed
face.family = 1: SyntaxError: FontFace.family setter: Invalid font descriptor
face.style = 1: SyntaxError: FontFace.style setter: Invalid font descriptor
face.weight = 500kg: SyntaxError: FontFace.weight setter: Invalid font descriptor
face.stretch = super stretched: SyntaxError: FontFace.stretch setter: Invalid font descriptor