author L. David Baron <>
Sun, 12 Jun 2011 18:52:32 -0700
changeset 70944 58fe3ede72f834b7110fa5b937bee6995d43a174
parent 8142 2473849c510bec26ae29893a51009ddf2a3ad4b2
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="">

    <!-- From -->

    <title>Test: width:auto; height:auto; width="49%" height="0"</title>

    This testcase checks that the <object> element uses the intrinsic
    height of the embedded SVG, but ignores the percentage intrinsic
    width. Since the intrinsic height is zero, you should see a 1px blue
    border around a rectangle 300px wide by 0px high when viewing this
    file. You should not see any red.

    <style type="text/css">

html, body {
  padding: 0;
  border: 0;
  margin: 0;
  width: 100%;
  height: 100%;

object {
  padding: 0;
  border: 1px solid blue;
  margin: 50px;
  background: red;

    <object data="object--auto-auto--pct-0.svg" type="image/svg+xml">