WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 169082
Enable fieldsets to be flex boxes and grids
https://bugs.webkit.org/show_bug.cgi?id=169082
Summary
Enable fieldsets to be flex boxes and grids
Dave Hyatt
Reported
2017-03-02 08:12:59 PST
Enable fieldsets to be flex boxes and grids.
Attachments
Patch
(123.54 KB, patch)
2017-03-03 11:50 PST
,
Dave Hyatt
simon.fraser
: review+
Details
Formatted Diff
Diff
Patch for EWS to make sure GTK builds
(124.47 KB, patch)
2017-03-06 09:00 PST
,
Dave Hyatt
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2017-03-03 11:50:24 PST
Created
attachment 303332
[details]
Patch
Dave Hyatt
Comment 2
2017-03-03 12:01:35 PST
***
Bug 148826
has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 3
2017-03-03 12:04:11 PST
Comment on
attachment 303332
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=303332&action=review
> Source/WebCore/rendering/OrderIterator.cpp:80 > +bool OrderIterator::shouldSkipChild(const RenderObject* child) const
This should take a reference.
> Source/WebCore/rendering/OrderIterator.h:75 > + bool collectChild(const RenderBox&);
Please add a comment saying what the return value means.
> Source/WebCore/rendering/RenderBlock.cpp:1699 > +
Trailing whitespace (gasp!)
> Source/WebCore/rendering/RenderBlock.cpp:2766 > + int legendMinWidth = legend->minPreferredLogicalWidth();
Why int and not LayoutUnit? Darin would say that auto would have avoided this.
> Source/WebCore/rendering/RenderBlock.cpp:3939 > +
Whitespace
> Source/WebCore/rendering/RenderBlock.h:400 > + enum FieldsetFindLegendOption { FieldsetIgnoreFloatingOrOutOfFlow, FieldsetIncludeFloatingOrOutOfFlow };
enum class?
> Source/WebCore/rendering/RenderBlockFlow.h:475 > + void layoutExcludedChildren(bool /*relayoutChildren*/) override;
No need to comment out the param name.
> Source/WebCore/rendering/RenderTable.cpp:782 > +
whitespace
Dave Hyatt
Comment 4
2017-03-03 13:16:04 PST
Landed in
r213379
.
Carlos Alberto Lopez Perez
Comment 5
2017-03-03 21:11:48 PST
(In reply to
comment #4
)
> Landed in
r213379
.
This broke the GTK+ build: Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp:189:22: error: no viable conversion from 'WebCore::RenderElement' to 'WebCore::RenderBlock *' RenderBlock* renderFieldset = *coreObject->renderer()->parent(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Build%29/builds/77905/steps/compile-webkit/logs/stdio
Michael Catanzaro
Comment 6
2017-03-04 09:10:27 PST
Windows too: C:\cygwin\home\buildbot\WebKit\Source\WebCore\rendering\RenderingAllInOne.cpp(65): fatal error C1083: Cannot open include file: 'RenderFieldset.cpp': No such file or directory [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj]
WebKit Commit Bot
Comment 7
2017-03-04 09:11:53 PST
Re-opened since this is blocked by
bug 169169
m.kurz+webkitbugs
Comment 8
2017-03-06 03:19:14 PST
Bug 169169
has been closed - so this one can be closed as well?
Dave Hyatt
Comment 9
2017-03-06 09:00:45 PST
Created
attachment 303518
[details]
Patch for EWS to make sure GTK builds
Dave Hyatt
Comment 10
2017-03-06 09:01:40 PST
(In reply to
comment #8
)
>
Bug 169169
has been closed - so this one can be closed as well?
No, this got rolled out. Will re-land once I am sure it won't break GTK.
Dave Hyatt
Comment 11
2017-03-06 10:00:49 PST
Re-landed in 213455.
Jon Lee
Comment 12
2017-03-06 10:08:39 PST
rdar://problem/22607417
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug