[CherryPick] Fullscreen element should not share styles with its siblings
authorSeonae Kim <sunaeluv.kim@samsung.com>
Tue, 30 Apr 2013 09:36:58 +0000 (18:36 +0900)
committerSeonae Kim <sunaeluv.kim@samsung.com>
Tue, 30 Apr 2013 09:36:58 +0000 (18:36 +0900)
commitbb2bc101c7aa6e299feec04b5077f7d4c9087aed
tree57d5593da0b97becb25326ea951515195d2f540f
parent2c1c81e371e542b56bd7435e933a0e9815853ffc
[CherryPick] Fullscreen element should not share styles with its siblings

[Title][CherryPick] Fullscreen element should not share styles with its siblings
[Issue] N/A
[Problem] The size of video element is calculated incorrectly sometimes when entering fullscreen.
[Cause] If fullscreen element has sibling, do share the style of sibling element.
[Solution] Cherry picked.
[Cherry-Picker] Seonae Kim

Fullscreen element should not share styles with it's siblings.
https://bugs.webkit.org/show_bug.cgi?id=106888

Reviewed by NOBODY (OOPS!).

Test: fullscreen/full-screen-no-style-sharing.html

* css/StyleResolver.cpp:
(WebCore::StyleResolver::canShareStyleWithElement):

Change-Id: I533bad9411777947546fbf37e0c9bf32f7166593
LayoutTests/fullscreen/full-screen-no-style-sharing-expected.txt [new file with mode: 0644]
LayoutTests/fullscreen/full-screen-no-style-sharing.html [new file with mode: 0644]
Source/WebCore/css/StyleResolver.cpp