Changeset 64890 in webkit
- Timestamp:
- Aug 6, 2010 6:56:07 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r64887 r64890 1 2010-08-06 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 REGRESSION (r64712): YouTube video pages have contents of <noembed> elements overlapping the video description 6 https://bugs.webkit.org/show_bug.cgi?id=43605 7 8 Show test progression. We missed this regression when analyzing the 9 expectation diffs because the DOM was correct and was a progression. 10 11 * fast/dom/no-elements-expected.txt: 12 * platform/mac/fast/parser/nofoo-tags-inside-paragraph-expected.txt: 13 1 14 2010-08-06 Dimitri Glazkov <dglazkov@chromium.org> 2 15 -
trunk/LayoutTests/fast/dom/no-elements-expected.txt
r64712 r64890 1 1 This tests that the elements noframes, nolayer, noscript and noembed are created as elements and put in the DOM tree. The elements other than <nolayer> should not contain any children. If the test is successful, the four messages below will list 0, 0, 0, and 1 child. 2 2 3 This is no embed. This is nolayer.3 This is nolayer. 4 4 noframes has 1 children. 5 5 noscript has 1 children. -
trunk/LayoutTests/platform/mac/fast/parser/nofoo-tags-inside-paragraph-expected.txt
r64712 r64890 31 31 RenderText {#text} at (0,0) size 329x18 32 32 text run at (0,0) width 329: "This sentence contains noembed tags and should be " 33 RenderInline {NOEMBED} at (0,0) size 0x034 33 RenderText {#text} at (329,0) size 74x18 35 34 text run at (329,0) width 74: "on one line." -
trunk/WebCore/ChangeLog
r64889 r64890 1 2010-08-06 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 REGRESSION (r64712): YouTube video pages have contents of <noembed> elements overlapping the video description 6 https://bugs.webkit.org/show_bug.cgi?id=43605 7 8 The old parser used to drop <noembed> on the floor. We're supposed to 9 add it to the DOM, but we don't want to create a renderer for it. 10 11 * html/HTMLElement.cpp: 12 (WebCore::HTMLElement::rendererIsNeeded): 13 1 14 2010-08-06 Tony Gentilcore <tonyg@chromium.org> 2 15 -
trunk/WebCore/html/HTMLElement.cpp
r64018 r64890 987 987 return inEitherTagList(newChild); 988 988 } 989 989 990 990 bool HTMLElement::rendererIsNeeded(RenderStyle *style) 991 991 { … … 995 995 if (frame && frame->script()->canExecuteScripts(NotAboutToExecuteScript)) 996 996 return false; 997 } 997 } else 998 998 #endif 999 if (hasLocalName(noembedTag)) { 1000 Frame* frame = document()->frame(); 1001 if (frame && frame->loader()->subframeLoader()->allowPlugins(NotAboutToInstantiatePlugin)) 1002 return false; 1003 } 999 1004 return StyledElement::rendererIsNeeded(style); 1000 1005 } 1001 1006 1002 1007 RenderObject* HTMLElement::createRenderer(RenderArena* arena, RenderStyle* style) 1003 1008 {
Note: See TracChangeset
for help on using the changeset viewer.