Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Unified Diff: Source/core/html/HTMLStyleElement.idl

Issue 26694003: Add support for [TreatNullAs] extended attribute for reflected attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move code to a subroutine Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLSourceElement.idl ('k') | Source/core/html/HTMLTableCaptionElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLStyleElement.idl
diff --git a/Source/core/html/HTMLStyleElement.idl b/Source/core/html/HTMLStyleElement.idl
index a5fd4f35dee49527fcdcf39be6ec9dc005e496d7..165cb138cc5e836fbc629dc1bfd04d3e3eff790a 100644
--- a/Source/core/html/HTMLStyleElement.idl
+++ b/Source/core/html/HTMLStyleElement.idl
@@ -21,8 +21,8 @@
interface HTMLStyleElement : HTMLElement {
attribute boolean disabled;
[EnabledAtRuntime=StyleScoped] attribute boolean scoped;
- [Reflect] attribute DOMString media;
- [Reflect] attribute DOMString type;
+ [Reflect, TreatNullAs=NullString] attribute DOMString media;
+ [Reflect, TreatNullAs=NullString] attribute DOMString type;
// DOM Level 2 Style
readonly attribute StyleSheet sheet;
« no previous file with comments | « Source/core/html/HTMLSourceElement.idl ('k') | Source/core/html/HTMLTableCaptionElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698