[Bug 25411] New: Confusion over the specularExponent attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25411

            Bug ID: 25411
           Summary: Confusion over the specularExponent attribute
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Filter Effects
          Assignee: dino@apple.com
          Reporter: paul.lebeau@gmail.com
        QA Contact: public-css-bugzilla@w3.org
                CC: cmarrin@apple.com, eoconnor@apple.com, smfr@me.com

I am implementing the lighting filters at the moment and struck a confusing
point in the spec.

Both <feSpecularLighting> and <feSpotLight> have a specularExponent attribute. 
But the spec makes no effort to distinguish when each should be used.

The confusion applies especially when using feSpecularLighting with an
feSpotLight.

At the moment I am assuming that the spotlight one is to be used when
calculating the spot light colour as per the formula in section 8.10
(feDiffuseLighting). And the one from feSpecularLighting is to be used when
calculating the final pixel colour as per the formula in 8.19
(feSpecularLighting).

Have I got that correct?  Either way, I believe the spec should be clarified.

>From my testing, it appears some browsers have bugs related to this issue.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 22 April 2014 15:21:00 UTC