[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>.
BUG=427989
Committed: https://crrev.com/67aa2c210c705c00eef054c71d3e88b930d08124
Cr-Commit-Position: refs/heads/master@{#422782}
Description was changed from ========== 427989 WIP BUG= ========== to ========== 427989 WIP BUG=427989 ==========
4 years, 2 months ago
(2016-09-28 22:30:47 UTC)
#1
Description was changed from
==========
427989 WIP
BUG=
==========
to
==========
427989 WIP
BUG=427989
==========
rwlbuis
Description was changed from ========== 427989 WIP BUG=427989 ========== to ========== [CSS Shapes] Properly shrink ...
4 years, 2 months ago
(2016-09-28 22:32:48 UTC)
#2
Description was changed from
==========
427989 WIP
BUG=427989
==========
to
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>;.
BUG=427989
==========
rwlbuis
Description was changed from ========== [CSS Shapes] Properly shrink boxes to avoid shape-outside To determine ...
4 years, 2 months ago
(2016-09-28 22:33:02 UTC)
#3
Description was changed from
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>;.
BUG=427989
==========
to
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>;.
BUG=427989
==========
rwlbuis
Description was changed from ========== [CSS Shapes] Properly shrink boxes to avoid shape-outside To determine ...
4 years, 2 months ago
(2016-09-28 22:33:53 UTC)
#4
Description was changed from
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>;.
BUG=427989
==========
to
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>.
BUG=427989
==========
4 years, 2 months ago
(2016-09-28 22:36:21 UTC)
#6
PTAL.
eae
LGTM
4 years, 2 months ago
(2016-09-29 16:04:34 UTC)
#7
Message was sent while issue was closed.
LGTM
rwlbuis
On 2016/09/29 16:04:34, eae wrote: > LGTM Thanks, however see the bug, I think it ...
4 years, 2 months ago
(2016-09-29 17:02:20 UTC)
#8
Message was sent while issue was closed.
On 2016/09/29 16:04:34, eae wrote:
> LGTM
Thanks, however see the bug, I think it needs more work, will have another go
next week.
rwlbuis
Patchset #3 (id:40001) has been deleted
4 years, 2 months ago
(2016-10-03 21:10:51 UTC)
#9
Patchset #3 (id:40001) has been deleted
rwlbuis
On 2016/09/29 17:02:20, rwlbuis wrote: > On 2016/09/29 16:04:34, eae wrote: > > LGTM > ...
4 years, 2 months ago
(2016-10-03 21:31:53 UTC)
#10
On 2016/09/29 17:02:20, rwlbuis wrote:
> On 2016/09/29 16:04:34, eae wrote:
> > LGTM
>
> Thanks, however see the bug, I think it needs more work, will have another go
> next week.
Okay, the plot thickens, the minimized testcase renders exactly the same in
Firefox nightly, my WebKitGTK build and blink! All render the text above the
blue box which is not supposed to happen according to the text, so maybe the
testcase is bad.
Given above, I think it may be worth a shot to commit this after all and see if
anything breaks, let me know.
eae
Ok, thanks for the update!
4 years, 2 months ago
(2016-10-03 21:42:54 UTC)
#11
Ok, thanks for the update!
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
4 years, 2 months ago
(2016-10-03 23:34:03 UTC)
#12
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/272565)
4 years, 2 months ago
(2016-10-03 23:49:19 UTC)
#16
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/272980)
4 years, 2 months ago
(2016-10-04 12:39:28 UTC)
#20
Description was changed from ========== [CSS Shapes] Properly shrink boxes to avoid shape-outside To determine ...
4 years, 2 months ago
(2016-10-04 14:16:37 UTC)
#24
Message was sent while issue was closed.
Description was changed from
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>.
BUG=427989
==========
to
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>.
BUG=427989
==========
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 2 months ago
(2016-10-04 14:16:39 UTC)
#25
Message was sent while issue was closed.
Committed patchset #5 (id:100001)
commit-bot: I haz the power
Description was changed from ========== [CSS Shapes] Properly shrink boxes to avoid shape-outside To determine ...
4 years, 2 months ago
(2016-10-04 14:20:02 UTC)
#26
Message was sent while issue was closed.
Description was changed from
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>.
BUG=427989
==========
to
==========
[CSS Shapes] Properly shrink boxes to avoid shape-outside
To determine how much an box needs to shink to avoid a float, the code
was only taking into account the first line of the box. This doesn't
work when the float has a shape, as it can make it seem like there is
more space on the line than there actually is. This patch changes the
calculations to take into account the entire height of the box that
needs to be shrunk, and thus computes the correct amount of space
available.
This is a merge of http://trac.webkit.org/changeset/178045 and
http://trac.webkit.org/changeset/178064 by Bem Jones-Bey <bjonesbe@adobe.com>.
BUG=427989
Committed: https://crrev.com/67aa2c210c705c00eef054c71d3e88b930d08124
Cr-Commit-Position: refs/heads/master@{#422782}
==========
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/67aa2c210c705c00eef054c71d3e88b930d08124 Cr-Commit-Position: refs/heads/master@{#422782}
4 years, 2 months ago
(2016-10-04 14:20:04 UTC)
#27
Issue 2380813002: [CSS Shapes] Properly shrink boxes to avoid shape-outside
(Closed)
Created 4 years, 2 months ago by rwlbuis
Modified 4 years, 2 months ago
Reviewers: eae
Base URL:
Comments: 0