https://issues.apache.org/bugzilla/show_bug.cgi?id=46823





--- Comment #6 from Jeremias Maerki <jerem...@apache.org>  2009-03-24 04:11:44 
PST ---
(In reply to comment #5)
> The spec says: error-if-overflow: This value implies the same semantics as the
> value "hidden" with the additional semantic that an error shall be indicated;
> implementations may recover by clipping the region.
> 
> The code says: boolean canRecover = (getBlockContainerFO().getOverflow() !=
> EN_ERROR_IF_OVERFLOW); (BlockContainerLayoutManager, line 533).
> 
> Does that not mean that the code is wrong: it should recover, but issue an
> ERROR instead of a WARNING?

The spec says "may recover", it doesn't say "should recover", so it isn't
technically wrong. That doesn't mean it can't be changed. But my personal
expectation is an error if I explicitely say "error-if-overflow" instead of
"hidden". If I say "hidden" I don't care if any content is lost.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to