Closed
Bug 1323157
Opened 8 years ago
Closed 8 years ago
Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: u459114, Assigned: u459114)
Details
Attachments
(1 file)
File this follow up base on Robert's comment in bug 1322330 comment 26: create a follow up bug to rename HasNoFilterOrHasValidFilter to be consistent with the other two i.e. to become HasNoOrHasValidFilter.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Attachment #8818233 -
Flags: review?(longsonr)
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8818233 [details] Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. https://reviewboard.mozilla.org/r/98380/#review98816
Attachment #8818233 -
Flags: review?(longsonr) → review+
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8818233 [details] Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. https://reviewboard.mozilla.org/r/98380/#review98820 ::: layout/painting/nsDisplayList.cpp (Diff revision 2) > + "By getting here, we must have valid CSS filters."); > + > ContainerLayerParameters newContainerParameters = aContainerParameters; > - if (effectProperties.HasValidFilter()) { > - newContainerParameters.mDisableSubpixelAntialiasingInDescendants = true; > + newContainerParameters.mDisableSubpixelAntialiasingInDescendants = true; > - } Why can this be removed? I think the point of this is to disable antialiasing when text is filtered because it tends to look odd. See bug 812795 for more details
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8818233 [details] Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. https://reviewboard.mozilla.org/r/98380/#review98822
Attachment #8818233 -
Flags: review+ → review-
Comment on attachment 8818233 [details] Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. https://reviewboard.mozilla.org/r/98380/#review98820 > Why can this be removed? I think the point of this is to disable antialiasing when text is filtered because it tends to look odd. See bug 812795 for more details I did not remove code of disabling antialiasing, all I did here was removing if statement. 1. This is an nsDisplayFilter(I splitted nsDisplaySVGEffects into nsDisplayMask and nsDisplayFilter), so we must have CSS filter effect(valid or invalid). 2. I check effectProperties.HasInvalidFilter() several lines above. If we pass that test and reach #7514, we must have valid CSS filter. So we should always disable antialiasing
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8818233 [details] Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. https://reviewboard.mozilla.org/r/98380/#review98978
Attachment #8818233 -
Flags: review- → review+
Comment 8•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8818233 [details] Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. https://reviewboard.mozilla.org/r/98380/#review98820 > I did not remove code of disabling antialiasing, all I did here was removing if statement. > 1. This is an nsDisplayFilter(I splitted nsDisplaySVGEffects into nsDisplayMask and nsDisplayFilter), so we must have CSS filter effect(valid or invalid). > 2. I check effectProperties.HasInvalidFilter() several lines above. If we pass that test and reach #7514, we must have valid CSS filter. So we should always disable antialiasing OK, I'll buy that explanation :-)
Pushed by cku@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d28fe1daf68 Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. r=longsonr+218550
Comment 10•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2d28fe1daf68
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•