[Bug 27633] New: Make getComputedStyle()'s pseudoElt argument nullable

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

            Bug ID: 27633
           Summary: Make getComputedStyle()'s pseudoElt argument nullable
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM
          Assignee: simonp@opera.com
          Reporter: philipj@opera.com
        QA Contact: public-css-bugzilla@w3.org

I aligned with the spec but had to revert on this detail due to a performance
regression:
https://codereview.chromium.org/774203003
https://codereview.chromium.org/774243003

It's jQuery passing null for the pseudoElt argument being stringified to "null"
that makes the difference it seems:
https://github.com/jquery/jquery/search?q=getComputedStyle

There's no observable difference, but making it nullable would save other
browsers the trouble of trying out the same performance regression.

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

Received on Tuesday, 16 December 2014 23:32:03 UTC