Improve wavy underline rendering
Created attachment 308119 [details]
Comment on attachment 308119 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=308119&action=review
I take it, the only real way to regression test this is pixel tests?
> // Distance between decoration's axis and Bezier curve's control points.
> // The height of the curve is based on this distance. Use a minimum of 6 pixels distance since
> // the actual curve passes approximately at half of that distance, that is 3 pixels.
> // The minimum height of the curve is also approximately 3 pixels. Increases the curve's height
> // as strokeThickness increases to make the curve look better.
Is this comment still correct?
Fixed in r215802.