Changeset 109417 in webkit
- Timestamp:
- Mar 1, 2012 1:53:23 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r109402 r109417 1 2012-03-01 Joe Thomas <joethomas@motorola.com> 2 3 :empty still applies to elements made non-empty via page dynamics. 4 https://bugs.webkit.org/show_bug.cgi?id=79734 5 6 Check for :empty style change should be made even if the RenderStyle for the element is NULL 7 as changes to the element's children can trigger a change in :empty state of the parent element. 8 9 Reviewed by Antti Koivisto. 10 11 * fast/selectors/empty-element-made-non-empty-expected.txt: Added. 12 * fast/selectors/empty-element-made-non-empty.html: Added. 13 1 14 2012-03-01 Kangil Han <kangil.han@samsung.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r109411 r109417 1 2012-03-01 Joe Thomas <joethomas@motorola.com> 2 3 :empty still applies to elements made non-empty via page dynamics. 4 https://bugs.webkit.org/show_bug.cgi?id=79734 5 6 Check for :empty style change should be made even if the RenderStyle for the element is NULL 7 as changes to the element's children can trigger a change in :empty state of the parent element. 8 9 Reviewed by Antti Koivisto. 10 11 Test: fast/selectors/empty-element-made-non-empty.html 12 13 * dom/Element.cpp: 14 (WebCore::checkForSiblingStyleChanges): 15 1 16 2012-02-29 Nat Duca <nduca@chromium.org> 2 17 -
trunk/Source/WebCore/dom/Element.cpp
r109285 r109417 1216 1216 Node* beforeChange, Node* afterChange, int childCountDelta) 1217 1217 { 1218 // :empty selector. 1219 checkForEmptyStyleChange(e, style); 1220 1218 1221 if (!style || (e->needsStyleRecalc() && style->childrenAffectedByPositionalRules())) 1219 1222 return; … … 1287 1290 (style->childrenAffectedByBackwardPositionalRules() && beforeChange)) 1288 1291 e->setNeedsStyleRecalc(); 1289 1290 // :empty selector.1291 checkForEmptyStyleChange(e, style);1292 1292 } 1293 1293
Note: See TracChangeset
for help on using the changeset viewer.