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 14216 - getComputedStyle and null
Summary: getComputedStyle and null
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-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-19 11:39 UTC by Simon Pieters
Modified: 2013-08-08 13:27 UTC (History)
3 users (show)

See Also:


Attachments

Description Simon Pieters 2011-09-19 11:39:50 UTC
getComputedStyle's second argument should not stringify null to "null"

http://www.google.com/codesearch#search/&q=getcomputedstyle%5C(%5B%5E,%5D%2B,%5Cs*null%5Cs*%5C)%20lang:js&type=cs
Comment 1 Aryeh Gregor 2011-09-19 23:26:45 UTC
What difference does it make?  If the second argument isn't equal to "::before" or "::after", per spec it does nothing anyway, so stringifying to "null" and "" should do the same thing.  Or am I misreading it?
Comment 2 Simon Pieters 2011-09-20 06:59:13 UTC
Yeah.