Don't use intrinsic width if our container's width is zero.

Since at least r798 we use a replaced element's intrinsic width if its
containing block has a width of zero. As a result our rendering of
width100percent-image.html has disagreed with all other browsers
(IE10, FF29, and Opera(Presto)) and
we display replaced elements when they should be invisible.

If our container has zero width then let our width be zero too.

BUG=235189

Review URL: https://codereview.chromium.org/253743008

git-svn-id: svn://svn.chromium.org/blink/trunk@173212 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed
tree: b26626949a7d634655c1c7de31f6e1798157bad4
  1. third_party/