diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-12-19 18:32:16 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-12-19 18:32:16 +0100 |
commit | e1e80b08f85c47bb865549f6eca2cc43fb8741b5 (patch) | |
tree | 3572eb2edabbf771eff06d26444aa6f0cbdb1222 /src/nav.c | |
parent | 9716e65edda24f8a28b77caf0064eace9ff35073 (diff) |
make StyleEngine::computeValue() and computeLength() return bool
StyleEngine::computeValue now returns whether the value was actually
set. This information is now used in computeLength to avoid setting of
random length values in case of an unrecognized CSS_LENGTH_TYPE.
This fixes crashes with images that have invalid width or height
attributes (e.g. <img src="foo.jpg" width="10px" />).
Diffstat (limited to 'src/nav.c')
0 files changed, 0 insertions, 0 deletions