WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
106614
[Shadow DOM] Refactoring: InsertionPoint could simplify its subclass hooks
https://bugs.webkit.org/show_bug.cgi?id=106614
Summary
[Shadow DOM] Refactoring: InsertionPoint could simplify its subclass hooks
Hajime Morrita
Reported
2013-01-10 16:16:00 PST
This is a preparation for
Bug 106283
.
Attachments
Patch
(11.46 KB, patch)
2013-01-10 17:34 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch
(11.39 KB, patch)
2013-01-10 18:57 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Patch for landing
(11.42 KB, patch)
2013-01-10 19:46 PST
,
Hajime Morrita
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Hajime Morrita
Comment 1
2013-01-10 17:34:15 PST
Created
attachment 182229
[details]
Patch
Dimitri Glazkov (Google)
Comment 2
2013-01-10 18:19:44 PST
Comment on
attachment 182229
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=182229&action=review
> Source/WebCore/ChangeLog:14 > + - Introduces InsertionPoint::prematch() to give a chance each InsertionPoint to decide whether it
I don't like the word prematch. It doesn't convey the meaning here quite right. Can we treat this instead as a function to determine what kind of matching this insertion point uses: MatchType { AlwaysMatches NeverMatches HasToMatchSelector }
Hajime Morrita
Comment 3
2013-01-10 18:57:57 PST
Created
attachment 182242
[details]
Patch
Hajime Morrita
Comment 4
2013-01-10 18:59:09 PST
(In reply to
comment #2
)
> I don't like the word prematch. It doesn't convey the meaning here quite right. Can we treat this instead as a function to determine what kind of matching this insertion point uses:
Thanks for the insight! I didn't have good name here. Renamed.
Dimitri Glazkov (Google)
Comment 5
2013-01-10 19:30:37 PST
Comment on
attachment 182242
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=182242&action=review
> Source/WebCore/html/shadow/InsertionPoint.h:54 > + MatchAccept, > + MatchReject, > + MatchSelect
I kind of like the longer names that explain what's happening (the ones that I suggested).
Hajime Morrita
Comment 6
2013-01-10 19:45:27 PST
(In reply to
comment #5
)
> I kind of like the longer names that explain what's happening (the ones that I suggested).
OK, will take that way.
Hajime Morrita
Comment 7
2013-01-10 19:46:26 PST
Created
attachment 182245
[details]
Patch for landing
WebKit Review Bot
Comment 8
2013-01-10 20:01:37 PST
Comment on
attachment 182245
[details]
Patch for landing Clearing flags on attachment: 182245 Committed
r139400
: <
http://trac.webkit.org/changeset/139400
>
WebKit Review Bot
Comment 9
2013-01-10 20:01:42 PST
All reviewed patches have been landed. Closing bug.
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