Commit c316bb35 authored by Philip Jägenstedt's avatar Philip Jägenstedt Committed by Commit Bot

Fix the links to the Filter Effects spec

This is a mechanical replace plus some line breaking.

Done because https://github.com/GoogleChromeLabs/webidl-diff uses these
URLs to decide where to go look for specs with IDL to scrape.

Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: I929161a414e825ce6bf2e17ea295a0af78e30fd7
Reviewed-on: https://chromium-review.googlesource.com/952539Reviewed-by: default avatarFredrik Söderquist <fs@opera.com>
Commit-Queue: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541575}
parent 16198114
......@@ -67,8 +67,8 @@ inline void LastMatrixRow(Vector<float>& matrix) {
Vector<float> GrayscaleMatrix(double amount) {
double one_minus_amount = clampTo(1 - amount, 0.0, 1.0);
// See https://drafts.fxtf.org/filters/#grayscaleEquivalent for information on
// parameters.
// See https://drafts.fxtf.org/filter-effects/#grayscaleEquivalent for
// information on parameters.
Vector<float> matrix;
matrix.ReserveInitialCapacity(20);
......@@ -94,8 +94,8 @@ Vector<float> GrayscaleMatrix(double amount) {
Vector<float> SepiaMatrix(double amount) {
double one_minus_amount = clampTo(1 - amount, 0.0, 1.0);
// See https://drafts.fxtf.org/filters/#sepiaEquivalent for information on
// parameters.
// See https://drafts.fxtf.org/filter-effects/#sepiaEquivalent for information
// on parameters.
Vector<float> matrix;
matrix.ReserveInitialCapacity(20);
......
......@@ -40,8 +40,8 @@ class FilterEffect;
class PaintLayer;
// PaintLayerResourceInfo holds the filter information for painting
// https://drafts.fxtf.org/filters/. It also acts as the resource client for
// change notifications from <clipPath> elements for the clip-path property.
// https://drafts.fxtf.org/filter-effects/. It also acts as the resource client
// for change notifications from <clipPath> elements for the clip-path property.
//
// Because PaintLayer is not allocated for SVG objects, SVG filters (both
// software and hardware-accelerated) use a different code path to paint the
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGComponentTransferFunctionElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGComponentTransferFunctionElement
[
DoNotCheckConstants
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEBlendElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEBlendElement
[
DoNotCheckConstants
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEColorMatrixElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEColorMatrixElement
[
DoNotCheckConstants
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEComponentTransferElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEComponentTransferElement
interface SVGFEComponentTransferElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFECompositeElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFECompositeElement
[
DoNotCheckConstants
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEConvolveMatrixElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEConvolveMatrixElement
[
DoNotCheckConstants
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEDiffuseLightingElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEDiffuseLightingElement
interface SVGFEDiffuseLightingElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEDisplacementMapElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEDisplacementMapElement
[
DoNotCheckConstants
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEDistantLightElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEDistantLightElement
interface SVGFEDistantLightElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedNumber azimuth;
......
......@@ -17,7 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEDropShadowElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEDropShadowElement
interface SVGFEDropShadowElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEFloodElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEFloodElement
interface SVGFEFloodElement : SVGElement {
};
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEFuncAElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEFuncAElement
interface SVGFEFuncAElement : SVGComponentTransferFunctionElement {
};
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEFuncBElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEFuncBElement
interface SVGFEFuncBElement : SVGComponentTransferFunctionElement {
};
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEFuncGElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEFuncGElement
interface SVGFEFuncGElement : SVGComponentTransferFunctionElement {
};
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEFuncRElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEFuncRElement
interface SVGFEFuncRElement : SVGComponentTransferFunctionElement {
};
......@@ -73,7 +73,7 @@ FilterEffect* SVGFEGaussianBlurElement::Build(SVGFilterBuilder* filter_builder,
// "A negative value or a value of zero disables the effect of the given
// filter primitive (i.e., the result is the filter input image)."
// (https://drafts.fxtf.org/filters/#element-attrdef-fegaussianblur-stddeviation)
// (https://drafts.fxtf.org/filter-effects/#element-attrdef-fegaussianblur-stddeviation)
//
// => Clamp to non-negative.
float std_dev_x = std::max(0.0f, stdDeviationX()->CurrentValue()->Value());
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEGaussianBlurElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEGaussianBlurElement
interface SVGFEGaussianBlurElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEImageElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEImageElement
interface SVGFEImageElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEMergeElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEMergeElement
interface SVGFEMergeElement : SVGElement {
};
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEMergeNodeElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEMergeNodeElement
interface SVGFEMergeNodeElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1;
......
......@@ -105,7 +105,7 @@ FilterEffect* SVGFEMorphologyElement::Build(SVGFilterBuilder* filter_builder,
// "A negative or zero value disables the effect of the given filter
// primitive (i.e., the result is the filter input image)."
// https://drafts.fxtf.org/filters/#element-attrdef-femorphology-radius
// https://drafts.fxtf.org/filter-effects/#element-attrdef-femorphology-radius
//
// (This is handled by FEMorphology)
float x_radius = radiusX()->CurrentValue()->Value();
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEMorphologyElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEMorphologyElement
[
DoNotCheckConstants
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEOffsetElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEOffsetElement
interface SVGFEOffsetElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFEPointLightElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFEPointLightElement
interface SVGFEPointLightElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedNumber x;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFESpecularLightingElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFESpecularLightingElement
interface SVGFESpecularLightingElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFESpotLightElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFESpotLightElement
interface SVGFESpotLightElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedNumber x;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFETileElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFETileElement
interface SVGFETileElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedString in1;
......
......@@ -23,7 +23,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFETurbulenceElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFETurbulenceElement
[
DoNotCheckConstants
......
......@@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFilterElement
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFilterElement
interface SVGFilterElement : SVGElement {
[MeasureAs=SVG1DOMFilter] readonly attribute SVGAnimatedEnumeration filterUnits;
......
......@@ -113,7 +113,7 @@ void SVGFilterPrimitiveStandardAttributes::ChildrenChanged(
}
static FloatRect DefaultFilterPrimitiveSubregion(FilterEffect* filter_effect) {
// https://drafts.fxtf.org/filters/#FilterPrimitiveSubRegion
// https://drafts.fxtf.org/filter-effects/#FilterPrimitiveSubRegion
DCHECK(filter_effect->GetFilter());
// <feTurbulence>, <feFlood> and <feImage> don't have input effects, so use
......
......@@ -24,7 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// https://drafts.fxtf.org/filters/#InterfaceSVGFilterPrimitiveStandardAttributes
// https://drafts.fxtf.org/filter-effects/#InterfaceSVGFilterPrimitiveStandardAttributes
[
NoInterfaceObject // Always used on target of 'implements'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment