|
Lines 1-3
a/Source/WebCore/ChangeLog_sec1
|
|
|
1 |
2012-05-14 Eric Seidel <eric@webkit.org> |
| 2 |
|
| 3 |
Styles are not recalculated when the seamless attribute is dynamically added/removed |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=86315 |
| 5 |
|
| 6 |
Reviewed by NOBODY (OOPS!). |
| 7 |
|
| 8 |
Covered by fast/frames/seamless/seamless-css-cascade.html. |
| 9 |
|
| 10 |
* html/HTMLIFrameElement.cpp: |
| 11 |
(WebCore::HTMLIFrameElement::isPresentationAttribute): |
| 12 |
- Make seamless a presentational attribute, which means style on the <iframe> will |
| 13 |
be forced to recalculate when it changes. This is correct, but not observable |
| 14 |
until the layout changes are landed (as then the iframe should correctly revert to not |
| 15 |
being sized to fit its content if seamless is removed). |
| 16 |
(WebCore::HTMLIFrameElement::parseAttribute): |
| 17 |
- When the seamless attribute is added or remove, force the content document to recalc |
| 18 |
its style resolver, which will refresh the list of inherited stylesheets from the |
| 19 |
parent. This doesn't need to happen synchronously. When the layout changes land |
| 20 |
the content document will actually cause that recalc to redirect to the parent document |
| 21 |
in the seamless case anyway, but it's more correct to ask the content document directly. |
| 22 |
|
| 1 |
2012-05-14 Takashi Sakamoto <tasak@google.com> |
23 |
2012-05-14 Takashi Sakamoto <tasak@google.com> |
| 2 |
|
24 |
|
| 3 |
Crash in WebCore::RenderObject::repaint |
25 |
Crash in WebCore::RenderObject::repaint |