Closed
Bug 1349124
Opened 8 years ago
Closed 8 years ago
Rename ServoComputedStyleValues
Categories
(Core :: DOM: Animation, enhancement, P5)
Core
DOM: Animation
Tracking
()
RESOLVED
FIXED
mozilla55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: boris, Assigned: boris)
Details
Attachments
(1 file)
According to Bug 1343753 Comment 22, we have ServoComputedValues *and* ServoComputedStyleValues, and they are not easy to be distinguished, so we should have named ServoComputedStyleValues something else like ServoComputedStylePair, ServoComputedStyleContext, ServoCurrentAndParentStyle, or something.
I prefer ServoComputedStylePair.
| Assignee | ||
Comment 1•8 years ago
|
||
Oh, but ServoComputedStyleContext might be better because we store parent and child, and this could be a counterpart of nsStyleContext for animation.
Comment 2•8 years ago
|
||
(In reply to Boris Chiou [:boris] from comment #1)
> Oh, but ServoComputedStyleContext might be better because we store parent
> and child, and this could be a counterpart of nsStyleContext for animation.
Using 'StyleContext' for servo's value is somewhat misleading. Servo has StyleContext that is a global value during traversal.
How about ServoComputedValuesWithParent? If it's too long, I will +1 for ServoComputedStylePair.
Comment 3•8 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #2)
> (In reply to Boris Chiou [:boris] from comment #1)
> > Oh, but ServoComputedStyleContext might be better because we store parent
> > and child, and this could be a counterpart of nsStyleContext for animation.
>
> Using 'StyleContext' for servo's value is somewhat misleading. Servo has
> StyleContext that is a global value during traversal.
Oops. Wrong. StyleContext is not global.
| Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #3)
> (In reply to Hiroyuki Ikezoe (:hiro) from comment #2)
> > (In reply to Boris Chiou [:boris] from comment #1)
> > > Oh, but ServoComputedStyleContext might be better because we store parent
> > > and child, and this could be a counterpart of nsStyleContext for animation.
> >
> > Using 'StyleContext' for servo's value is somewhat misleading. Servo has
> > StyleContext that is a global value during traversal.
>
> Oops. Wrong. StyleContext is not global.
OK, so is your preference still ServoComputedValuesWithParent? I'm ok to both names.
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Attachment #8849452 -
Flags: review?(hikezoe)
Comment 6•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8849452 [details]
Bug 1349124 - Replace ServoComputedStyleValues with ServoComputedValuesWithParent.
https://reviewboard.mozilla.org/r/122218/#review124340
Thanks!
Attachment #8849452 -
Flags: review?(hikezoe) → review+
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1900c9b545a2
Replace ServoComputedStyleValues with ServoComputedValuesWithParent. r=hiro
Comment 8•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•