| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 div.resetTest { | 5 div.resetTest { |
| 6 background-color: #eef; | 6 background-color: #eef; |
| 7 border: solid; | 7 border: solid; |
| 8 margin: 4px; | 8 margin: 4px; |
| 9 padding: 16px; | 9 padding: 16px; |
| 10 color: #fee; | 10 color: #fee; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 if (a != b) | 38 if (a != b) |
| 39 throw "failure:" + a + ": should be " + b; | 39 throw "failure:" + a + ": should be " + b; |
| 40 } | 40 } |
| 41 | 41 |
| 42 function shouldNotBe(a, b) | 42 function shouldNotBe(a, b) |
| 43 { | 43 { |
| 44 if (a == b) | 44 if (a == b) |
| 45 throw "failure:" + a + ": should not be " + b; | 45 throw "failure:" + a + ": should not be " + b; |
| 46 } | 46 } |
| 47 </script> | 47 </script> |
| 48 <script src="resources/polyfill.js"></script> | |
| 49 </head> | 48 </head> |
| 50 <body> | 49 <body> |
| 51 <div id="reset-style-inheritance"></div> | 50 <div id="reset-style-inheritance"></div> |
| 52 <div id="no-reset-style-inheritance"></div> | 51 <div id="no-reset-style-inheritance"></div> |
| 53 <div id="reset-style-inheritance-true-to-false"></div> | 52 <div id="reset-style-inheritance-true-to-false"></div> |
| 54 <div id="reset-style-inheritance-false-to-true"></div> | 53 <div id="reset-style-inheritance-false-to-true"></div> |
| 55 <div id="reset-style-inheritance-for-content"></div> | 54 <div id="reset-style-inheritance-for-content"></div> |
| 56 <div id="no-reset-style-inheritance-for-content"></div> | 55 <div id="no-reset-style-inheritance-for-content"></div> |
| 57 | 56 |
| 58 <script> | 57 <script> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 159 |
| 161 renderWithNoResetStyleInheritance(); | 160 renderWithNoResetStyleInheritance(); |
| 162 renderWithResetStyleInheritance(); | 161 renderWithResetStyleInheritance(); |
| 163 renderWithChangingResetStyleInheritanceFromTrueToFalse(); | 162 renderWithChangingResetStyleInheritanceFromTrueToFalse(); |
| 164 renderWithChangingResetStyleInheritanceFromFalseToTrue(); | 163 renderWithChangingResetStyleInheritanceFromFalseToTrue(); |
| 165 renderResetStyleInheritanceForContent(); | 164 renderResetStyleInheritanceForContent(); |
| 166 renderNoResetStyleInheritanceForContent(); | 165 renderNoResetStyleInheritanceForContent(); |
| 167 </script> | 166 </script> |
| 168 </body> | 167 </body> |
| 169 </html> | 168 </html> |
| OLD | NEW |