We should use computedStyle instead.
Created attachment 236588 [details] patch
Attachment 236588 [details] did not pass style-queue: ERROR: Source/WebCore/dom/Element.cpp:2865: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 236588 [details] patch r=me Would be nice if we could allow style sharing for option and optgroup after this is fixed.
https://trac.webkit.org/r172591