[Bug 24228]: [Shadow] Revert the feature of <shadow> elements as a function call to the original behavior.