WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
186015
Modernize RenderStyleConstants.h - Part 3
https://bugs.webkit.org/show_bug.cgi?id=186015
Summary
Modernize RenderStyleConstants.h - Part 3
Sam Weinig
Reported
2018-05-26 12:55:13 PDT
Modernize RenderStyleConstants.h - Part 3
Attachments
Patch
(97.44 KB, patch)
2018-05-26 13:05 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(99.00 KB, patch)
2018-05-26 14:05 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews117 for mac-sierra
(382.90 KB, application/zip)
2018-05-26 15:10 PDT
,
EWS Watchlist
no flags
Details
Patch
(98.93 KB, patch)
2018-05-26 17:35 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews112 for mac-sierra
(3.13 MB, application/zip)
2018-05-26 19:24 PDT
,
EWS Watchlist
no flags
Details
Patch
(102.98 KB, patch)
2018-05-26 19:34 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Patch
(102.94 KB, patch)
2018-05-27 15:34 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2018-05-26 13:05:08 PDT
Comment hidden (obsolete)
Created
attachment 341406
[details]
Patch
EWS Watchlist
Comment 2
2018-05-26 13:06:51 PDT
Comment hidden (obsolete)
Attachment 341406
[details]
did not pass style-queue: ERROR: Source/WebCore/rendering/TextDecorationPainter.cpp:252: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 37 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 3
2018-05-26 14:05:16 PDT
Comment hidden (obsolete)
Created
attachment 341409
[details]
Patch
EWS Watchlist
Comment 4
2018-05-26 14:07:48 PDT
Comment hidden (obsolete)
Attachment 341409
[details]
did not pass style-queue: ERROR: Source/WebCore/rendering/TextDecorationPainter.cpp:252: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 38 files If any of these errors are false positives, please file a bug against check-webkit-style.
EWS Watchlist
Comment 5
2018-05-26 15:10:22 PDT
Comment hidden (obsolete)
Comment on
attachment 341409
[details]
Patch
Attachment 341409
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/7818329
Number of test failures exceeded the failure limit.
EWS Watchlist
Comment 6
2018-05-26 15:10:23 PDT
Comment hidden (obsolete)
Created
attachment 341410
[details]
Archive of layout-test-results from ews117 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-sierra Platform: Mac OS X 10.12.6
Sam Weinig
Comment 7
2018-05-26 17:35:21 PDT
Comment hidden (obsolete)
Created
attachment 341414
[details]
Patch
Sam Weinig
Comment 8
2018-05-26 17:38:05 PDT
The fact that you can't construct an OptionSet with a enum value that happens to be 0 is a bit annoying. I'm not clear on the reasoning for it.
EWS Watchlist
Comment 9
2018-05-26 17:38:29 PDT
Comment hidden (obsolete)
Attachment 341414
[details]
did not pass style-queue: ERROR: Source/WebCore/rendering/TextDecorationPainter.cpp:252: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 38 files If any of these errors are false positives, please file a bug against check-webkit-style.
EWS Watchlist
Comment 10
2018-05-26 19:24:41 PDT
Comment hidden (obsolete)
Comment on
attachment 341414
[details]
Patch
Attachment 341414
[details]
did not pass mac-debug-ews (mac): Output:
http://webkit-queues.webkit.org/results/7820300
New failing tests: accessibility/mac/css-speech-speak.html fast/css/round-trip-stroke-width-using-computed-style.html
EWS Watchlist
Comment 11
2018-05-26 19:24:42 PDT
Comment hidden (obsolete)
Created
attachment 341415
[details]
Archive of layout-test-results from ews112 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-sierra Platform: Mac OS X 10.12.6
Sam Weinig
Comment 12
2018-05-26 19:34:31 PDT
Created
attachment 341416
[details]
Patch
EWS Watchlist
Comment 13
2018-05-26 19:35:59 PDT
Comment hidden (obsolete)
Attachment 341416
[details]
did not pass style-queue: ERROR: Source/WebCore/rendering/TextDecorationPainter.cpp:252: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 39 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yusuke Suzuki
Comment 14
2018-05-27 07:36:26 PDT
Comment on
attachment 341416
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=341416&action=review
r=me with comments.
> Source/WebCore/css/CSSComputedStyleDeclaration.cpp:-1839 > - if (speakAs & SpeakNormal)
Since `SpeakNormal` was 0 previously, I think this path was never executed (speakAs & SpeakNormal is always zero). Is the following code correct?
> Source/WebCore/css/CSSLineBoxContainValue.h:35 > +enum LineBoxContainFlags {
Should we change this to `enum class` too?
Sam Weinig
Comment 15
2018-05-27 15:34:26 PDT
Created
attachment 341432
[details]
Patch
EWS Watchlist
Comment 16
2018-05-27 15:37:27 PDT
Attachment 341432
[details]
did not pass style-queue: ERROR: Source/WebCore/rendering/TextDecorationPainter.cpp:252: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 39 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 17
2018-05-27 17:22:32 PDT
(In reply to Yusuke Suzuki from
comment #14
)
> Comment on
attachment 341416
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=341416&action=review
> > r=me with comments. > > > Source/WebCore/css/CSSComputedStyleDeclaration.cpp:-1839 > > - if (speakAs & SpeakNormal) > > Since `SpeakNormal` was 0 previously, I think this path was never executed > (speakAs & SpeakNormal is always zero). Is the following code correct?
That code is funny. The added code doesn't actually change behavior, because the old code ended up doing the same thing at the end of the chain of if-statements if the list was empty. Anyway, no reason to have duplicate functionality so I removed that initial if.
> > > Source/WebCore/css/CSSLineBoxContainValue.h:35 > > +enum LineBoxContainFlags { > > Should we change this to `enum class` too?
Yeah, I'll get there.
WebKit Commit Bot
Comment 18
2018-05-27 17:49:27 PDT
Comment on
attachment 341432
[details]
Patch Clearing flags on attachment: 341432 Committed
r232229
: <
https://trac.webkit.org/changeset/232229
>
WebKit Commit Bot
Comment 19
2018-05-27 17:49:29 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 20
2018-05-27 17:50:27 PDT
<
rdar://problem/40588982
>
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