Changeset 83400 in webkit
- Timestamp:
- Apr 10, 2011 10:35:54 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r83399 r83400 1 2011-04-10 Dimitri Glazkov <dglazkov@chromium.org> 2 3 Reviewed by Anders Carlsson. 4 5 REGRESSION(r83256): Text-decoration bleeds into shadow DOM 6 https://bugs.webkit.org/show_bug.cgi?id=58205 7 8 * platform/chromium/test_expectations.txt: Removed the test that starts 9 passing after this change. 10 1 11 2011-04-10 Dimitri Glazkov <dglazkov@chromium.org> 2 12 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r83399 r83400 3451 3451 BUGWK58193 WIN VISTA : svg/text/text-fonts-01-t.svg = IMAGE 3452 3452 BUGWK58193 WIN VISTA : svg/text/text-intro-05-t.svg = IMAGE 3453 3454 BUGWK58205 : media/controls-styling.html = IMAGE -
trunk/Source/WebCore/ChangeLog
r83397 r83400 1 2011-04-10 Dimitri Glazkov <dglazkov@chromium.org> 2 3 Reviewed by Anders Carlsson. 4 5 REGRESSION(r83256): Text-decoration bleeds into shadow DOM 6 https://bugs.webkit.org/show_bug.cgi?id=58205 7 8 Now that the shadow root is a never-styled element, we need to walk to 9 parent to find out if we're inside of a shadow DOM subtree. 10 11 Test: media/controls-styling.html 12 13 * css/CSSStyleSelector.cpp: 14 (WebCore::isAtShadowBoundary): Added helper function. 15 (WebCore::CSSStyleSelector::adjustRenderStyle): Changed to use the helper. 16 1 17 2011-04-07 Dimitri Glazkov <dglazkov@chromium.org> 2 18 -
trunk/Source/WebCore/css/CSSStyleSelector.cpp
r83345 r83400 1843 1843 } 1844 1844 1845 static inline bool isAtShadowBoundary(Element* element) 1846 { 1847 if (!element) 1848 return false; 1849 1850 ContainerNode* parentNode = element->parentNode(); 1851 return parentNode && parentNode->isShadowBoundary(); 1852 } 1853 1845 1854 void CSSStyleSelector::adjustRenderStyle(RenderStyle* style, RenderStyle* parentStyle, Element *e) 1846 1855 { … … 1967 1976 // tables, inline blocks, inline tables, run-ins, or shadow DOM. 1968 1977 if (style->display() == TABLE || style->display() == INLINE_TABLE || style->display() == RUN_IN 1969 || style->display() == INLINE_BLOCK || style->display() == INLINE_BOX || (e && e->isShadowRoot()))1978 || style->display() == INLINE_BLOCK || style->display() == INLINE_BOX || isAtShadowBoundary(e)) 1970 1979 style->setTextDecorationsInEffect(style->textDecoration()); 1971 1980 else
Note: See TracChangeset
for help on using the changeset viewer.