Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <!--quirks mode--> |
michael@0 | 2 | |
michael@0 | 3 | <!-- |
michael@0 | 4 | It's not clear that this is desired behavior, but I'm adding a test |
michael@0 | 5 | for it because bug 243519 *accidentally* regressed it. |
michael@0 | 6 | |
michael@0 | 7 | We're testing here that quirks mode percentage height calculation |
michael@0 | 8 | subtracts the margin, padding, and border of the BODY element when the |
michael@0 | 9 | basis for that percentage height is a specified non-auto height on the |
michael@0 | 10 | HTML element. |
michael@0 | 11 | --> |
michael@0 | 12 | <html style="height: 300px; |
michael@0 | 13 | margin: 1px 0 2px 0; padding: 4px 0 8px 0;"> |
michael@0 | 14 | <head> |
michael@0 | 15 | <title>Testcase, bug 471356 / bug 243519</title> |
michael@0 | 16 | </head> |
michael@0 | 17 | <body style="margin: 16px 0 32px 0; padding: 64px 0 128px 0;"> |
michael@0 | 18 | <!-- basis for percentage is 300px - (16px + 32px + 64px + 128px) |
michael@0 | 19 | == 60px --> |
michael@0 | 20 | <div style="background: blue; height: 50%"> |
michael@0 | 21 | </div> |
michael@0 | 22 | </body> |
michael@0 | 23 | </html> |