mirror of
https://github.com/SerenityOS/serenity
synced 2024-11-05 17:46:52 +00:00
1051624084
Calculate a "preferred aspect ratio" based on the value of `aspect-ratio` and the presence of a natural aspect ratio, and use that in layout. This is by no means complete or perfect, but we do now apply the given aspect-ratio to things. The spec is a bit vague, just saying to calculate sizes for aspect-ratio'ed boxes the same as you would for replaced elements. My naive solution here is to find everywhere we were checking for a ReplacedBox, and then also accept a regular Box with a preferred aspect ratio. This gets us pretty far. :^) https://www.w3.org/TR/css-sizing-4/#aspect-ratio-minimum is not at all implemented. |
||
---|---|---|
.. | ||
LibArchive | ||
LibAudio | ||
LibC | ||
LibCards | ||
LibChess | ||
LibCMake | ||
LibCodeComprehension | ||
LibCompress | ||
LibConfig | ||
LibCore | ||
LibCoredump | ||
LibCpp | ||
LibCrypt | ||
LibCrypto | ||
LibDebug | ||
LibDesktop | ||
LibDeviceTree | ||
LibDiff | ||
LibDNS | ||
LibDSP | ||
LibEDID | ||
LibELF | ||
LibFileSystem | ||
LibFileSystemAccessClient | ||
LibGemini | ||
LibGfx | ||
LibGL | ||
LibGLSL | ||
LibGPU | ||
LibGUI | ||
LibHTTP | ||
LibIDL | ||
LibImageDecoderClient | ||
LibIMAP | ||
LibIPC | ||
LibJS | ||
LibKeyboard | ||
LibLine | ||
LibLocale | ||
LibMain | ||
LibManual | ||
LibMarkdown | ||
LibPartition | ||
LibPCIDB | ||
LibPDF | ||
LibProtocol | ||
LibRegex | ||
LibSanitizer | ||
LibSoftGPU | ||
LibSQL | ||
LibSymbolication | ||
LibSyntax | ||
LibSystem | ||
LibTest | ||
LibTextCodec | ||
LibThreading | ||
LibTimeZone | ||
LibTLS | ||
LibUnicode | ||
LibUSBDB | ||
LibVideo | ||
LibVirtGPU | ||
LibVT | ||
LibWasm | ||
LibWeb | ||
LibWebSocket | ||
LibWebView | ||
LibX86 | ||
LibXML | ||
CMakeLists.txt |