Changeset 109315 in webkit
- Timestamp:
- Feb 29, 2012 11:10:42 PM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r109312 r109315 1 2012-02-29 Shinya Kawanaka <shinyak@chromium.org> 2 3 Unreviewed, rolling out r109309. 4 http://trac.webkit.org/changeset/109309 5 https://bugs.webkit.org/show_bug.cgi?id=80002 6 7 broke 8 9 * fast/dom/resources/shadow-test-driver.js: 10 (createContentWithSelect): 11 * fast/dom/shadow/content-element-move.html: 12 1 13 2012-02-29 Kentaro Hara <haraken@chromium.org> 2 14 -
trunk/LayoutTests/fast/dom/resources/shadow-test-driver.js
r109309 r109315 62 62 } 63 63 64 function createContentWithSelect(select, fallback Text) {64 function createContentWithSelect(select, fallback) { 65 65 var content = internals.createContentElement(document); 66 66 content.setAttribute('select', select); 67 if ( fallbackText)68 content.appendChild(createSpanWithText( fallbackText));67 if (!fallback) 68 content.appendChild(createSpanWithText("FALLBACK")); 69 69 70 70 return content; -
trunk/LayoutTests/fast/dom/shadow/content-element-move.html
r109309 r109315 23 23 24 24 // Create shadow tree. 25 var content = createContentWithSelect('span' , 'FALLBACK');25 var content = createContentWithSelect('span'); 26 26 var sr = internals.ensureShadowRoot(root); 27 27 sr.appendChild(createSpanWithText("BEFORE")); … … 49 49 50 50 // Create shadow tree. 51 var content1 = createContentWithSelect('.c1' , 'FALLBACK');52 var content2 = createContentWithSelect('span' , 'FALLBACK');51 var content1 = createContentWithSelect('.c1'); 52 var content2 = createContentWithSelect('span'); 53 53 var sr = internals.ensureShadowRoot(root); 54 54 sr.appendChild(createSpanWithText("BEFORE")); … … 78 78 79 79 // Create shadow tree. 80 var content1 = createContentWithSelect('.c1' , 'FALLBACK');81 var content2 = createContentWithSelect('span' , 'FALLBACK');80 var content1 = createContentWithSelect('.c1'); 81 var content2 = createContentWithSelect('span'); 82 82 var sr = internals.ensureShadowRoot(root); 83 83 sr.appendChild(createSpanWithText("BEFORE")); … … 134 134 135 135 // Create shadow tree. 136 var content = createContentWithSelect('span' , 'FALLBACK');136 var content = createContentWithSelect('span'); 137 137 var sr = internals.ensureShadowRoot(root); 138 138 sr.appendChild(createSpanWithText("BEFORE")); … … 160 160 161 161 // Create shadow tree. 162 var content = createContentWithSelect('span' , 'FALLBACK');162 var content = createContentWithSelect('span'); 163 163 var sr = internals.ensureShadowRoot(root); 164 164 sr.appendChild(createSpanWithText("BEFORE")); … … 187 187 188 188 // Create shadow tree. 189 var content = createContentWithSelect('.c1' , 'FALLBACK');189 var content = createContentWithSelect('.c1'); 190 190 var sr = internals.ensureShadowRoot(root); 191 191 sr.appendChild(createSpanWithText("BEFORE")); … … 222 222 var f = (function(root, callIfDone) { 223 223 return function() { 224 var content = createContentWithSelect('span' , 'FALLBACK');224 var content = createContentWithSelect('span'); 225 225 var sr = internals.ensureShadowRoot(root); 226 226 sr.insertBefore(content, sr.lastChild); … … 248 248 var f = (function(root, callIfDone) { 249 249 return function() { 250 var content1 = createContentWithSelect('.c2' , 'FALLBACK');251 var content2 = createContentWithSelect('span' , 'FALLBACK');250 var content1 = createContentWithSelect('.c2'); 251 var content2 = createContentWithSelect('span'); 252 252 var sr = internals.ensureShadowRoot(root); 253 253 sr.insertBefore(content1, sr.lastChild); … … 272 272 sr.appendChild(createSpanWithText("BEFORE")); 273 273 sr.appendChild(mid); 274 sr.appendChild(createContentWithSelect('.c2' , 'FALLBACK'));274 sr.appendChild(createContentWithSelect('.c2')); 275 275 sr.appendChild(createSpanWithText("AFTER")); 276 276 … … 279 279 var f = (function(root, mid, callIfDone) { 280 280 return function() { 281 var content = createContentWithSelect('span' , 'FALLBACK');281 var content = createContentWithSelect('span'); 282 282 var sr = internals.ensureShadowRoot(root); 283 283 sr.insertBefore(content, mid); … … 299 299 // Create shadow tree. 300 300 var sr = internals.ensureShadowRoot(root); 301 var content1 = createContentWithSelect('.c1' , 'FALLBACK');302 var content2 = createContentWithSelect('span' , 'FALLBACK');301 var content1 = createContentWithSelect('.c1'); 302 var content2 = createContentWithSelect('span'); 303 303 sr.appendChild(createSpanWithText("BEFORE")); 304 304 sr.appendChild(content1); … … 337 337 // Create shadow tree in 'n1' 338 338 var sr = internals.ensureShadowRoot(n1); 339 var content = createContentWithSelect('span' , 'FALLBACK');339 var content = createContentWithSelect('span'); 340 340 sr.appendChild(createSpanWithText("BEFORE")); 341 341 sr.appendChild(content);
Note: See TracChangeset
for help on using the changeset viewer.