WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237413
Simplify pseudo element resolution
https://bugs.webkit.org/show_bug.cgi?id=237413
Summary
Simplify pseudo element resolution
Antti Koivisto
Reported
2022-03-03 02:26:50 PST
We can add pseudo element styles directly to their parent style instead of having a separate map for that.
Attachments
Patch
(11.73 KB, patch)
2022-03-03 02:28 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch
(27.49 KB, patch)
2022-03-03 04:31 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch
(29.82 KB, patch)
2022-03-03 05:28 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch
(33.20 KB, patch)
2022-03-03 06:05 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Patch for landing
(32.38 KB, patch)
2022-03-03 08:12 PST
,
Antti Koivisto
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Antti Koivisto
Comment 1
2022-03-03 02:28:29 PST
Created
attachment 453713
[details]
Patch
Antti Koivisto
Comment 2
2022-03-03 04:31:30 PST
Created
attachment 453719
[details]
Patch
Antti Koivisto
Comment 3
2022-03-03 05:28:42 PST
Created
attachment 453724
[details]
Patch
Antti Koivisto
Comment 4
2022-03-03 06:05:31 PST
Created
attachment 453725
[details]
Patch
Antoine Quint
Comment 5
2022-03-03 07:44:48 PST
Comment on
attachment 453725
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=453725&action=review
> Source/WebCore/ChangeLog:64 > +
You probably want to merge the two ChangeLog entries.
> Source/WebCore/rendering/style/RenderStyle.cpp:116 > + auto newStyle = RenderStyle(style, Clone);
I have a question reading this code: do we prefer this to the more compact `RenderStyle newStyle(style, Clone)`?
EWS
Comment 6
2022-03-03 07:55:56 PST
ChangeLog entry in Source/WebCore/ChangeLog contains OOPS!.
Antti Koivisto
Comment 7
2022-03-03 08:12:06 PST
Created
attachment 453743
[details]
Patch for landing
Antti Koivisto
Comment 8
2022-03-03 08:12:59 PST
> > + auto newStyle = RenderStyle(style, Clone); > > I have a question reading this code: do we prefer this to the more compact > `RenderStyle newStyle(style, Clone)`?
I don't think there is policy on this but I feel it often reads better like this.
EWS
Comment 9
2022-03-03 09:25:26 PST
Committed
r290779
(
248023@main
): <
https://commits.webkit.org/248023@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 453743
[details]
.
Radar WebKit Bug Importer
Comment 10
2022-03-03 09:26:19 PST
<
rdar://problem/89758898
>
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