[Bug 22528] New: The computedStyle attribute

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

            Bug ID: 22528
           Summary: The computedStyle attribute
    Classification: Unclassified
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM
          Assignee: glenn@skynav.com
          Reporter: ian@hixie.ch
        QA Contact: public-css-bugzilla@w3.org

http://dev.w3.org/csswg/cssom/#the-getstyleutils-interface

  "The computedStyle attribute must return [...] the computed value"
  "getComputedStyle([...]) [...] must [...] return [...] the resolved value"

That's just confusing. Please can we either have .computedStyle return the
resolved style, or rename it?

Yes, the spec is confusing, but let's not let that confusion go into the API as
well. It's far better for the API to be self-consistent and disagree with the
formal terminology, than it is for the API to follow our evolving terminology.

Same reason we use URL in all our APIs and syntax, rather than the evolving
term.

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

Received on Monday, 1 July 2013 17:11:42 UTC