DescriptionCompute the correct overflow-x and overflow-y values for table elements
This is a second attempt at https://codereview.chromium.org/265493010/. I've added
and cleaned up, where appropriate, the tests from that CL.
The relevant parts of the spec are: http://dev.w3.org/csswg/css2/visufx.html#overflow,
which tells us that display:table must treat anything other than hidden as visible,
and http://dev.w3.org/csswg/css-overflow-3/#propdef-overflow-x, which tells us
that if overflow-x and overflow-y are different, how they must be resolved. This
second part is already taken care of, we're just allowing it to be applied to
tables and table parts now.
The CL brings us into line with FF, IE and Presto with the exception of how we
treat tables that have display:block and an overflow value of other than visible.
We still don't put scrollbars on such a table when we possibly ought to.
BUG=368699
Committed: https://crrev.com/6283c205add05e57d89035f6552240a7e5569cc9
git-svn-id: svn://svn.chromium.org/blink/trunk@199640 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #
Total comments: 10
Patch Set 2 : Updated #Patch Set 3 : Updated #
Total comments: 6
Patch Set 4 : Updated #
Total comments: 5
Patch Set 5 : Updated #Patch Set 6 : Updated #Messages
Total messages: 20 (4 generated)
|