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

Side by Side Diff: LayoutTests/fast/dom/HTMLProgressElement/progress-bar-set-value.html

Issue 11275208: Merge 133124 - [Refactoring] Move initial style setting for ProgressValueElement from attach method… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLProgressElement/progress-bar-set-value-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 progress { 5 progress {
6 -webkit-appearance: none; 6 -webkit-appearance: none;
7 } 7 }
8 </style> 8 </style>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 function runTest() { 10 function runTest() {
11 bad = document.createElement("progress"); 11 bad = document.createElement("progress");
12 bad.id="bad"; 12 bad.id="bad";
13 bad.max=100; 13 bad.max=100;
14 bad.setAttribute("value",10); 14 bad.setAttribute("value",10);
15 bad.setAttribute("style", "border:solid red"); 15 bad.setAttribute("style", "border:solid red");
16 document.getElementsByTagName('body')[0].appendChild(bad); 16 document.getElementsByTagName('body')[0].appendChild(bad);
17 document.body.offsetLeft; 17 document.body.offsetLeft;
18 document.getElementById('bad').value = 50; 18 document.getElementById('bad').value = 50;
19 } 19 }
20 </script> 20 </script>
21 </head> 21 </head>
22 <body onload="runTest();"> 22 <body onload="runTest();">
23 <!-- [bug 100507] https://bugs.webkit.org/show_bug.cgi?id=100507 --> 23 <!-- [bug 100507] https://bugs.webkit.org/show_bug.cgi?id=100507 -->
24 <!-- Progress bar shadow tree sometimes is not relayouted. --> 24 <!-- Progress bar shadow tree sometimes is not relayouted. -->
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLProgressElement/progress-bar-set-value-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698