mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 17:09:43 +00:00
Checking that the string parsed for the `font` property is not enough, the spec also wants to rule out CSS-wide keywords like `inherit`. The simplest way to do so is to check if it's a ShorthandStyleValue, which also rules out use of `var()`; this matches other browsers' behaviour. The newly-added test would previously crash, and now doesn't. :^) |
||
|---|---|---|
| .. | ||
| CanvasCompositing.h | ||
| CanvasCompositing.idl | ||
| CanvasDrawImage.cpp | ||
| CanvasDrawImage.h | ||
| CanvasDrawImage.idl | ||
| CanvasDrawPath.h | ||
| CanvasDrawPath.idl | ||
| CanvasFillStrokeStyles.h | ||
| CanvasFillStrokeStyles.idl | ||
| CanvasImageData.h | ||
| CanvasImageData.idl | ||
| CanvasImageSmoothing.h | ||
| CanvasImageSmoothing.idl | ||
| CanvasPath.cpp | ||
| CanvasPath.h | ||
| CanvasPath.idl | ||
| CanvasPathDrawingStyles.h | ||
| CanvasPathDrawingStyles.idl | ||
| CanvasRect.h | ||
| CanvasRect.idl | ||
| CanvasState.cpp | ||
| CanvasState.h | ||
| CanvasState.idl | ||
| CanvasText.h | ||
| CanvasText.idl | ||
| CanvasTextDrawingStyles.h | ||
| CanvasTextDrawingStyles.idl | ||
| CanvasTransform.h | ||
| CanvasTransform.idl | ||