This is easy to reproduce with the following example: <style>#foo { outline-offset: 10px; }</style> <div id="foo"></div> <script>console.log(getComputedStyle(foo).outlineOffset);</script> It should log 10px but it actually logs 0px. This is probably a mistake as "outline-width" is special on the spec (https://drafts.csswg.org/css-ui/#outline-props). For "outline-width" the computed value says: "absolute length; 0 if the outline style is none." But for "outline-offset" it says: "absolute length" There's a check causing this behavior at RenderStyle::outlineOffset().
Created attachment 395346 [details] Patch
Created attachment 395359 [details] Patch
Created attachment 395363 [details] Patch
Comment on attachment 395363 [details] Patch Looks reasonable.
Committed r259562: <https://trac.webkit.org/changeset/259562> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395363 [details].
<rdar://problem/61328192>