gecko-dev/layout
Chris Peterson b4cb330902 Bug 1485179 - Part 2: Resize BCCornerInfo's bit fields to fit all BCBorderOwner enum values. r=dholbert
Unfortunately, accepting all BCBorderOwner enum values causes the layout/reftests/table-bordercollapse/frame_above_rules_all.html mochitest to fail. To fix the -Wbitfield-enum-conversion warnings without breaking the test, this patch explicitly masks the BCBorderOwner enum values to preserve the previous implicit truncation. I filed follow-up bug 1508921 to remove this workaround and fix the test.

This enum truncation was reported by clang's -Wbitfield-enum-conversion warnings:

layout/tables/nsTableFrame.cpp:5318:14 [-Wbitfield-enum-conversion] bit-field 'ownerElem' is not wide enough to store all enumerators of 'BCBorderOwner'
layout/tables/nsTableFrame.cpp:5358:16 [-Wbitfield-enum-conversion] bit-field 'ownerElem' is not wide enough to store all enumerators of 'BCBorderOwner'
layout/tables/nsTableFrame.cpp:5374:18 [-Wbitfield-enum-conversion] bit-field 'subElem' is not wide enough to store all enumerators of 'BCBorderOwner'
layout/tables/nsTableFrame.cpp:5385:18 [-Wbitfield-enum-conversion] bit-field 'subElem' is not wide enough to store all enumerators of 'BCBorderOwner'

Differential Revision: https://phabricator.services.mozilla.com/D12382

--HG--
extra : rebase_source : 74c1c3d49e84212ba61c0784f669cadb19f2b4cd
extra : intermediate-source : 2336858d1df479b16e096a9bb5f8eea5008ca9ea
extra : source : 4ab689fc9a368a4c6faaf71169eb72fdc9bb249d
2018-08-20 10:07:45 -07:00
..
base Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-20 07:12:30 +02:00
build Bug 1438945 - Part 8: RemoteWorker IPC. r=asuth 2018-11-19 15:18:32 -08:00
doc
forms Bug 1317870 - Make intrinsic sizing for <input type=range> work properly and make its default margin/padding compatible with Chrome/Safari. r=jwatt 2018-11-15 20:47:33 +01:00
generic Merge mozilla-inbound to mozilla-central a=merge 2018-11-20 07:03:17 +02:00
inspector Bug 1496619 - Part 1: Drop frames() timing function r=birtles 2018-10-26 18:03:24 +00:00
ipc Bug 1438945 - Part 8: RemoteWorker IPC. r=asuth 2018-11-19 15:18:32 -08:00
mathml Bug 1507021. Add a SnappedClip function to gfxContext. r=mattwoodrow 2018-11-20 08:56:35 -05:00
media
painting Bug 1507021. Add a SnappedClip function to gfxContext. r=mattwoodrow 2018-11-20 08:56:35 -05:00
printing Bug 1507540 part 5. Use more notxpcom attributes in widget/. r=ehsan 2018-11-19 20:17:54 -05:00
reftests Bug 1499947 - Part 2 - Remove the "progressmeter" element and related tests. r=bgrins,bzbarsky 2018-11-20 14:12:33 +00:00
style Bug 1506084 - Set TailForbidden on class of service for webfont loads. r=mayhemer 2018-11-19 19:03:23 +00:00
svg Bug 1507021. Use SnappedRectangle in more places. r=mattwoodrow 2018-11-19 23:03:32 +00:00
tables Bug 1485179 - Part 2: Resize BCCornerInfo's bit fields to fit all BCBorderOwner enum values. r=dholbert 2018-08-20 10:07:45 -07:00
tools Bug 1507540 part 2. Use more notxpcom attributes in docshell/. r=smaug 2018-11-19 20:17:53 -05:00
xul Bug 1499947 - Part 2 - Remove the "progressmeter" element and related tests. r=bgrins,bzbarsky 2018-11-20 14:12:33 +00:00
moz.build