author L. David Baron <>
Sun, 12 Jun 2011 18:52:32 -0700
changeset 70944 58fe3ede72f834b7110fa5b937bee6995d43a174
parent 32960 6635995931c976b6b4f786da9b44c7704ef0aa5d
child 71457 41de88315cfa99a7ceeb00a42c12fb9d955354df
permissions -rw-r--r--
Remove notion of percentage intrinsic size: remove the single case that (incorrectly) sets percentage intrinsic sizes, and fix all of the tests that depend on our old incorrect behavior. (Bug 611099) r=dholbert Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.

     Any copyright is dedicated to the Public Domain.
<html xmlns="" class="reftest-wait">

    <!-- From -->

    <title>Test: resize of container block height</title>

    This testcase checks that SVG embedded inline with a percentage height is
    updated correctly when its containing block is resized.

    <style type="text/css">

html, body, div {
  padding: 0;
  border: 0;
  margin: 0;
  width: 100%;
  height: 100%;  /* inline style override on the div below */
  background: white;
  overflow: hidden;

    <script type="text/javascript">

function resize_div()
  var XHTML_NS = '';
  document.getElementsByTagNameNS(XHTML_NS, 'div').item(0).style.height = '100%';

document.addEventListener("MozReftestInvalidate", resize_div, false);


    <div style="height:50%;">
      <svg xmlns="" width="5000" height="100%">
        <rect width="100%" height="100%" fill="blue"/>