Permalink
Browse files

"class" needs to be quoted, at least on some browsers, refs #11741.

  • Loading branch information...
wkeese committed Dec 29, 2010
1 parent 0789256 commit 196cc5979b2072bb1b9b51b3b0ecefc539a600bb
@@ -893,7 +893,7 @@ <h2>dijit.layout.ContentPane DOH test</h2>
<h3>Test designed to run on localhost (minimize impact from network latency)</h3>
<h4>This should NOT be parsed automatically</h4>
- <div id="pane1" data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box" '>
+ <div id="pane1" data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box"'>
<div data-dojo-type='dijit.TestWidget'>If this has a different background and a red border, the page parsed when it shouldn't</div>
</div>
<br/><h3>Testing ContentPane</h3>
@@ -174,7 +174,7 @@ <h3>Layouts:</h3>
</div>
</div>
- <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='class:"bc", style:"height:200px"'>
+ <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='"class":"bc", style:"height:200px"'>
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='region:"center"'>
Sinlge pane - l1
</div>
@@ -184,7 +184,7 @@ <h3>Layouts:</h3>
<h3>two panes, vertical split:</h3>
- <div id="animBC" data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='class:"bc", style:"height:200px"'>
+ <div id="animBC" data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='"class":"bc", style:"height:200px"'>
<div id="sizing1" data-dojo-type="dijit.layout.ContentPane" data-dojo-props='style:"background-color:red", region:"left", splitter:true'>
Sinlge pane - left
</div>
@@ -208,7 +208,7 @@ <h3>two panes, vertical split:</h3>
</div>
</div>
- <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='class:"bc", style:"height:200px"'>
+ <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='"class":"bc", style:"height:200px"'>
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='region:"center", splitter:true'>
Single pane - center (splitter) (this is unsupported, and does not work)
</div>
@@ -217,7 +217,7 @@ <h3>two panes, vertical split:</h3>
</div>
</div>
- <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='class:"bc", style:"height:200px"'>
+ <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='"class":"bc", style:"height:200px"'>
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='region:"center"'>
Single pane - center (no splitter)
</div>
@@ -227,7 +227,7 @@ <h3>two panes, vertical split:</h3>
</div>
</div>
- <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='class:"bc", style:"width:200px; height:400px;"'>
+ <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='"class":"bc", style:"width:200px; height:400px;"'>
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='region:"top", splitter:true'>
Single pane - top (splitter)
@@ -237,7 +237,7 @@ <h3>two panes, vertical split:</h3>
</div>
</div>
- <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='class:"bc", style:"width:200px; height:400px;"'>
+ <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props='"class":"bc", style:"width:200px; height:400px;"'>
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='region:"center"'>
Single pane - center
</div>
@@ -9,7 +9,7 @@
@import "../css/dijitTests.css";
.box {
- position: relative;
+ position: relative;
background-color: white;
border: 2px solid black;
padding: 8px;
@@ -154,26 +154,26 @@
<h1 class="testTitle">Dijit layout.ContentPane tests</h1>
<p>pre-container paragraph</p>
- <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box"'>
+ <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box"'>
some text (top-level container)
- <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box"'>
+ <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box"'>
text in the inner container (1)
- <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box", href:"tab2.html"'>
+ <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box", href:"tab2.html"'>
hi
</div>
text in the inner container (2)
- <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box"'>
+ <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box"'>
inner-inner 2
</div>
text in the inner container (3)
- <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box"'>
+ <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box"'>
inner-inner 3
</div>
@@ -186,22 +186,22 @@ <h1 class="testTitle">Dijit layout.ContentPane tests</h1>
<p>mid-container paragraph</p>
- <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box"'>
+ <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box"'>
2nd top-level container
</div>
<p>post-container paragraph</p>
- <div id="test" data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box", href:"combotab.html" '>
+ <div id="test" data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box", href:"combotab.html" '>
<p style='background-color:yellow;border:1px solid red;text-align:center;'>This text should automatically be replaced by downloaded content from combotab.html</p>
</div>
<hr/>
<p>ContentPanes used by the unit tests to verify functionality
- <div id='parsedPane' data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box" '>
+ <div id='parsedPane' data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box" '>
Some Content Here
</div>
- <div id='dialogContainer' data-dojo-type="dijit.layout.ContentPane" data-dojo-props='class:"box" '>
+ <div id='dialogContainer' data-dojo-type="dijit.layout.ContentPane" data-dojo-props='"class":"box" '>
<div id="parserTest" data-dojo-type="dijit.TestWidget" ></div>
</div>
</body>
@@ -158,10 +158,10 @@ <h1 class="testTitle">dijit.TooltipDialog tests</h1>
title:"tooltip dialog with no focusable items"'></div>
</div> |
-<div data-dojo-type="dijit.form.DropDownButton" data-dojo-props='class:"tooltipLink"'>
+<div data-dojo-type="dijit.form.DropDownButton" data-dojo-props='"class":"tooltipLink"'>
<span>What is this?</span>
<div id="tooltipHelpDlg" data-dojo-type="dijit.TooltipDialog" data-dojo-props='title:"Test Dialog tooltip", style:"width:350px" '>
- <div data-dojo-type="dijit.form.Button" data-dojo-props='class:"buttonLink", style:"float:right;font-size:x-small", title:"close", tabIndex:"0" '>[close]
+ <div data-dojo-type="dijit.form.Button" data-dojo-props='"class":"buttonLink", style:"float:right;font-size:x-small", title:"close", tabIndex:"0" '>[close]
<script type="dojo/method" data-dojo-event="onClick">
dijit.byId('tooltipHelpDlg').onCancel();
</script>

0 comments on commit 196cc59

Please sign in to comment.