Created attachment 402640 [details] Offset nesting test In Safari release, and Safari TP, the current child node's text-decoration-thickness and text-underline-offset always override all previously defined text-decoration-thickness and text-underline-offset properties of parent elements / decorating boxes. While working on Chromium's text-decoration-thickness and text-underline-offset, I noticed these discrepancies when writing a WPT test. Example test cases attached and available at: http://roettsch.es/thickness-nesting.html http://roettsch.es/offset-nesting.html Actual: WebKit paints offset underlines and thickness-defined underline all at the same offset / thickness. Expected: Decorations should be stacked and the individual thickness and offset properties should be adhered too.
Created attachment 402642 [details] Thickness nesting test
Created attachment 402643 [details] Offset nesting actual
Created attachment 402644 [details] Offset nesting expected
Created attachment 402645 [details] Thickness nesting actual
Created attachment 402646 [details] Thickness nesting expected
Potentially related to issue 203528.
<rdar://problem/64705955>
These are in WPT as http://wpt.live/css/css-text-decor/text-decoration-thickness-nesting-manual.html and http://wpt.live/css/css-text-decor/text-underline-offset-nesting-manual.html