This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22939 - "The cascadedStyle attribute must return a new C..."
Summary: "The cascadedStyle attribute must return a new C..."
Status: RESOLVED INVALID
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 14:16 UTC by Simon Pieters
Modified: 2013-08-13 21:48 UTC (History)
0 users

See Also:


Attachments

Description Simon Pieters 2013-08-13 14:16:18 UTC
http://dev.w3.org/csswg/cssom/#the-getstyleutils-interface

[[
The cascadedStyle attribute must return a new CSS declaration block
]]

These members should be methods instead of attributes because it's bad API design for attributes to return a new object on each access.
Comment 1 Simon Pieters 2013-08-13 14:29:05 UTC
https://dvcs.w3.org/hg/csswg/rev/9e6704a6328c
Comment 2 Simon Pieters 2013-08-13 21:48:10 UTC
https://dvcs.w3.org/hg/csswg/rev/e605b1398664