DescriptionDon't use RenderStyle::clone unless there is actually a RenderObject to attach the cloned style to.
Non-renderer-based elements such as optGroup do not have renderers.
BUG=348330
R=esprehn@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168394
Patch Set 1 #Patch Set 2 : Retry. #Patch Set 3 : Retry. #Patch Set 4 : Addressed comment. #Patch Set 5 : Retry. #Patch Set 6 : Retry. #Patch Set 7 : Retry 2. #Patch Set 8 : Again. #
Total comments: 2
Patch Set 9 : Addressed comment. #Messages
Total messages: 10 (0 generated)
|