RESOLVED FIXED 118300
[CSS Regions] Improve implementation of elements in region being flowed to another flow thread
https://bugs.webkit.org/show_bug.cgi?id=118300
Summary [CSS Regions] Improve implementation of elements in region being flowed to an...
Radu Stavila
Reported 2013-07-02 06:18:49 PDT
Attachments
Patch (30.35 KB, patch)
2013-07-02 11:11 PDT, Radu Stavila
no flags
Patch (fixed styling issue) (30.35 KB, patch)
2013-07-02 11:22 PDT, Radu Stavila
no flags
buildfix for !ENABLE(CSS_REGIONS) builds (2.63 KB, patch)
2013-07-03 01:33 PDT, Zoltan Arvai
no flags
Radu Stavila
Comment 1 2013-07-02 11:11:31 PDT
Radu Stavila
Comment 2 2013-07-02 11:11:42 PDT
WebKit Commit Bot
Comment 3 2013-07-02 11:14:24 PDT
Attachment 205927 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast/regions/flow-body-in-html.html', u'LayoutTests/fast/regions/region-content-flown-into-region-expected.html', u'LayoutTests/fast/regions/region-content-flown-into-region.html', u'LayoutTests/fast/regions/universal-selector-children-to-the-same-region.html', u'Source/WebCore/ChangeLog', u'Source/WebCore/dom/Element.cpp', u'Source/WebCore/dom/Element.h', u'Source/WebCore/dom/ElementRareData.h', u'Source/WebCore/dom/Node.cpp', u'Source/WebCore/dom/Node.h', u'Source/WebCore/dom/NodeRenderingContext.cpp', u'Source/WebCore/dom/NodeRenderingContext.h', u'Source/WebCore/dom/PseudoElement.h', u'Source/WebCore/dom/Text.cpp', u'Source/WebCore/dom/Text.h', u'Source/WebCore/rendering/FlowThreadController.cpp', u'Source/WebCore/rendering/FlowThreadController.h', u'Source/WebCore/rendering/RenderObject.h', u'Source/WebCore/rendering/RenderRegion.h', u'Source/WebCore/svg/SVGElement.cpp', u'Source/WebCore/svg/SVGElement.h']" exit_code: 1 Source/WebCore/dom/NodeRenderingContext.cpp:251: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 1 in 20 files If any of these errors are false positives, please file a bug against check-webkit-style.
Radu Stavila
Comment 4 2013-07-02 11:22:11 PDT
Created attachment 205929 [details] Patch (fixed styling issue)
Dave Hyatt
Comment 5 2013-07-02 11:26:50 PDT
Comment on attachment 205929 [details] Patch (fixed styling issue) r=me
WebKit Commit Bot
Comment 6 2013-07-02 13:44:11 PDT
Comment on attachment 205929 [details] Patch (fixed styling issue) Clearing flags on attachment: 205929 Committed r152320: <http://trac.webkit.org/changeset/152320>
WebKit Commit Bot
Comment 7 2013-07-02 13:44:14 PDT
All reviewed patches have been landed. Closing bug.
Mihai Maerean
Comment 8 2013-07-02 23:24:39 PDT
*** Bug 117637 has been marked as a duplicate of this bug. ***
Csaba Osztrogonác
Comment 9 2013-07-03 01:23:10 PDT
(In reply to comment #6) > (From update of attachment 205929 [details]) > Clearing flags on attachment: 205929 > > Committed r152320: <http://trac.webkit.org/changeset/152320> It broke the !ENABLE(CSS_REGIONS) builds, for example on the Qt minimal bot: /ramdisk/qt-linux-release-minimal/build/WebKitBuild/Release/Source/WebCore//.obj/release-shared/dom/Element.o:(.data.rel.ro._ZTVN7WebCore7ElementE[vtable for WebCore::Element]+0x20c): undefined reference to `WebCore::Element::shouldMoveToFlowThread(WebCore::RenderStyle*) const' /ramdisk/qt-linux-release-minimal/build/WebKitBuild/Release/Source/WebCore//.obj/release-shared/dom/StyledElement.o:(.data.rel.ro._ZTVN7WebCore13StyledElementE[vtable for WebCore::StyledElement]+0x20c): undefined reference to `WebCore::Element::shouldMoveToFlowThread(WebCore::RenderStyle*) const' /ramdisk/qt-linux-release-minimal/build/WebKitBuild/Release/Source/WebCore//.obj/release-shared/html/FileInputType.o:(.data.rel.ro._ZTVN7WebCore19UploadButtonElementE[vtable for WebCore::UploadButtonElement]+0x20c): undefined reference to `WebCore::Element::shouldMoveToFlowThread(WebCore::RenderStyle*) const' /ramdisk/qt-linux-release-minimal/build/WebKitBuild/Release/Source/WebCore//.obj/release-shared/html/HTMLAnchorElement.o:(.data.rel.ro._ZTVN7WebCore17HTMLAnchorElementE[vtable for WebCore::HTMLAnchorElement]+0x20c): undefined reference to `WebCore::Element::shouldMoveToFlowThread(WebCore::RenderStyle*) const' /ramdisk/qt-linux-release-minimal/build/WebKitBuild/Release/Source/WebCore//.obj/release-shared/html/HTMLAppletElement.o:(.data.rel.ro._ZTVN7WebCore17HTMLAppletElementE[vtable for WebCore::HTMLAppletElement]+0x20c): undefined reference to `WebCore::Element::shouldMoveToFlowThread(WebCore::RenderStyle*) const' /ramdisk/qt-linux-release-minimal/build/WebKitBuild/Release/Source/WebCore//.obj/release-shared/html/HTMLAreaElement.o:(.data.rel.ro._ZTVN7WebCore15HTMLAreaElementE[vtable for WebCore::HTMLAreaElement]+0x20c): more undefined references to `WebCore::Element::shouldMoveToFlowThread(WebCore::RenderStyle*) const' follow The problem is that Element::shouldMoveToFlowThread(...) is defined inside ENABLE(CSS_REGIONS) guard, but used outside the same guard. Could you fix it, please?
Zoltan Arvai
Comment 10 2013-07-03 01:33:51 PDT
Created attachment 205979 [details] buildfix for !ENABLE(CSS_REGIONS) builds Fix guards for !ENABLE(CSS_REGIONS) builds.
Radu Stavila
Comment 11 2013-07-03 01:37:10 PDT
Comment on attachment 205979 [details] buildfix for !ENABLE(CSS_REGIONS) builds View in context: https://bugs.webkit.org/attachment.cgi?id=205979&action=review > Source/WebCore/dom/NodeRenderingContext.cpp:210 > +#if ENABLE(CSS_REGIONS) I think the entire content of this method should be under guard. If !ENABLE(CSS_REGIONS) it should just return false.
Radu Stavila
Comment 12 2013-07-03 01:37:42 PDT
@Zoltan Thanks for fixing this, you were faster than me :)
Csaba Osztrogonác
Comment 13 2013-07-03 02:07:12 PDT
Comment on attachment 205979 [details] buildfix for !ENABLE(CSS_REGIONS) builds buildfix landed: Committed r152345
Note You need to log in before you can comment on or make changes to this bug.