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 19825 - [Shadow]: We might want to make pseudo attribute DOMString instead of DOMString?
Summary: [Shadow]: We might want to make pseudo attribute DOMString instead of DOMString?
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 18428
  Show dependency treegraph
 
Reported: 2012-11-02 02:28 UTC by Shinya Kawanaka
Modified: 2012-11-19 23:20 UTC (History)
0 users

See Also:


Attachments

Description Shinya Kawanaka 2012-11-02 02:28:23 UTC
According to HTML5 spec
http://dev.w3.org/html5/spec/elements.html#htmlelement
, non-readonly attribute returns DOMString instead of DOMString?.

So we might want to use DOMString for 'pseudo' attribute also. In that case, it should return empty string instead of null.

Because of this difference, we cannot use [Reflect] in this WebKit bug.
https://bugs.webkit.org/show_bug.cgi?id=100831
Comment 1 Dimitri Glazkov 2012-11-19 23:20:37 UTC
http://dvcs.w3.org/hg/webcomponents/rev/229cda7a6d0c